Skip to content

Commit ea48df6

Browse files
committed
fix: temporarily revert deploy logic to fully provision cluster
1 parent 696e0ca commit ea48df6

1 file changed

Lines changed: 14 additions & 9 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,10 @@ jobs:
3636
- name: Provision TF
3737
uses: op5dev/tf-via-pr@v13
3838
with:
39-
command: ${{ github.event_name == 'push' && 'apply' || 'plan' }}
39+
## Final two steps depend on fully provisioned cluster
40+
## Revert to original condition once the cluster is up
41+
command: apply
42+
# command: ${{ github.event_name == 'push' && 'apply' || 'plan' }}
4043
tool: tofu
4144
working-directory: terraform
4245
validate: true
@@ -51,11 +54,13 @@ jobs:
5154
- name: Pull kubeconfig
5255
run: |
5356
aws eks update-kubeconfig --name ${{ env.CLUSTER_NAME }}
54-
- name: Apply manifests
55-
run: |
56-
kubectl apply -f kubernetes/manifests/ ${{ github.event_name == 'pull_request' && '--dry-run' || '' }}
57-
- name: Deploy eoAPI Chart
58-
uses: helmfile/helmfile-action@v2.0.4
59-
with:
60-
helmfile-args: ${{ github.event_name == 'push' && 'apply' || 'diff' }}
61-
helmfile-workdirectory: kubernetes/helm
57+
## Final two steps depend on fully provisioned cluster
58+
## Reenable once the cluster is up
59+
# - name: Apply manifests
60+
# run: |
61+
# kubectl apply -f kubernetes/manifests/ ${{ github.event_name == 'pull_request' && '--dry-run' || '' }}
62+
# - name: Deploy eoAPI Chart
63+
# uses: helmfile/helmfile-action@v2.0.4
64+
# with:
65+
# helmfile-args: ${{ github.event_name == 'push' && 'apply' || 'diff' }}
66+
# helmfile-workdirectory: kubernetes/helm

0 commit comments

Comments
 (0)