Skip to content

Commit

Permalink
dc:smarttaxi-merano:go prod
Browse files Browse the repository at this point in the history
  • Loading branch information
luhodaan committed Oct 24, 2024
1 parent 6021ab7 commit b42c43e
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/dc-rest-poller-smarttaxi-merano.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,35 @@ jobs:
runs-on: ubuntu-22.04
concurrency: dc-rest-poller-smarttaxi-merano-test
environment: test
steps:
- name: Checkout source code
uses: actions/checkout@v4

- name: Customize values.yaml
working-directory: ${{ env.WORKING_DIRECTORY }}
run: |
yq -i '.image.repository="${{ env.DOCKER_IMAGE }}"' ${{ env.VALUES_YAML}}
yq -i '.image.tag="${{ env.DOCKER_TAG }}"' ${{ env.VALUES_YAML }}
yq -i '.image.pullPolicy="IfNotPresent"' ${{ env.VALUES_YAML }}
- name: Deploy on cluster
uses: noi-techpark/github-actions/helm-deploy@v2
with:
k8s-name: dc-rest-poller-smarttaxi-merano
k8s-namespace: collector
chart-path: helm/generic-collector
values-file: ${{ env.WORKING_DIRECTORY}}/${{ env.VALUES_YAML }}
aws-access-key-id: ${{ secrets[vars.AWS_KEY_ID] }}
aws-secret-access-key: ${{ secrets[vars.AWS_KEY_SECRET] }}
aws-eks-cluster-name: aws-main-eu-01
aws-region: eu-west-1

deploy-smarttaxi-merano-prod:
if: github.ref == 'refs/heads/prod'
needs: build
runs-on: ubuntu-22.04
concurrency: dc-rest-poller-smarttaxi-merano-prod
environment: prod
steps:
- name: Checkout source code
uses: actions/checkout@v4
Expand Down

0 comments on commit b42c43e

Please sign in to comment.