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

Should the default distribution be bumped from bionic to focal now? #628

Closed
andreasabel opened this issue Dec 27, 2022 · 5 comments
Closed

Comments

@andreasabel
Copy link
Contributor

Should the default distribution be bumped from bionic to focal now?

I don't know what the policy is here, but ubuntu-18.04 is discontinued as virtual environment by GHA now, and maybe that points to also upgrade here?

@phadej
Copy link
Collaborator

phadej commented Dec 27, 2022

I don't know what the policy is here, but ubuntu-18.04

You are confusing the host environment and the docker image the CI is run in. The host is already ubuntu-20.04. The CI image can stay at 18.04 as long as it's still alive.

Using 20.04 CI would mean dropping support for GHC-7, as bindists are not available at hvr-ppa nor through ghcup for that and newer distributions. That's the reason to stay at 18.04 for as long as possible.

EDIT: As CI tool, I won't push ecosystem to drop support for older GHCs, when there are virtually no users, we can drop the support.

@andreasabel
Copy link
Contributor Author

You are confusing the host environment and the docker image the CI is run in.

Na, I didn't.

Using 20.04 CI would mean dropping support for GHC-7, as bindists are not available at hvr-ppa

Well, I thought 20.04 was the last version supported by hvr-ppa. Turns out the story is more complicated:

The CI image can stay at 18.04 as long as it's still alive.

I was worried that we would then test against old versions of the system libraries. Packages break when confronted with newer system libraries, and the CI would be oblivious to that. Isn't this a problem?

@phadej
Copy link
Collaborator

phadej commented Dec 27, 2022

Isn't this a problem?

I don't know which problem is worse. You can pick your devil. For me it's easier to stick to status quo.

@andreasabel
Copy link
Contributor Author

Alright, fair enough.

I can easily workaround this by remembering to put distribution: focal/jammy into my cabal.haskell-ci.

@andreasabel
Copy link
Contributor Author

@phadej wrote:

Using 20.04 CI would mean dropping support for GHC-7, as bindists are not available at hvr-ppa nor through ghcup for that and newer distributions. That's the reason to stay at 18.04 for as long as possible.

Still possible.
Though, let me document that now we are stuck with actions/checkout@v3 because v4 decided to move to node20 which is not supported by bionic as it needs glibc-2.28 but bionic has 2.27.

Refs:

andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Sep 11, 2023
`actions/checkout@v4` does not work with `bionic` (18.04).
So we switch to `focal` (20.04), dropping most of GHC 7 support.
GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

Addresses haskell-CI#628
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Sep 25, 2023
`actions/checkout@v4` does not work with `bionic` (18.04).
So we switch to `focal` (20.04), dropping most of GHC 7 support.
GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

Addresses haskell-CI#628
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Sep 28, 2023
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Use 9.8.0 for GHC 9.8.1-alpha4

* Switch default distro to focal; use actions/checkout@v4 when possible

  `actions/checkout@v4` does not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Oct 2, 2023
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Use 9.8.0 for GHC 9.8.1-alpha4

* Switch default distro to focal; use actions/checkout@v4 when possible

  `actions/checkout@v4` does not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Oct 10, 2023
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Use 9.8.0 for GHC 9.8.1-alpha4

* Switch default distro to focal; use actions/checkout@v4 when possible

  `actions/checkout@v4` does not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Nov 12, 2023
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use actions/checkout@v4 when possible

  `actions/checkout@v4` does not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Jan 6, 2024
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use actions/checkout@v4 when possible

  `actions/checkout@v4` does not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Jan 10, 2024
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use actions/checkout@v4 when possible

  `actions/checkout@v4` does not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Jan 27, 2024
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use node12 actions when possible

  `actions/{checkout,cache}@v4` do not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Jan 27, 2024
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use node12 actions when possible

  `actions/{checkout,cache}@v4` do not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Bump version to 0.17.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Feb 25, 2024
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use node20 actions when possible

  `actions/{checkout,cache}@v4` do not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Bump version to 0.18.0.today
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Apr 3, 2024
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use node20 actions when possible

  `actions/{checkout,cache}@v4` do not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Use Cabal 3.10.3.

* Use GHC==9.10.0 (rather than 9.10.1) for the GHC 9.10 alphas and prereleases.

* Bump version to 0.18.today.
andreasabel added a commit to andreasabel/haskell-ci that referenced this issue Apr 16, 2024
This combines all the changes wrt. the original Haskell-CI into one
commit, so that it can more easily be rebased onto the changes in the original.

* README: clarify the relation of this fork to the original

* Switch default distro to focal; use node20 actions when possible

  `actions/{checkout,cache}@v4` do not work with `bionic` (18.04).
  So we switch to `focal` (20.04), dropping most of GHC 7 support.
  GHC 7.10.3 is still supported, and 7.4.2, 7.2.2 and 7.0.4.

  Addresses haskell-CI#628

* GitHub: change default from `hvr-ppa` to `ghcup` for GHC 8 and up

  This fork makes `haskell-ci github` prefer the `ghcup` installation
  method over the `hvr-ppa` method for all GHC versions that are
  properly supported by `ghcup`.
  (Excludes GHC 7.10.3 which malfunctions if installed with ghcup.)

  Previously, `hvr-ppa` was the default for all versions it supported.

* Use Cabal 3.10.3.

* Use GHC==9.10.0 (rather than 9.10.1) for the GHC 9.10 alphas and prereleases.

* Bump version to 0.19.today.
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

No branches or pull requests

2 participants