Skip to content

Commit

Permalink
adding secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
vatsrahul1001 committed Sep 21, 2023
1 parent bc7ba51 commit a4e3efc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
34 changes: 28 additions & 6 deletions .github/workflows/ci-astro-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,34 @@ on:
type: string
default: ''
secrets:
astro_subdomain: ${{ secrets.ASTRO_SUBDOMAIN }}
deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID }}
astronomer_key_id: ${{ secrets.ASTRO_KEY_ID }}
astronomer_key_secret: ${{ secrets.ASTRO_KEY_SECRET }}
organization_id: ${{ secrets.ORGANIZATION_ID }}
bearer_token: ${{ secrets.BEARER_TOKEN }}
astro_subdomain:
description: 'astro cloud subdomain'
required: true
default: ${{ secrets.ASTRO_SUBDOMAIN }}
deployment_id:
description: 'astro cloud deployment_id'
required: true
default: ${{ secrets.ASTRO_DEPLOYMENT_ID }}
astronomer_key_id:
description: 'astro cloud astronomer_key_id'
required: true
default: ${{ secrets.ASTRO_KEY_ID }}
astronomer_key_secret:
description: 'astro cloud astronomer_key_secret'
required: true
default: ${{ secrets.ASTRO_KEY_SECRET }}
organization_id:
description: 'astro cloud organization_id'
required: true
default: ${{ secrets.ORGANIZATION_ID }}
bearer_token:
description: 'workspace bearer token'
required: true
docker_registry:
description: 'docker registry'
required: true
default: ${{ secrets.ASTRO_DOCKER_REGISTRY }}



jobs:
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/ci-rc-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,3 @@ jobs:
environment_to_deploy: "both"
dags_to_trigger_after_deployment: "example_master_dag"
git_rev: ${{ needs.check-airflow-provider-rc-release.outputs.rc_testing_branch }}
secrets:
docker_registry: ${{ secrets.ASTRO_DOCKER_REGISTRY }}
organization_id: ${{ secrets.ORGANIZATION_ID }}
deployment_id: ${{ secrets.ASTRO_DEPLOYMENT_ID }}
astronomer_key_id: ${{ secrets.ASTRO_KEY_ID }}
astronomer_key_secret: ${{ secrets.ASTRO_KEY_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit a4e3efc

Please sign in to comment.