Deployments are triggered via promote
actions.
In this project, promote targets follow the naming convention <package>-<action>-<environment>
.
deploy and verify the DataProtector contract with the dev deployer
deploy and verify the DataProtector contract with the dev deployer and commit the staging environment update
impacts:
- staging subgraph must be redeployed subgraph-deploy-staging
- staging env will change
- staging protected data will be lost
deploy and verify the DataProtector contract with the prod deployer and commit the prod environment update
impacts:
- prod subgraph must be redeployed subgraph-deploy-prod
- prod env will change
- prod protected data will be lost
deploy and verify the AddOnlyAppWhitelistRegistry and DataProtectorSharing contracts with the dev deployer
deploy and verify the AddOnlyAppWhitelistRegistry and DataProtectorSharing contracts with the dev deployer, configure DataProtectorSharing for staging and commit the staging environment update
impacts:
- staging subgraph must be redeployed subgraph-deploy-staging
- staging env will change
- staging collections will be lost
deploy and verify the AddOnlyAppWhitelistRegistry and DataProtectorSharing contracts with the prod deployer and commit the prod environment update
impacts:
- prod subgraph must be redeployed subgraph-deploy-prod
- prod env will change
- prod collections will be lost
upgrade the staging DataProtectorSharing contract with the new implementation
impacts:
- staging DataProtectorSharing implementation will change
upgrade the staging DataProtectorSharing contract with the new implementation
impacts:
- prod DataProtectorSharing implementation will change
configure the staging DataProtectorSharing contract to use the staging environment
configure the prod DataProtectorSharing contract to use the prod environment
publish a dataprotector-subgraph-deployer docker image dev
publish a dataprotector-subgraph-deployer docker image prod
deploy the dataprotector subgraph
deploy the dataprotector subgraph for the staging environment
impacts:
- query the staging subgraph will return an outdated state until full synchronization
deploy the dataprotector subgraph for the prod environment
impacts:
- query the prod subgraph will return an outdated state until full synchronization
publish the package @iexec/dataprotector on npm with the tag beta (require sdk version to be [version]-beta.[b])
publish the package @iexec/dataprotector on npm with the tag latest
deprecates a version of @iexec/dataprotector
remove the deprecation of a version of @iexec/dataprotector
publish the package @iexec/dataprotector-deserializer on npm with the tag nightly
publish the package @iexec/dataprotector-deserializer on npm with the tag latest
deploy a whitelist for the protected-data-delivery-dapp on the staging env
impacts:
- staging env will change
- dapp must be added to the whitelist
deploy a whitelist for the protected-data-delivery-dapp on the prod env
impacts:
- prod env will change
- dapp must be added to the whitelist
build the protected-data-delivery-dapp non-tee docker image for dev
build the protected-data-delivery-dapp non-tee docker image for staging
build the protected-data-delivery-dapp non-tee docker image for prod
deploy the tee protected-data-delivery-dapp add it to the staging app whitelist and register the ENS for staging environment
promote params:
DOCKER_IMAGE_TAG
(optional): deploy from an existing sconified image (ex:staging-0ae6997bc7443eca30dd888003efc2ecd8cf2e20-sconify-5.7.5-v12-production
, default use the commit)
impacts:
- staging env will change
- ENS will move to the new app
deploy the tee protected-data-delivery-dapp add it to the prod app whitelist and register the ENS for prod environment
impacts:
- prod env will change
- ENS will move to the new app