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

(chore) [CECO-1754] Fix CI #819

Merged
merged 1 commit into from
Nov 7, 2024
Merged

(chore) [CECO-1754] Fix CI #819

merged 1 commit into from
Nov 7, 2024

Conversation

tbavelier
Copy link
Member

What does this PR do?

  • Updates Ubuntu 20.04 runners to latest available image

    • This also requires installing rvm that is no longer present by default in the image
  • Pin ffi version to 1.16.3 on nix-platforms as otherwise, 1.7.0 is installed that is not compatible due to a broken dependency ffi-1.17.0 requires rubygems version >= 3.3.22 ffi/ffi#1103: example failure https://app.circleci.com/pipelines/github/DataDog/puppet-datadog-agent/971/workflows/6e490e10-37db-44c2-8017-d19019823699/jobs/28742

    Resolving dependencies.......
    ffi-1.17.0-x86_64-linux-musl requires rubygems version >= 3.3.22, which is
    incompatible with the current version, 2.7.11
    
    Exited with code exit status 5
  • Pin rspec-its version on OpenSUSE kitchen test to avoid encountering:

    Step 19/27 : RUN gem install serverspec rspec
     ---> Running in affd00e6d53e
    ERROR:  Error installing serverspec:
            The last version of rspec-its (>= 0) to support your Ruby & RubyGems was 1.3.1. Try installing it with `gem install rspec-its -v 1.3.1` and then running the current command again
            rspec-its requires Ruby version > 3.0.0. The current ruby version is 2.5.0.

Motivation

CI fails as 202201-02 is not a valid tag (was deprecated in January https://discuss.circleci.com/t/linux-image-deprecations-and-eol-for-2024/50177). Available tags https://circleci.com/developer/machine/image/ubuntu-2004

  • 2024.08.1
  • 2024.05.1
  • 2024.04.4
  • 2024.01.2
  • 2024.01.1
  • 2023.10.1
  • 2023.07.1
  • 2023.04.2
  • 2023.02.1
  • 2022.10.1
  • 202111-02
  • current
  • edge

Example failure: https://app.circleci.com/pipelines/github/DataDog/puppet-datadog-agent/965/workflows/28ecf2ab-351d-4b1e-a43c-5f48d2fda754/jobs/28570

Describe your test plan

CI should be green

@tbavelier tbavelier changed the title (chore) Fix CI (chore) [CECO-1754] Fix CI Nov 7, 2024
@tbavelier tbavelier marked this pull request as ready for review November 7, 2024 13:59
@tbavelier tbavelier requested review from a team as code owners November 7, 2024 13:59
@tbavelier tbavelier merged commit f7d8383 into main Nov 7, 2024
35 checks passed
@tbavelier tbavelier deleted the tbavelier/clean_fix_ci branch November 7, 2024 16:14
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.

2 participants