Skip to content

Commit 6c2673b

Browse files
Update generated content (#293)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: mathieu-benoit <11720844+mathieu-benoit@users.noreply.github.com>
1 parent 42a8dae commit 6c2673b

4 files changed

Lines changed: 27 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
title: "environment"
3+
draft: false
4+
mermaid: true
5+
type: examples
6+
source: "default"
7+
implementation: "score-compose"
8+
resourceType: "environment"
9+
provisionerType: "local-env"
10+
flavor: "environment"
11+
excerpt: 'The default environment provisioner resolves environment resource references by looking up OS environment variables at generate time. The accessed variables are tracked and can be written to a skeleton .env file.'
12+
description: 'Pulls values out of the local environment as outputs to an environment resource'
13+
hasMore: false
14+
15+
---
16+
17+
The default environment provisioner resolves environment resource references by looking up OS environment variables at generate time. The accessed variables are tracked and can be written to a skeleton .env file.
18+
19+
{{% resource-provisioner-content description="Pulls values out of the local environment as outputs to an environment resource" type="environment" %}}
20+
21+
{{% example-file filename="provisioners.yaml" dir="resource-provisioners/default/environment/score-compose" githubUrl="https://github.com/score-spec/score-compose/blob/main/internal/command/default.provisioners.yaml" %}}

data/examplesMeta.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ resource-provisioners:
55
- score-k8s
66
provisionerType:
77
- cmd
8+
- local-env
89
- template
910
resourceType:
1011
- amqp
@@ -43,6 +44,7 @@ resource-provisioners:
4344
- empty
4445
- endpoint
4546
- endpoint-with-microcks-cli
47+
- environment
4648
- example-provisioner
4749
- foo
4850
- gcp
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The default environment provisioner resolves environment resource references by looking up OS environment variables at generate time. The accessed variables are tracked and can be written to a skeleton .env file.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- uri: local-env://default-provisioners/environment
2+
type: environment
3+
description: Pulls values out of the local environment as outputs to an environment resource

0 commit comments

Comments
 (0)