Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EPAD8-1854: Disable COPY caching for Kaniko #783

Merged
merged 2 commits into from
Sep 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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