-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(release)!: remove cloudfront routes, improve tests and ingest va…
…lidation, add nlcd colormap (#434) **Breaking** feat(routes)!: remove cloudfront distribution and custom alternate domain from backend #422 **Added** feat(raster-api): added custom NLCD colormap #433 feat: add ecr endpoint #432 **Fixed** fix(tests): #425 fix(ingest): improved datetime validations #419 **Changed** ci: remove automated deployments to staging #438
- Loading branch information
Showing
26 changed files
with
268 additions
and
932 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
name: CDK Deploy Dev Workflow 🚀 | ||
|
||
permissions: | ||
id-token: write | ||
contents: read | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
define-environment: | ||
name: Set ✨ environment ✨ | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Set the environment based on the branch | ||
id: define_environment | ||
run: | | ||
if [ "${{ github.ref }}" = "refs/heads/develop" ]; then | ||
echo "env_name=dev" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Print the environment | ||
run: echo "The environment is ${{ steps.define_environment.outputs.env_name }}" | ||
|
||
outputs: | ||
env_name: ${{ steps.define_environment.outputs.env_name }} | ||
|
||
deploy: | ||
|
||
name: Deploy to ${{ needs.define-environment.outputs.env_name }} 🚀 | ||
runs-on: ubuntu-latest | ||
if: ${{ needs.define-environment.outputs.env_name }} | ||
needs: [define-environment] | ||
environment: ${{ needs.define-environment.outputs.env_name }} | ||
concurrency: ${{ needs.define-environment.outputs.env_name }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
lfs: "true" | ||
submodules: "false" | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
role-to-assume: ${{ secrets.DEPLOYMENT_ROLE_ARN }} | ||
role-session-name: "veda-backend-github-${{ needs.define-environment.outputs.env_name }}-deployment" | ||
aws-region: us-west-2 | ||
|
||
- name: Run veda-backend deployment | ||
uses: "./.github/actions/cdk-deploy" | ||
with: | ||
env_aws_secret_name: ${{ vars.ENV_AWS_SECRET_NAME }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.