Skip to content

Commit b09945d

Browse files
committed
Add wait step for GitHub variable propagation and pass cluster name and namespace to ArgoCD job
1 parent 3206927 commit b09945d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/argocd.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ jobs:
1616
environment: production
1717

1818
steps:
19+
20+
- name: Wait for GitHub variables to propagate
21+
run: sleep 30
22+
1923
- name: Checkout Repository
2024
uses: actions/checkout@v5
2125

.github/workflows/main-pipeline.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@ jobs:
166166
needs.detect-changes.outputs.infra-changed == 'true'
167167
)
168168
uses: ./.github/workflows/argocd.yml
169+
with:
170+
cluster-name: ${{ needs.terraform.outputs.cluster_name }}
171+
app-namespace: ${{ needs.terraform.outputs.namespace }}
169172
secrets: inherit
170173
permissions:
171174
contents: write

0 commit comments

Comments
 (0)