Skip to content

Commit

Permalink
add deployment with argocd
Browse files Browse the repository at this point in the history
  • Loading branch information
dv-hossam-radwan committed May 23, 2024
1 parent 0b49a22 commit 4a11ce9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/argocd-deployed-apps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"apps": ["test_release_repo", "test"]
}
4 changes: 2 additions & 2 deletions .github/workflows/build-product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ env:
TIME_ZONE: "Europe/Vienna"
NODE_VERSION: "20.9"
PYTHON_VERSION: "3.10"
WORKFLOW_BRANCH: "main"
WORKFLOW_BRANCH: "feat-deploy-with-argocd"
PYTHON_BASE_IMAGE: "python:3.10.8-slim-bullseye"
DATAVISYN_PYTHON_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/python:main"
DATAVISYN_NGINX_BASE_IMAGE: "188237246440.dkr.ecr.eu-central-1.amazonaws.com/datavisyn/base/nginx:main"
Expand Down Expand Up @@ -169,4 +169,4 @@ jobs:
workflow_file_name: "deploy-app.yml"
ref: ${{ env.WORKFLOW_BRANCH }}
github_user: ${{ secrets.DV_BOT_USER }}
client_payload: '{ "app": "${{ needs.prepare-build.outputs.app }}", "customer": "${{ steps.get-parameters.outputs.customer }}", "stage": "${{ steps.get-parameters.outputs.stage }}", "sub_app": "${{ needs.prepare-build.outputs.sub_app }}", "branch": "${{ needs.prepare-build.outputs.image_tag2 }}" }'
client_payload: '{ "app": "${{ needs.prepare-build.outputs.app }}", "customer": "${{ steps.get-parameters.outputs.customer }}", "stage": "${{ steps.get-parameters.outputs.stage }}", "sub_app": "${{ needs.prepare-build.outputs.sub_app }}", "branch": "${{ needs.prepare-build.outputs.image_tag2 }}", "image_tag": "${{ needs.prepare-build.outputs.image_tag1 }}" }'
2 changes: 1 addition & 1 deletion .github/workflows/deploy-product.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ concurrency:

env:
GA_VERSION: "main"
WORKFLOW_BRANCH: "main"
WORKFLOW_BRANCH: "feat-deploy-with-argocd"

jobs:
deploy:
Expand Down

0 comments on commit 4a11ce9

Please sign in to comment.