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

Stop blacklisting Go 1.22+, drop Go < 1.21 support, use Go 1.22 in CI #4292

Merged
merged 7 commits into from
Jun 8, 2024

Commits on Jun 7, 2024

  1. libct/nsenter: stop blacklisting go 1.22+

    Go 1.23 includes a fix (https://go.dev/cl/587919) so go1.23.x can be
    used. This fix is also backported to 1.22.4, so go1.22.x can also be
    used (when x >= 4). Finally, for glibc >= 2.32 it doesn't really matter.
    
    Add a note about Go 1.22.x > 1.22.4 to README as well.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    e660ef6 View commit details
    Browse the repository at this point in the history
  2. ci: switch to go 1.22 as main version

    Now when Go 1.22.4 is out it should no longer be a problem.
    
    Leave Go 1.21 for CentOS testing (CentOS 7 and 8 have older glibc)
    and Dockerfile (Debian 11 have older glibc).
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    a3302f2 View commit details
    Browse the repository at this point in the history
  3. Dockerfile: switch to Go 1.22 and Debian 12

    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    17380da View commit details
    Browse the repository at this point in the history
  4. go.mod,README: require Go 1.21

    Go 1.20 was released in February 2023 and is no longer supported since
    February 2024. Time to move on.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    6b2eb52 View commit details
    Browse the repository at this point in the history
  5. libct: rm eaccess

    It is not needed since Go 1.20 (which was released in February 2023 and
    is no longer supported since February 2024).
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    a1e87f8 View commit details
    Browse the repository at this point in the history
  6. libct: use slices package

    As we're no longer supporting Go < 1.21.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    b7fdd52 View commit details
    Browse the repository at this point in the history
  7. libct/cg: use clear built-in

    As we no longer support Go < 1.21.
    
    Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
    kolyshkin committed Jun 7, 2024
    Configuration menu
    Copy the full SHA
    3019e84 View commit details
    Browse the repository at this point in the history