Skip to content

Commit

Permalink
Merge pull request #783 from USEPA/EPAD8-1854-kaniko-caching
Browse files Browse the repository at this point in the history
EPAD8-1854: Disable COPY caching for Kaniko
  • Loading branch information
azinck committed Sep 27, 2022
2 parents 75efbb4 + 9fdcb4d commit 4232f9e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
5 changes: 1 addition & 4 deletions .buildkite/feature.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ steps:
# 2. Kaniko build caching is enabled. Intermediate layers are
# pushed to a cache repository in ECR. Subsequent builds can
# query the cache instead of re-executing more expensive build
# steps. We also cache COPY instructions, in order to
# ameliorate the cost of copying /var/www/html for nginx and
# drush.
# steps.
# 3. The snapshot mode is set to "redo" instead of "full". This
# uses cheaper but less accurate metadata for FS snapshots. We
# assume this won't cause any issues for us, as any changes in
Expand All @@ -91,7 +89,6 @@ steps:
/kaniko/executor \
--context=/workspace/services/drupal \
--cache \
--cache-copy-layers \
--cache-repo="${WEBCMS_REPO_URL}/webcms-${WEBCMS_ENVIRONMENT}-cache" \
--skip-unused-stages \
--snapshotMode=redo \
Expand Down
1 change: 0 additions & 1 deletion .buildkite/webcms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ steps:
/kaniko/executor \
--context=/workspace/services/drupal \
--cache \
--cache-copy-layers \
--cache-repo="${WEBCMS_REPO_URL}/webcms-${WEBCMS_ENVIRONMENT}-cache" \
--skip-unused-stages \
--snapshotMode=redo \
Expand Down

0 comments on commit 4232f9e

Please sign in to comment.