Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removed properties from score spec #45

Merged
merged 5 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 0 additions & 19 deletions content/en/docs/dependencies/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,23 +30,8 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
db:
type: postgres
properties:
host:
default: localhost
port:
default: 5432
name:
default: postgres
user:
secret: true
password:
secret: true
service-b:
type: workload
```
Expand All @@ -70,10 +55,6 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
```

To prepare the Docker Compose configuration files, convert both Score files with `score-compose`.
Expand Down
15 changes: 0 additions & 15 deletions content/en/docs/dependencies/dependencies-humanitec.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,10 @@ containers:
resources:
db:
type: postgres
properties:
host:
default: localhost
port:
default: 5432
name:
default: postgres
user:
secret: true
password:
secret: true
dns:
type: dns
properties:
domain:
backend:
type: workload
properties:
name:
```
This example also uses an extensions file, called `humanitec.yaml`, that contains additional hints for `score-humanitec` CLI tool. This information would help the CLI tool to resolve the resources properly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
```
Use the `run` command to generate a Docker Compose file from Score.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
```
{{% alert %}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
```
{{% alert %}}
Expand Down
6 changes: 0 additions & 6 deletions content/en/docs/extensions/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,8 @@ containers:
resources:
dns:
type: dns
properties:
domain:
...
api-route:
type: route
properties:
prefix:
...
```
## Humanitec Workload implementation
Expand Down
5 changes: 0 additions & 5 deletions content/en/docs/extensions/implement-ports-volumes.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,6 @@ containers:
resources:
env:
type: environment
properties:
MESSAGE:
type: string
DATADOG_ENV:
type: string
dns:
type: dns
```
Expand Down
44 changes: 0 additions & 44 deletions content/en/docs/get started/Transform/_index.md

This file was deleted.

88 changes: 0 additions & 88 deletions content/en/docs/get started/Transform/docker.md

This file was deleted.

19 changes: 0 additions & 19 deletions content/en/docs/get started/Transform/helm.md

This file was deleted.

74 changes: 0 additions & 74 deletions content/en/docs/get started/Transform/humanitec.md

This file was deleted.

12 changes: 0 additions & 12 deletions content/en/docs/reference/score-cli/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,6 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
```

In the previous code snippet, the `variables` parameter is adjusted too far left. It should be aligned with the `image`, `command`, and `args` parameters.
Expand All @@ -113,10 +109,6 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
```

Alternatively, you could have the map of the variables set incorrectly.
Expand All @@ -140,10 +132,6 @@ containers:
resources:
env:
type: environment
properties:
NAME:
type: string
default: World
```

The `FRIEND` parameter is set to `resources.friend.NAME`, but that is not a valid path in the `resources` section.
Loading