Skip to content

Commit b289a0f

Browse files
committed
feat: update k8s_release to use k8s_edit
1 parent 7c09029 commit b289a0f

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

.github/workflows/k8s_release.yml

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,29 +16,38 @@ jobs:
1616
secrets: inherit
1717

1818
call-az-acr-release:
19-
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/az_acr_release.yml@dev
2019
needs: [call-gh-validate-release]
2120
if: always() && !failure()
21+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/az_acr_release.yml@dev
2222
secrets: inherit
2323

24-
call-k8-deploy:
25-
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_deploy.yml@dev
24+
# call-k8-deploy:
25+
# needs: [call-az-acr-release]
26+
# uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_deploy.yml@dev
27+
# if: always() && !failure()
28+
# secrets: inherit
29+
# with:
30+
# environment: ${{ github.event_name == 'release' && 'prod' || 'dev' }}
31+
32+
call-k8-edit:
2633
needs: [call-az-acr-release]
2734
if: always() && !failure()
35+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/k8s_edit.yml@dev
2836
secrets: inherit
29-
with:
30-
environment: ${{ github.event_name == 'release' && 'prod' || 'dev' }}
3137

3238
call-gh-release:
33-
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/gh_release.yml@dev
34-
needs: [call-k8-deploy]
39+
# needs: [call-k8-deploy]
40+
needs: [call-k8-edit]
3541
if: always() && github.event_name == 'release'
42+
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/gh_release.yml@dev
3643
secrets: inherit
3744
with:
38-
deployment_status: ${{ needs.call-k8-deploy.outputs.deployment_status }}
45+
deployment_status: "success"
46+
# deployment_status: ${{ needs.call-k8-deploy.outputs.deployment_status }}
3947

4048
call-gh-delete-branch:
41-
needs: [call-k8-deploy]
49+
# needs: [call-k8-deploy]
50+
needs: [call-k8-edit]
4251
if: github.event_name == 'pull_request' && github.event.pull_request.merged && !failure()
4352
uses: code-kern-ai/cicd-deployment-scripts/.github/workflows/gh_delete_branch.yml@dev
4453
secrets: inherit

0 commit comments

Comments
 (0)