Skip to content

Commit

Permalink
ci: add permit key (TODO)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaro00 committed Mar 28, 2024
1 parent 46f050a commit 5cf5c53
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .circleci/config.yml
Expand Up @@ -356,6 +356,9 @@ jobs:
gateway-admin-key:
description: "Admin API key that authorizes gateway requests to auth service, for key to jwt conversion."
type: string
permit-api-key:
description: "Permit.io API key for the Permit environment that matches the current ${SHUTTLE_ENV}."
type: string
steps:
- checkout
- set-git-tag
Expand Down Expand Up @@ -383,6 +386,7 @@ jobs:
AUTH_JWTSIGNING_PRIVATE_KEY=${<< parameters.jwt-signing-private-key >>} \
CONTROL_DB_POSTGRES_URI=${<< parameters.control-db-postgres-uri >>} \
GATEWAY_ADMIN_KEY=${<< parameters.gateway-admin-key >>} \
PERMIT_API_KEY=${<< parameters.permit-api-key >>} \
make deploy
- when:
condition:
Expand Down Expand Up @@ -748,6 +752,7 @@ workflows:
jwt-signing-private-key: DEV_AUTH_JWTSIGNING_PRIVATE_KEY
control-db-postgres-uri: DEV_CONTROL_DB_POSTGRES_URI
gateway-admin-key: DEV_GATEWAY_ADMIN_KEY
permit-api-key: PERMIT_API_KEY # TODO: switch to staging key
requires:
- build-and-push-unstable
- approve-deploy-images-unstable
Expand Down Expand Up @@ -832,6 +837,7 @@ workflows:
jwt-signing-private-key: PROD_AUTH_JWTSIGNING_PRIVATE_KEY
control-db-postgres-uri: PROD_CONTROL_DB_POSTGRES_URI
gateway-admin-key: PROD_GATEWAY_ADMIN_KEY
permit-api-key: PROD_PERMIT_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 5cf5c53

Please sign in to comment.