33#
44# Workflow to automatedly verify the quickstart instructions
55
6- name : Verify Quickstart 2 .0
6+ name : Verify Quickstart 3 .0
77
88on :
99 workflow_dispatch :
1010 schedule :
1111 - cron : " 0 15 * * *"
1212
1313jobs :
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-
4314 iso_quickstart :
4415 runs-on : ubuntu-latest
4516
4617 steps :
4718 - name : Checkout
4819 uses : actions/checkout@v4
4920 with :
50- ref : ' 2 .0-stable'
21+ ref : ' 3 .0-stable'
5122
52- - name : Set up Go 1.20
23+ - name : Set up Go 1.21
5324 uses : actions/setup-go@v5
5425 with :
55- go-version : 1.20
26+ go-version : 1.21
5627 id : go
5728
5829 - name : Install Remaining Prerequisites
5930 run : |
6031 # Golang and docker are already installed on the agent
6132 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
6455
6556 - name : ISO Quick Start
6657 run : |
@@ -75,23 +66,41 @@ jobs:
7566 - name : Checkout
7667 uses : actions/checkout@v4
7768 with :
78- ref : ' 2 .0-stable'
69+ ref : ' 3 .0-stable'
7970
80- - name : Set up Go 1.20
71+ - name : Set up Go 1.21
8172 uses : actions/setup-go@v5
8273 with :
83- go-version : 1.20
74+ go-version : 1.21
8475 id : go
8576
8677 - name : Install Remaining Prerequisites
8778 run : |
8879 # 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
93102 - name : VHDX Quick Start
94103 run : |
95104 pushd toolkit
96105 sudo make image REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi.json
97- popd
106+ popd
0 commit comments