File tree Expand file tree Collapse file tree 4 files changed +16
-17
lines changed Expand file tree Collapse file tree 4 files changed +16
-17
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
name : Build puppet-runtime
2
3
3
4
on :
Original file line number Diff line number Diff line change 9
9
10
10
jobs :
11
11
upload :
12
- runs-on : ubuntu-latest
12
+ runs-on : ubuntu-24.04
13
13
if : ${{ github.event.workflow_run.conclusion == 'success' }}
14
14
steps :
15
15
- name : ' Download artifacts'
34
34
fs.writeFileSync('${{github.workspace}}/artifacts.zip', Buffer.from(download.data));
35
35
fs.writeFileSync('./artifactid', matchArtifact.id)
36
36
37
- - name : ' Unzip artifacts'
37
+ - name : ' Unzip artifacts'
38
38
run : unzip artifacts.zip
39
39
40
40
- name : ' Check comment limits'
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
vanagon_component_diff_check :
11
- runs-on : ubuntu-latest
11
+ runs-on : ubuntu-24.04
12
+ env :
13
+ BUNDLE_WITH : development
12
14
name : Check
13
15
steps :
14
16
- name : Checkout current PR
15
17
uses : actions/checkout@v4
16
18
with :
17
- fetch-depth : 0
19
+ fetch-depth : 0 # we need the full history because the rake tasks reads git tags
18
20
19
21
- name : Install ruby version ${{ matrix.cfg.ruby }}
20
22
uses : ruby/setup-ruby@v1
21
23
with :
22
24
ruby-version : 3.3
23
-
24
- - name : Bundle project
25
- run : |
26
- gem install bundler
27
- bundle config set without packaging documentation
28
- bundle install --jobs 3 --retry 3 --with development
25
+ bundler-cache : true
29
26
30
27
- name : Save artifacts data
31
28
run : |
Original file line number Diff line number Diff line change
1
+ ---
1
2
name : Runtime tests
2
3
3
4
on :
9
10
permissions :
10
11
contents : read
11
12
13
+ env :
14
+ BUNDLE_WITHOUT : development
15
+
12
16
jobs :
13
17
vanagon_inspect :
14
18
name : Vanagon inspect
15
- runs-on : ubuntu-latest
19
+ runs-on : ubuntu-24.04
16
20
steps :
17
21
- name : Checkout current PR
18
22
uses : actions/checkout@v4
@@ -22,15 +26,12 @@ jobs:
22
26
uses : ruby/setup-ruby@v1
23
27
with :
24
28
ruby-version : 3.3
25
- - name : Update rubygems and install gems
26
- run : |
27
- gem update --system --silent --no-document
28
- bundle config set without development
29
- bundle install --jobs 4 --retry 3
29
+ bundler-cache : true
30
+
30
31
- name : Vanagon inspect
31
32
run : |
32
33
stat=0
33
- for projfile in $(ls configs/projects/[a-z]*.rb) ; do
34
+ for projfile in configs/projects/[a-z]*.rb; do
34
35
for plat in el-7-x86_64 ubuntu-18.04-amd64 ubuntu-20.04-amd64 ubuntu-22.04-amd64 windows-2012r2-x64; do
35
36
proj=$(basename -s .rb "$projfile")
36
37
if [[ "$proj" =~ ^pe- && "$plat" =~ ^(windows|osx) ]]; then
You can’t perform that action at this time.
0 commit comments