Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor jdb gitaction workflow #47

Merged
merged 4 commits into from
Dec 22, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions .github/workflows/ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ env:
AWS_REGION: ${{ secrets.AWS_REGION }}
WEBHOOK_URL: ${{ secrets.WEBHOOK }}
DEPLOY_ENV: ${{ github.ref == 'refs/heads/main' && 'PROD' || 'DEV' }}
# ECR_URL: ${{ secrets.ECR_REPO_DEV }}
# ROLE_ARN: ${{ secrets.OIDC_ROLE }}

permissions:
id-token: write
Expand Down Expand Up @@ -97,4 +95,18 @@ jobs:
kustomize edit set image app-batch-img="${{ env.AWS_DEV_BATCH_ECR }}:${{ github.sha }}"
fi

kustomize build .
kustomize build .

- name: Commit minifest files
run: |
cd batch-service-kusto
git config --global user.email "[email protected]"
git config --global user.name "github-actions"
git commit -am "Update image tag"
git push -u origin main

- name: Sync ArgoCD Application
run: |
argocd app sync dev-app-batch \
--server argocd.dev-alltimecatcher.com \
manyb2ns marked this conversation as resolved.
Show resolved Hide resolved
manyb2ns marked this conversation as resolved.
Show resolved Hide resolved
--auth-token ${{ secrets.ARGOCD_TOKEN }} --insecure
Loading