File tree Expand file tree Collapse file tree 1 file changed +77
-0
lines changed Expand file tree Collapse file tree 1 file changed +77
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Build puppet-runtime
2
+
3
+ on :
4
+ workflow_dispatch :
5
+ inputs :
6
+ ref :
7
+ description : ' Tag to build'
8
+ required : true
9
+
10
+ env :
11
+ VANAGON_LOCATION : ' https://github.com/overlookinfra/vanagon#main'
12
+
13
+ jobs :
14
+ build :
15
+ runs-on : ubuntu-latest
16
+ timeout-minutes : 300
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ os : [
21
+ ' amazon-2-aarch64' ,
22
+ ' amazon-2023-aarch64' ,
23
+ ' amazon-2023-x86_64' ,
24
+ ' debian-10-amd64' ,
25
+ ' debian-11-aarch64' ,
26
+ ' debian-11-amd64' ,
27
+ ' debian-12-aarch64' ,
28
+ ' debian-12-amd64' ,
29
+ ' el-7-x86_64' ,
30
+ ' el-8-aarch64' ,
31
+ ' el-8-x86_64' ,
32
+ ' el-8-ppc64le' ,
33
+ ' el-9-aarch64' ,
34
+ ' el-9-x86_64' ,
35
+ ' el-9-ppc64le' ,
36
+ ' fedora-36-x86_64' ,
37
+ ' fedora-40-x86_64' ,
38
+ ' fedora-40-aarch64' ,
39
+ ' sles-15-x86_64' ,
40
+ ' ubuntu-18.04-aarch64' ,
41
+ ' ubuntu-18.04-amd64' ,
42
+ ' ubuntu-20.04-aarch64' ,
43
+ ' ubuntu-20.04-amd64' ,
44
+ ' ubuntu-22.04-aarch64' ,
45
+ ' ubuntu-22.04-amd64' ,
46
+ ' ubuntu-24.04-aarch64' ,
47
+ ' ubuntu-24.04-amd64' ,
48
+ ]
49
+ steps :
50
+ - name : Checkout code at tag
51
+ uses : actions/checkout@v4
52
+ with :
53
+ ref : ${{ github.event.inputs.ref }}
54
+
55
+ - name : Install Ruby
56
+ uses : ruby/setup-ruby@v1
57
+ with :
58
+ ruby-version : ' 3.2.6'
59
+ bundler-cache : true
60
+
61
+ - name : Install qemu-user-static
62
+ run : |
63
+ sudo apt-get update -y
64
+ sudo apt-get install -y qemu-user-static
65
+
66
+ - name : Run build script
67
+ run : |
68
+ rm -rf .bundle
69
+ bundle install
70
+ rm -rf output
71
+ bundle exec build agent-runtime-main ${{ matrix.os }} --engine docker
72
+
73
+ - name : Save output
74
+ uses : actions/upload-artifact@v3
75
+ with :
76
+ name : ${{ matrix.os }}-output
77
+ path : output/
You can’t perform that action at this time.
0 commit comments