Skip to content

Commit ec380a4

Browse files
chore: Update build-product.yml workflow to remove ArgoCD deployment check
1 parent a00f9af commit ec380a4

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

.github/workflows/build-product.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ env:
3131
PYTHON_BASE_IMAGE: "python:3.10.8-slim-bullseye"
3232
DATAVISYN_PYTHON_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/python:main"
3333
DATAVISYN_NGINX_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/nginx:main"
34-
ARGOCD_DEPLOYED_APP: false
3534

3635
permissions:
3736
id-token: write
@@ -84,15 +83,6 @@ jobs:
8483
with:
8584
branch_name: ${{ github.ref_name }}
8685
time_zone: ${{ env.TIME_ZONE }}
87-
- name: Check if app deployed by ArgoCD
88-
id: argocd-deployed-app
89-
run: |
90-
result=$(jq '.apps | index("${{ steps.get-parameters.outputs.app }}") != null' ./tmp/github-workflows/.github/argocd-deployed-apps.json)
91-
if [ "$result" = "true" ]; then
92-
echo "ARGOCD_DEPLOYED_APP=true" >> $GITHUB_ENV
93-
else
94-
echo "ARGOCD_DEPLOYED_APP=false" >> $GITHUB_ENV
95-
fi
9686
build-single:
9787
needs: prepare-build
9888
if: ${{ needs.prepare-build.outputs.create_workspace != 'true' && needs.prepare-build.outputs.components != '[]' && needs.prepare-build.outputs.components != ''}}
@@ -134,7 +124,6 @@ jobs:
134124
ref: ${{ env.WORKFLOW_BRANCH }}
135125
path: ./tmp/github-workflows
136126
- name: retag images
137-
if: ${{ env.ARGOCD_DEPLOYED_APP == 'false' }}
138127
uses: ./tmp/github-workflows/.github/actions/retag-image
139128
with:
140129
aws_role: ${{ vars.DV_AWS_ECR_ROLE }}

0 commit comments

Comments
 (0)