Skip to content

Commit

Permalink
Merge pull request #3407 from AlexsLemonade/ark/update-sentry-dsn-config
Browse files Browse the repository at this point in the history
Update secrets configuration
  • Loading branch information
davidsmejia authored Oct 9, 2023
2 parents 1369e34 + dac43c9 commit ee0de0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .github/scripts/remote_deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
# Will be used as the version for the system and the tag for Docker images.
# - DOCKER_USERNAME -- The username that will be used to log into Dockerhub.
# - DOCKER_PASSWORD -- The password that will be used to log into Dockerhub.
# - OPENSSL_KEY -- The OpenSSL key which will be used to decrypt the SSH key.
# - AWS_ACCESS_KEY_ID -- The AWS key id to use when interacting with AWS.
# - AWS_SECRET_ACCESS_KEY -- The AWS secret key to use when interacting with AWS.

Expand All @@ -36,7 +35,6 @@ cat >>env_vars <<EOF
export CI_TAG='$CI_TAG'
export DOCKER_USERNAME='$DOCKER_USERNAME'
export DOCKER_PASSWORD='$DOCKER_PASSWORD'
export OPENSSL_KEY='$OPENSSL_KEY'
export AWS_ACCESS_KEY_ID='$AWS_ACCESS_KEY_ID'
export AWS_SECRET_ACCESS_KEY='$AWS_SECRET_ACCESS_KEY'
export TF_VAR_database_password='$DATABASE_PASSWORD'
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -655,20 +655,18 @@ jobs:
export-env: true
env:
DEPLOY_BOX_SSH_PRIVATE_KEY: ${{ secrets.OP_DEPLOY_BOX_SSH_PRIVATE_KEY }}
OPENSSL_KEY: ${{ secrets.OP_OPENSSL_KEY }}
SSH_PUBLIC_KEY: ${{ secrets.OP_SSH_PUBLIC_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.OP_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OP_AWS_SECRET_ACCESS_KEY }}
DEPLOY_BOX_IP: ${{ secrets.OP_DEPLOY_BOX_IP }}
DOCKER_USERNAME: ${{ secrets.OP_DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.OP_DOCKER_PASSWORD }}
SENTRY_DSN: ${{ secrets.OP_SENTRY_DSN }}
SLACK_WEBHOOK_URL: ${{ secrets.OP_SLACK_WEBHOOK_URL }}
STAGING_DATABASE_PASSWORD: ${{ secrets.OP_STAGING_DATABASE_PASSWORD }}
STAGING_DJANGO_SECRET_KEY: ${{ secrets.OP_STAGING_DJANGO_SECRET_KEY }}
STAGING_SENTRY_DSN: ${{ secrets.OP_STAGING_SENTRY_DSN }}
PRODUCTION_DATABASE_PASSWORD: ${{ secrets.OP_PRODUCTION_DATABASE_PASSWORD }}
PRODUCTION_DJANGO_SECRET_KEY: ${{ secrets.OP_PRODUCTION_DJANGO_SECRET_KEY }}
PRODUCTION_SENTRY_DSN: ${{ secrets.OP_PRODUCTION_SENTRY_DSN }}

- name: Set the $BRANCH and $CI_TAG Environment Variables
run: |
Expand Down Expand Up @@ -720,20 +718,18 @@ jobs:
export-env: true
env:
DEPLOY_BOX_SSH_PRIVATE_KEY: ${{ secrets.OP_DEPLOY_BOX_SSH_PRIVATE_KEY }}
OPENSSL_KEY: ${{ secrets.OP_OPENSSL_KEY }}
SSH_PUBLIC_KEY: ${{ secrets.OP_SSH_PUBLIC_KEY }}
AWS_ACCESS_KEY_ID: ${{ secrets.OP_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.OP_AWS_SECRET_ACCESS_KEY }}
DEPLOY_BOX_IP: ${{ secrets.OP_DEPLOY_BOX_IP }}
DOCKER_USERNAME: ${{ secrets.OP_DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.OP_DOCKER_PASSWORD }}
SENTRY_DSN: ${{ secrets.OP_SENTRY_DSN }}
SLACK_WEBHOOK_URL: ${{ secrets.OP_SLACK_WEBHOOK_URL }}
STAGING_DATABASE_PASSWORD: ${{ secrets.OP_STAGING_DATABASE_PASSWORD }}
STAGING_DJANGO_SECRET_KEY: ${{ secrets.OP_STAGING_DJANGO_SECRET_KEY }}
STAGING_SENTRY_DSN: ${{ secrets.OP_STAGING_SENTRY_DSN }}
PRODUCTION_DATABASE_PASSWORD: ${{ secrets.OP_PRODUCTION_DATABASE_PASSWORD }}
PRODUCTION_DJANGO_SECRET_KEY: ${{ secrets.OP_PRODUCTION_DJANGO_SECRET_KEY }}
PRODUCTION_SENTRY_DSN: ${{ secrets.OP_PRODUCTION_SENTRY_DSN }}

- name: Set the $BRANCH and $CI_TAG Environment Variables
run: |
Expand Down

0 comments on commit ee0de0a

Please sign in to comment.