From 185ce21aea5473e62094c8412cdf079f28ee5746 Mon Sep 17 00:00:00 2001 From: Jon Rowe Date: Tue, 9 Jul 2024 08:58:35 +0200 Subject: [PATCH] Updated ci build scripts (from rspec-dev) 3-13 --- .github/dependabot.yml | 2 +- .github/workflows/ci.yml | 11 ++++++++++- .rubocop_rspec_base.yml | 2 +- script/ci_functions.sh | 2 +- script/clone_all_rspec_repos | 2 +- script/cucumber.sh | 2 +- script/functions.sh | 2 +- script/legacy_setup.sh | 2 +- script/predicate_functions.sh | 2 +- script/run_build | 2 +- script/run_rubocop | 2 +- script/update_rubygems_and_install_bundler | 2 +- 12 files changed, 21 insertions(+), 12 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e592ae5e7..c987b702d 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. version: 2 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8f7c514a..e4b75a4e9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. name: RSpec CI @@ -83,6 +83,13 @@ jobs: - run: bundle install --standalone - run: bundle binstubs --all - run: script/run_build + - name: Store coverage output for reference + uses: actions/upload-artifact@v4 + if: failure() + with: + name: coverage-report-${{ matrix.ruby }} + path: coverage/index.html + retention-days: 14 legacy: name: Legacy Ruby Builds (${{ matrix.container.version }}) @@ -121,8 +128,10 @@ jobs: tag: ghcr.io/rspec/docker-ci:jruby-9.1.17.0 options: "--add-host rubygems.org:151.101.129.227 --add-host api.rubygems.org:151.101.129.227" env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true LEGACY_CI: true JRUBY_OPTS: ${{ matrix.container.jruby_opts || '--dev' }} + NO_COVERAGE: true steps: - uses: actions/checkout@v3 - run: ${{ matrix.container.pre }} diff --git a/.rubocop_rspec_base.yml b/.rubocop_rspec_base.yml index f8bcf776a..9212f012f 100644 --- a/.rubocop_rspec_base.yml +++ b/.rubocop_rspec_base.yml @@ -1,4 +1,4 @@ -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # This file contains defaults for RSpec projects. Individual projects diff --git a/script/ci_functions.sh b/script/ci_functions.sh index 47d0780b7..2f19950ce 100644 --- a/script/ci_functions.sh +++ b/script/ci_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. # Taken from: diff --git a/script/clone_all_rspec_repos b/script/clone_all_rspec_repos index 8853446bd..2c8ce62c6 100755 --- a/script/clone_all_rspec_repos +++ b/script/clone_all_rspec_repos @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/cucumber.sh b/script/cucumber.sh index 10c3bd0fd..b465e7f30 100755 --- a/script/cucumber.sh +++ b/script/cucumber.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/functions.sh b/script/functions.sh index 6c5b876ad..c9a5d36e3 100644 --- a/script/functions.sh +++ b/script/functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" diff --git a/script/legacy_setup.sh b/script/legacy_setup.sh index 959c3ed4d..e0804b342 100755 --- a/script/legacy_setup.sh +++ b/script/legacy_setup.sh @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/predicate_functions.sh b/script/predicate_functions.sh index 900813dae..d03d71e8b 100644 --- a/script/predicate_functions.sh +++ b/script/predicate_functions.sh @@ -1,4 +1,4 @@ -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. function is_mri { diff --git a/script/run_build b/script/run_build index edace3256..a31b04040 100755 --- a/script/run_build +++ b/script/run_build @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/run_rubocop b/script/run_rubocop index 6665b22f0..26e356ab1 100755 --- a/script/run_rubocop +++ b/script/run_rubocop @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e diff --git a/script/update_rubygems_and_install_bundler b/script/update_rubygems_and_install_bundler index 8ba75cfdb..cc5764f13 100755 --- a/script/update_rubygems_and_install_bundler +++ b/script/update_rubygems_and_install_bundler @@ -1,5 +1,5 @@ #!/bin/bash -# This file was generated on 2024-06-20T11:33:49+01:00 from the rspec-dev repo. +# This file was generated on 2024-07-09T08:58:35+02:00 from the rspec-dev repo. # DO NOT modify it by hand as your changes will get lost the next time it is generated. set -e