File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6262 # 2. Kaniko build caching is enabled. Intermediate layers are
6363 # pushed to a cache repository in ECR. Subsequent builds can
6464 # query the cache instead of re-executing more expensive build
65- # steps. We also cache COPY instructions, in order to
66- # ameliorate the cost of copying /var/www/html for nginx and
67- # drush.
65+ # steps.
6866 # 3. The snapshot mode is set to "redo" instead of "full". This
6967 # uses cheaper but less accurate metadata for FS snapshots. We
7068 # assume this won't cause any issues for us, as any changes in
9189 /kaniko/executor \
9290 --context=/workspace/services/drupal \
9391 --cache \
94- --cache-copy-layers \
9592 --cache-repo="${WEBCMS_REPO_URL}/webcms-${WEBCMS_ENVIRONMENT}-cache" \
9693 --skip-unused-stages \
9794 --snapshotMode=redo \
Original file line number Diff line number Diff line change 6161 /kaniko/executor \
6262 --context=/workspace/services/drupal \
6363 --cache \
64- --cache-copy-layers \
6564 --cache-repo="${WEBCMS_REPO_URL}/webcms-${WEBCMS_ENVIRONMENT}-cache" \
6665 --skip-unused-stages \
6766 --snapshotMode=redo \
You can’t perform that action at this time.
0 commit comments