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

GitLab CI: Use Stackage Docker image #2805

Merged
merged 1 commit into from
Dec 5, 2024
Merged

GitLab CI: Use Stackage Docker image #2805

merged 1 commit into from
Dec 5, 2024

Conversation

DigitalBrains1
Copy link
Member

@DigitalBrains1 DigitalBrains1 commented Sep 4, 2024

It no longer uses our own Docker CI image, and doesn't run .ci/setup.sh.

Further housekeeping:

  1. Extract CLASH_DOCKER_TAG and CACHE_BUST_TOKEN from image, CACHE_FALLBACK_KEY and cache.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.

  2. Add Docker images for GHC 9.10.1 to builder script.

  3. An overlapping apt-get install in building the Docker images has been removed; every build-$tool image starts from the builder image, so it will already have what is in DEPS_COMMON installed, adding it to DEPS_$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.

  4. All GHC's have been bumped to their latest minor; same for the base Ubuntu Docker image.

@DigitalBrains1 DigitalBrains1 marked this pull request as draft September 4, 2024 16:33
@DigitalBrains1 DigitalBrains1 force-pushed the ci-add-wget branch 3 times, most recently from 9a4c3b8 to 0541372 Compare September 5, 2024 13:22
@DigitalBrains1 DigitalBrains1 changed the title GitLab CI: Put wget into Docker images GitLab CI: Use Stackage Docker image Sep 5, 2024
@DigitalBrains1 DigitalBrains1 marked this pull request as ready for review September 5, 2024 13:25
@clash-lang-builder clash-lang-builder marked this pull request as draft September 5, 2024 13:51
@DigitalBrains1 DigitalBrains1 marked this pull request as ready for review September 5, 2024 15:52
It no longer uses our own Docker CI image, and doesn't run
`.ci/setup.sh`.

Further housekeeping:

1. Extract `CLASH_DOCKER_TAG` and `CACHE_BUST_TOKEN` from `image`,
`CACHE_FALLBACK_KEY` and `cache.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.

2. Add Docker images for GHC 9.10.1 to builder script.

3. An overlapping `apt-get install` in building the Docker images has
been removed; every `build-$tool` image starts from the `builder` image,
so it will already have what is in `DEPS_COMMON` installed, adding it to
`DEPS_$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.

4. All GHC's have been bumped to their latest minor; same for the base
Ubuntu Docker image.
@DigitalBrains1 DigitalBrains1 merged commit 8a827e1 into master Dec 5, 2024
13 checks passed
@DigitalBrains1 DigitalBrains1 deleted the ci-add-wget branch December 5, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants