Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Build puppet-runtime

on:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/comment_on_pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
upload:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- name: 'Download artifacts'
Expand All @@ -34,7 +34,7 @@ jobs:
fs.writeFileSync('${{github.workspace}}/artifacts.zip', Buffer.from(download.data));
fs.writeFileSync('./artifactid', matchArtifact.id)

- name: 'Unzip artifacts'
- name: 'Unzip artifacts'
run: unzip artifacts.zip

- name: 'Check comment limits'
Expand Down
13 changes: 5 additions & 8 deletions .github/workflows/component_diff_check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,21 @@ on:

jobs:
vanagon_component_diff_check:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
env:
BUNDLE_WITH: development
name: Check
steps:
- name: Checkout current PR
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-depth: 0 # we need the full history because the rake tasks reads git tags

- name: Install ruby version ${{ matrix.cfg.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3

- name: Bundle project
run: |
gem install bundler
bundle config set without packaging documentation
bundle install --jobs 3 --retry 3 --with development
bundler-cache: true

- name: Save artifacts data
run: |
Expand Down
15 changes: 8 additions & 7 deletions .github/workflows/runtime_tests.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: Runtime tests

on:
Expand All @@ -9,10 +10,13 @@ on:
permissions:
contents: read

env:
BUNDLE_WITHOUT: development

jobs:
vanagon_inspect:
name: Vanagon inspect
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Checkout current PR
uses: actions/checkout@v4
Expand All @@ -22,15 +26,12 @@ jobs:
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
- name: Update rubygems and install gems
run: |
gem update --system --silent --no-document
bundle config set without development
bundle install --jobs 4 --retry 3
bundler-cache: true

- name: Vanagon inspect
run: |
stat=0
for projfile in $(ls configs/projects/[a-z]*.rb); do
for projfile in configs/projects/[a-z]*.rb; do
for plat in el-7-x86_64 ubuntu-18.04-amd64 ubuntu-20.04-amd64 ubuntu-22.04-amd64 windows-2012r2-x64; do
proj=$(basename -s .rb "$projfile")
if [[ "$proj" =~ ^pe- && "$plat" =~ ^(windows|osx) ]]; then
Expand Down