Closed nan-yu closed 4 years ago
cc @janetkuo @yuwenma @Liujingfang1 @haiyanmeng
overall LGTM. one question regarding the ssh key.
Shall we also call appctl validate
for prod?
/lgtm
Added one more commit to this PR to support docker-in-docker as appctl
uses kpt
to run validation, which requires a docker deamon inside the appctl docker container.
Added a new commit to configure validate-manifests
and prepare-manifests
stage to run only when changes in the following files:
FYI: @Liujingfang1 @janetkuo @haiyanmeng @yuwenma ^^
@yuwenma This is how we configure the gitlab-runner to always pull the latest image: https://github.com/GoogleCloudPlatform/solutions-modern-cicd-anthos/pull/101/commits/0b72ff7832f723c0b536bba50452eb544a94fe1b.
The two stages were verified to be working with the appctl image. This PR is ready to be re-reviewed and merged.
Two new stages are added to the CICD pipeline for the app-template:
The
validate-manifests
stage will run for each commit, theprepare-manifests
stage will only run for commits in the master branch.