ci: add ansible and CICD deployment
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
---
|
||||
runner_env: prod
|
||||
|
||||
runners:
|
||||
- project: gatehouse-api
|
||||
url: https://source.hawkless.id.au/coryHawkvelt/gatehouse-api
|
||||
labels: "self-hosted:host,linux:host,prod:host,prod-gatehouse-api:host"
|
||||
token_env: RUNNER_TOKEN_GATEHOUSE_API
|
||||
count: 1
|
||||
|
||||
- project: gatehouse-ui
|
||||
url: https://source.hawkless.id.au/coryHawkvelt/gatehouse-ui
|
||||
labels: "self-hosted:host,linux:host,prod:host"
|
||||
token_env: RUNNER_TOKEN_GATEHOUSE_UI
|
||||
count: 1
|
||||
@@ -0,0 +1,19 @@
|
||||
---
|
||||
runner_env: stage
|
||||
|
||||
# One entry per project. A host runs runners for every project listed.
|
||||
# labels: comma-separated "<name>:<executor>" pairs. Use :host for native execution,
|
||||
# :docker://<image> for Docker. Must match runs-on: values in workflow files.
|
||||
# token_env: env var name on the control node holding a fresh registration token (~1h TTL).
|
||||
runners:
|
||||
- project: gatehouse-api
|
||||
url: https://source.hawkless.id.au/coryHawkvelt/gatehouse-api
|
||||
labels: "self-hosted:host,linux:host,stage:host,stage-gatehouse-api:host"
|
||||
token_env: RUNNER_TOKEN_GATEHOUSE_API
|
||||
count: 1
|
||||
|
||||
- project: gatehouse-ui
|
||||
url: https://source.hawkless.id.au/coryHawkvelt/gatehouse-ui
|
||||
labels: "self-hosted:host,linux:host,stage:host,stage-gatehouse-ui:host"
|
||||
token_env: RUNNER_TOKEN_GATEHOUSE_UI
|
||||
count: 1
|
||||
Reference in New Issue
Block a user