forked from cerc-io/stack-orchestrator
Update stack README.md to use config directive
This commit is contained in:
parent
86076c7ed8
commit
b92d9cd7dd
@ -3,13 +3,11 @@
|
|||||||
## Example
|
## Example
|
||||||
|
|
||||||
```
|
```
|
||||||
$ laconic-so --stack act-runner deploy init --output act-runner.yml
|
$ laconic-so --stack act-runner deploy init --output act-runner-1.yml --config CERC_GITEA_RUNNER_REGISTRATION_TOKEN=FOO
|
||||||
|
$ laconic-so --stack act-runner deploy create --spec-file act-runner-1.yml --deployment-dir ~/opt/deployments/act-runner-1
|
||||||
$ laconic-so --stack act-runner deploy create --spec-file act-runner.yml --deployment-dir ~/opt/deployments/act-runner-1
|
|
||||||
$ echo "CERC_GITEA_RUNNER_REGISTRATION_TOKEN=FOO" >> ~/opt/deployments/act-runner-1/config.env
|
|
||||||
$ laconic-so deployment --dir ~/opt/deployments/act-runner-1 up
|
$ laconic-so deployment --dir ~/opt/deployments/act-runner-1 up
|
||||||
|
|
||||||
$ laconic-so --stack act-runner deploy create --spec-file act-runner.yml --deployment-dir ~/opt/deployments/act-runner-2
|
$ laconic-so --stack act-runner deploy init --output act-runner-2.yml --config CERC_GITEA_RUNNER_REGISTRATION_TOKEN=BAR
|
||||||
$ echo "CERC_GITEA_RUNNER_REGISTRATION_TOKEN=BAR" >> ~/opt/deployments/act-runner-2/config.env
|
$ laconic-so --stack act-runner deploy create --spec-file act-runner-2.yml --deployment-dir ~/opt/deployments/act-runner-2
|
||||||
$ laconic-so deployment --dir ~/opt/deployments/act-runner-2 up
|
$ laconic-so deployment --dir ~/opt/deployments/act-runner-2 up
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user