From 03c9afd89736fa9662e35bbcf219a6de1099fe64 Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Wed, 26 Apr 2023 13:40:05 +0200 Subject: [PATCH 1/2] Pin Puppet in CI Puppet 8.0.0 was released with incorrect Ruby compatibility metadata, which confuses bundler. This pins to more specific versions. In gha-puppet this was already done, but this module has a modified beaker pipeline (to run multiple Pulpcore versions) so doesn't benefit from it. --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 797b79a..1b15b8c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,6 +16,7 @@ jobs: puppet_unit_test_matrix: ${{ steps.get_outputs.outputs.puppet_unit_test_matrix }} env: BUNDLE_WITHOUT: development:system_tests:release + PUPPET_GEM_VERSION: '~> 7.24' steps: - uses: actions/checkout@v2 - name: Setup ruby @@ -42,7 +43,7 @@ jobs: include: ${{fromJson(needs.setup_matrix.outputs.puppet_unit_test_matrix)}} env: BUNDLE_WITHOUT: development:system_tests:release - PUPPET_GEM_VERSION: "~> ${{ matrix.puppet }}.0" + PUPPET_GEM_VERSION: "~> ${{ matrix.puppet }}.24" name: Unit / Puppet ${{ matrix.puppet }} (Ruby ${{ matrix.ruby }}) steps: - uses: actions/checkout@v2 From 5edc1492fe5a69a6b697814bec3d184992e5a208 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Thu, 27 Apr 2023 07:50:19 +0200 Subject: [PATCH 2/2] also pin puppet in the acceptance jobs --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1b15b8c..7af4f41 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,6 +61,7 @@ jobs: runs-on: ubuntu-latest env: BUNDLE_WITHOUT: development:test:release + PUPPET_GEM_VERSION: '~> 7.24' strategy: fail-fast: false matrix: