Skip to content

Commit 4232f9e

Browse files
authored
Merge pull request #783 from USEPA/EPAD8-1854-kaniko-caching
EPAD8-1854: Disable COPY caching for Kaniko
2 parents 75efbb4 + 9fdcb4d commit 4232f9e

2 files changed

Lines changed: 1 addition & 5 deletions

File tree

.buildkite/feature.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,7 @@ steps:
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
@@ -91,7 +89,6 @@ steps:
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 \

.buildkite/webcms.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ steps:
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 \

0 commit comments

Comments
 (0)