Skip to content

Commit

Permalink
circleci: set HONEYCOMB env variable (#1109)
Browse files Browse the repository at this point in the history
  • Loading branch information
iulianbarbu authored Jul 26, 2023
1 parent 1a400be commit 1767982
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,9 @@ jobs:
mongodb-password:
description: "Shuttle shared mongodb password"
type: env_var_name
honeycomb-api-key:
description: "Shuttle honeycomb api key for observability based on environment"
type: env_var_name
production:
description: "Push and deploy to production"
type: boolean
Expand All @@ -361,6 +364,7 @@ jobs:
POSTGRES_PASSWORD=${<< parameters.postgres-password >>} \
MONGO_INITDB_ROOT_PASSWORD=${<< parameters.mongodb-password >>} \
TAG=$TAG \
HONEYCOMB_API_KEY=${<< parameters.honeycomb-api-key >>} \
make deploy
- when:
condition: << parameters.production >>
Expand Down Expand Up @@ -677,6 +681,7 @@ workflows:
name: Deploy images to unstable
postgres-password: DEV_POSTGRES_PASSWORD
mongodb-password: DEV_MONGO_INITDB_ROOT_PASSWORD
honeycomb-api-key: DEV_HONEYCOMB_API_KEY
requires:
- build-and-push-unstable
release:
Expand Down Expand Up @@ -754,6 +759,7 @@ workflows:
name: deploy-images-to-production
postgres-password: PROD_POSTGRES_PASSWORD
mongodb-password: PROD_MONGO_INITDB_ROOT_PASSWORD
honeycomb-api-key: PROD_HONEYCOMB_API_KEY
ssh-fingerprint: 6a:c5:33:fe:5b:c9:06:df:99:64:ca:17:0d:32:18:2e
ssh-config-script: production-ssh-config.sh
ssh-host: shuttle.prod.internal
Expand Down

0 comments on commit 1767982

Please sign in to comment.