Skip to content

Commit 80a0a8d

Browse files
committed
(MAINT): Add SERVICE_URL environment variable to CI and nightly workflows
1 parent d79d4ea commit 80a0a8d

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ on:
77
workflow_dispatch:
88

99
jobs:
10+
env:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Set up environment variable
14+
run: echo "SERVICE_URL=https://facade-maint-config-windows-use-ssh-6f3kfepqcq-ew.a.run.app/v1/provision" >> $GITHUB_ENV
1015
Spec:
1116
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
1217
secrets: "inherit"

.github/workflows/nightly.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: "0 0 * * *"
66
workflow_dispatch:
77

8+
env:
9+
SERVICE_URL: https://facade-maint-config-windows-use-ssh-6f3kfepqcq-ew.a.run.app/v1/provision
10+
811
jobs:
912
Spec:
1013
uses: "puppetlabs/cat-github-actions/.github/workflows/module_ci.yml@main"
@@ -14,4 +17,3 @@ jobs:
1417
needs: Spec
1518
uses: "puppetlabs/cat-github-actions/.github/workflows/module_acceptance.yml@main"
1619
secrets: "inherit"
17-

.sync.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
---
2+
common:
3+
service_url: https://facade-maint-config-windows-use-ssh-6f3kfepqcq-ew.a.run.app/v1/provision
4+
25
".gitlab-ci.yml":
36
delete: true
47
".rubocop.yml":

0 commit comments

Comments
 (0)