This repository was archived by the owner on Nov 17, 2023. It is now read-only.
[v1.9.x] Backport docker cache fixes#20537
Merged
josephevans merged 3 commits intoapache:v1.9.xfrom Aug 19, 2021
Merged
Conversation
* libturbojpeg0-dev is only for ubuntu 18.04, so don't install on other ubuntu versions. * Change logic to not install on 16.04 (works on 18.04 and 20.04.) * Fix docker registry variable - was inadvertently changed to DOCKER_CACHE_REGISTRY from DOCKER_ECR_REGISTRY. * Use our local ECR registry for docker-compose images as well. * Revert changing DOCKER_CACHE_REGISTRY variable. * Override DOCKER_CACHE_REGISTRY for docker-compose in docker cache pipeline. * Login to ECR if using ECR for docker registry. * Import docker_cache when needed.
…docker_cache.py run. (apache#20458)
* Properly initialize set so that docker cache builds exclude the centos7 dockerfile. * Change the number of parallel builds to 1 for easier debugging and bandwidth control, also parameterize the number of build retries and reduce from 10 to 1 for easier debugging. * Remove old dockerfiles. * Update docker-compose config to use new ECR-based naming scheme. * Refactor build.py and docker_cache.py to support building and pushing containers for the docker-compose based platforms. Add options for selecting architecture (defaults to x86) since aarch64 container builds will fail on x86 systems. * Remove old commands for building docker-compose based containers since they are not built in docker_cache.py. * Fix running of docker-compose based containers via build.py.
|
Hey @josephevans , Thanks for submitting the PR
CI supported jobs: [windows-cpu, windows-gpu, miscellaneous, website, centos-gpu, centos-cpu, unix-cpu, clang, unix-gpu, edge, sanity] Note: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is not required for the v1.9 release, but it should speed up the CI if we have additional PRs for the v1.9.x branch.
Backport #20385, #20458 and #20525.