Skip to content

Deployment environments

Frederic Beaudoin edited this page Apr 5, 2024 · 24 revisions

Quantic

There are two deployment environments for Quantic: Quantic Staging and Quantic Production.

Those environments have identical sets of variables and secrets (same names, same values in both environments):

  • SFDX_AUTH_JWT_KEY_FILE (variable): The name of the private key file to pipe the SFDX_AUTH_JWT_KEY secret value into.
  • SFDX_AUTH_JWT_USERNAME (variable): The SFDX user name.
  • SFDX_AUTH_CLIENT_ID (secret): The SFDX JWT consumer key.
  • SFDX_AUTH_JWT_KEY (secret): The SFDX JWT private RSA key.

Those values are used in the Authorize an Org Using the JWT Flow to deploy Quantic.

The only difference between the two environments is that Quantic Staging only enforces branch protection whereas Quantic Production also leverages the DX bot to automate approval of the last steps of the deployment process.

Quantic end-to-end tests are run in the global environment with different consumer and private keys (the key file and user name are the same as in the Staging and Production environments). This implies that SFDX_AUTH_CLIENT_ID and SFDX_AUTH_JWT_KEY are also defined as repository secrets.

Quantic Staging

The create-quantic-package workflow uses this environment. This workflow is dispatched every day at 23:00 UTC.

Quantic Production

The quantic-prod job in the release workflow uses this environment. This workflow is dispatched every Wednesday at 13:00 UTC.

Clone this wiki locally