Skip to content

Merge pull request #26 from armory-io/lambdaconfig #89

Merge pull request #26 from armory-io/lambdaconfig

Merge pull request #26 from armory-io/lambdaconfig #89

Workflow file for this run

name: Deploy my latest version
on:
push: # What triggers a deployment. For example, `push`.
branches:
- main # What branch triggers a deployment. For example, `main`.
permissions:
contents: read
pull-requests: read
statuses: read
jobs:
build:
name: deploy from main
runs-on: ubuntu-latest
steps:
- name: installHelm
uses: yokawasa/[email protected]
with:
helm: '3.9.2'
kustomize: '4.5.7'
- name: Checkout code
uses: actions/checkout@v2
- name: buildLocust
run: kustomize build --enable-helm thirdParty/locust > thirdParty/locust/generatedManifest.yml
- name: Deployment
uses: armory/cli-deploy-action@main
with:
clientId: "${{ secrets.CDAAS_CLIENT_ID }}" # "61ihoLa6dkk5SRwAy232H0TJk1xTBbK6"
clientSecret: "${{ secrets.CDAAS_CLIENT_SECRET }}" #Client secret that you created in the Armory Cloud Console that has been encrypted with GitHub's encrypted secrets.
path-to-file: "/deploy-automated-2-env.yml" # Path to the deployment file. For more information, see the Create a deployment file section.
#path-to-file: "/deploy-locust.yml" # Path to the deployment file. For more information, see the Create a deployment file section.
#path-to-file: "/deploy-webhook.yml" # Path to the deployment file. For more information, see the Create a deployment file section.
addContext: "environment2=prod,pr=test"
env:
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
#- name: Wait for integration tests to succeed with builtin timeout
# uses: fountainhead/[email protected]
# id: wait-for-build
# with:
# token: ${{ secrets.GITHUB_TOKEN }}
# checkName: 'Integration_Tests'
# ref: ${{ github.ref }}
# timeoutSeconds: 600