44 branches :
55 - ' main'
66 - ' staging'
7- - ' fixed_pnpm '
7+ - ' test_deploy '
88jobs :
99 build :
1010 runs-on : ubuntu-22.04
7171 OHM_SLACK_WEBHOOK_URL : ${{ secrets.OHM_SLACK_WEBHOOK_URL }}
7272 # ############### Staging secrets ################
7373 - name : Staging - substitute secrets
74- if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/fixed_pnpm '
74+ if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/test_deploy '
7575 uses : bluwy/substitute-string-action@v1
7676 with :
7777 _input-file : ' values.staging.template.yaml'
@@ -189,14 +189,14 @@ jobs:
189189 PRODUCTION_OPENSTREETMAP_AUTH_SECRET : ${{ secrets.PRODUCTION_OPENSTREETMAP_AUTH_SECRET }}
190190
191191 - name : AWS Credentials
192- if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/fixed_pnpm '
192+ if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test_deploy '
193193 uses : aws-actions/configure-aws-credentials@v1
194194 with :
195195 aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
196196 aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
197197 aws-region : us-east-1
198198 - name : Setup Kubectl and Helm Dependencies
199- if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/fixed_pnpm '
199+ if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test_deploy '
200200 run : |
201201 sudo pip install awscli --ignore-installed six
202202 sudo curl -L -o /usr/bin/kubectl https://amazon-eks.s3.us-west-2.amazonaws.com/1.17.7/2020-07-08/bin/linux/amd64/kubectl
@@ -210,24 +210,25 @@ jobs:
210210 helm version
211211
212212 - name : Update kube-config staging
213- if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/fixed_pnpm '
213+ if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/test_deploy '
214214 run : aws eks --region us-east-1 update-kubeconfig --name osmseed-staging
215215 - name : Update kube-config prod
216216 if : github.ref == 'refs/heads/main'
217217 run : aws eks --region us-east-1 update-kubeconfig --name osmseed-production-v2
218218 - name : Add Helm repository
219- if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/fixed_pnpm '
219+ if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test_deploy '
220220 run : |
221221 helm repo add osm-seed https://osm-seed.github.io/osm-seed-chart/
222222 helm repo update
223223 - name : Install helm dependencies for
224- if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/fixed_pnpm '
224+ if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/main' || github.ref == 'refs/heads/test_deploy '
225225 run : cd ohm && helm dep up
226226 # Staging
227227 - name : Staging - helm deploy
228- if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/fixed_pnpm '
228+ if : github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/test_deploy '
229229 run : helm upgrade --install staging --wait ohm/ -f values.staging.yaml -f ohm/values.yaml
230230 # Production
231231 - name : Production - helm deploy
232232 if : github.ref == 'refs/heads/main'
233- run : helm upgrade --install production --wait ohm/ -f values.production.yaml -f ohm/values.yaml
233+ run : helm upgrade --install production --wait ohm/ -f values.production.yaml -f ohm/values.yaml
234+
0 commit comments