Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(actions): use GitHub
environments
for infra deployments (#9003)
* feat(actions): use GitHub `environments` for infra deployments * chore(workflows): enhance environment handling in CI/CD configurations - Added dynamic environment assignment in `cd-deploy-nodes-gcp.yml` based on event type (release or dev). - Updated `sub-build-docker-image.yml` to utilize the `inputs.environment` for environment configuration. - Introduced a strategy matrix for environment selection in `sub-deploy-integration-tests-gcp.yml`, allowing for both dev and prod environments based on the branch. - Ensured `sub-find-cached-disks.yml` uses the `inputs.environment` for consistency across workflows. * fix(workflows): streamline environment input handling in CI configurations - Removed the required environment input from `sub-ci-integration-tests-gcp.yml`. - Updated comments in `sub-deploy-integration-tests-gcp.yml` to clarify the strategy for creating images in dev and prod environments based on the main branch. * test: just set the environmet when diff to dev * refactor(workflows): unify environment handling across CI configurations - Removed the optional environment input from multiple workflow files, including `manual-zcashd-deploy.yml`, `sub-build-docker-image.yml`, and `sub-deploy-integration-tests-gcp.yml`. - Updated environment assignment logic to consistently use 'prod' for release events across `cd-deploy-nodes-gcp.yml`, `sub-build-docker-image.yml`, `sub-find-cached-disks.yml`, and `sub-deploy-integration-tests-gcp.yml`. - Enhanced clarity in comments regarding environment strategies in `sub-deploy-integration-tests-gcp.yml`. * fix(workflows): update environment assignment logic for CI configurations - Changed environment assignment in `cd-deploy-nodes-gcp.yml`, `sub-build-docker-image.yml`, and `sub-find-cached-disks.yml` to use 'dev' as a fallback when the event is not a release, to avoid a `false` fallback
- Loading branch information