3
3
#
4
4
# Workflow to automatedly verify the quickstart instructions
5
5
6
- name : Verify Quickstart 2 .0
6
+ name : Verify Quickstart 3 .0
7
7
8
8
on :
9
9
workflow_dispatch :
10
10
schedule :
11
11
- cron : " 0 15 * * *"
12
12
13
13
jobs :
14
- get_input-srpms :
15
- runs-on : ubuntu-latest
16
-
17
- steps :
18
- - name : Checkout
19
- uses : actions/checkout@v4
20
- with :
21
- ref : ' 2.0-stable'
22
-
23
- - name : Set up Go 1.20
24
- uses : actions/setup-go@v5
25
- with :
26
- go-version : 1.20
27
- id : go
28
-
29
- - name : Install Remaining Prerequisites
30
- run : |
31
- # Golang and docker are already installed on the agent
32
- sudo apt-get update
33
- sudo apt -y install make tar wget curl rpm qemu-utils genisoimage python-minimal bison gawk parted
34
- sudo apt -y install pigz
35
-
36
- - name : Download SRPMS
37
- run : |
38
- pushd toolkit
39
- sudo make go-tools REBUILD_TOOLS=y
40
- sudo make input-srpms DOWNLOAD_SRPMS=y
41
- popd
42
-
43
14
iso_quickstart :
44
15
runs-on : ubuntu-latest
45
16
46
17
steps :
47
18
- name : Checkout
48
19
uses : actions/checkout@v4
49
20
with :
50
- ref : ' 2 .0-stable'
21
+ ref : ' 3 .0-stable'
51
22
52
- - name : Set up Go 1.20
23
+ - name : Set up Go 1.21
53
24
uses : actions/setup-go@v5
54
25
with :
55
- go-version : 1.20
26
+ go-version : 1.21
56
27
id : go
57
28
58
29
- name : Install Remaining Prerequisites
59
30
run : |
60
31
# Golang and docker are already installed on the agent
61
32
sudo apt-get update
62
- sudo apt -y install make tar wget curl rpm qemu-utils genisoimage python-minimal bison gawk parted
63
- sudo apt -y install pigz
33
+ sudo apt -y install \
34
+ acl \
35
+ curl \
36
+ gawk \
37
+ genisoimage \
38
+ git \
39
+ golang-1.21-go \
40
+ jq \
41
+ make \
42
+ parted \
43
+ pigz \
44
+ openssl \
45
+ systemd \
46
+ qemu-utils \
47
+ rpm \
48
+ tar \
49
+ wget \
50
+ xfsprogs
51
+
52
+ # Fix go 1.21 link
53
+ sudo ln -vsf /usr/lib/go-1.21/bin/go /usr/bin/go
54
+ sudo ln -vsf /usr/lib/go-1.21/bin/gofmt /usr/bin/gofmt
64
55
65
56
- name : ISO Quick Start
66
57
run : |
@@ -75,23 +66,41 @@ jobs:
75
66
- name : Checkout
76
67
uses : actions/checkout@v4
77
68
with :
78
- ref : ' 2 .0-stable'
69
+ ref : ' 3 .0-stable'
79
70
80
- - name : Set up Go 1.20
71
+ - name : Set up Go 1.21
81
72
uses : actions/setup-go@v5
82
73
with :
83
- go-version : 1.20
74
+ go-version : 1.21
84
75
id : go
85
76
86
77
- name : Install Remaining Prerequisites
87
78
run : |
88
79
# Golang and docker are already installed on the agent
89
- sudo apt-get update
90
- sudo apt -y install make tar wget curl rpm qemu-utils genisoimage python-minimal bison gawk parted
91
- sudo apt -y install pigz
92
-
80
+ sudo apt -y install \
81
+ acl \
82
+ curl \
83
+ gawk \
84
+ genisoimage \
85
+ git \
86
+ golang-1.21-go \
87
+ jq \
88
+ make \
89
+ parted \
90
+ pigz \
91
+ openssl \
92
+ systemd \
93
+ qemu-utils \
94
+ rpm \
95
+ tar \
96
+ wget \
97
+ xfsprogs
98
+
99
+ # Fix go 1.21 link
100
+ sudo ln -vsf /usr/lib/go-1.21/bin/go /usr/bin/go
101
+ sudo ln -vsf /usr/lib/go-1.21/bin/gofmt /usr/bin/gofmt
93
102
- name : VHDX Quick Start
94
103
run : |
95
104
pushd toolkit
96
105
sudo make image REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi.json
97
- popd
106
+ popd
0 commit comments