GitLab CI: Use Stackage Docker image #2805
Merged
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.
It no longer uses our own Docker CI image, and doesn't run
.ci/setup.sh
.Further housekeeping:
Extract
CLASH_DOCKER_TAG
andCACHE_BUST_TOKEN
fromimage
,CACHE_FALLBACK_KEY
andcache.key
tokens/vars, so there is a single place to change them, as otherwise I would have added another place to keep the bust token synchronized.Add Docker images for GHC 9.10.1 to builder script.
An overlapping
apt-get install
in building the Docker images has been removed; everybuild-$tool
image starts from thebuilder
image, so it will already have what is inDEPS_COMMON
installed, adding it toDEPS_$tool
is redundant and a no-op. This means DEPS_VERILATOR doesn't need zlib1g-dev. The other dependencies have been sorted alphabetically.There are still no-ops (such as zlib1g-dev implying zlib1g already), but no outright overlap.
All GHC's have been bumped to their latest minor; same for the base Ubuntu Docker image.