Skip to content

Commit

Permalink
Bump go from 1.20 to 1.21 in .github/workflows/quickstart_2.0.yml (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
osamaesmailmsft authored Jan 22, 2025
1 parent 598271d commit ff0bfbe
Showing 1 changed file with 52 additions and 43 deletions.
95 changes: 52 additions & 43 deletions .github/workflows/quickstart_2.0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,64 +3,55 @@
#
# Workflow to automatedly verify the quickstart instructions

name: Verify Quickstart 2.0
name: Verify Quickstart 3.0

on:
workflow_dispatch:
schedule:
- cron: "0 15 * * *"

jobs:
get_input-srpms:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: '2.0-stable'

- name: Set up Go 1.20
uses: actions/setup-go@v5
with:
go-version: 1.20
id: go

- name: Install Remaining Prerequisites
run: |
# Golang and docker are already installed on the agent
sudo apt-get update
sudo apt -y install make tar wget curl rpm qemu-utils genisoimage python-minimal bison gawk parted
sudo apt -y install pigz
- name: Download SRPMS
run: |
pushd toolkit
sudo make go-tools REBUILD_TOOLS=y
sudo make input-srpms DOWNLOAD_SRPMS=y
popd
iso_quickstart:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: '2.0-stable'
ref: '3.0-stable'

- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: 1.21
id: go

- name: Install Remaining Prerequisites
run: |
# Golang and docker are already installed on the agent
sudo apt-get update
sudo apt -y install make tar wget curl rpm qemu-utils genisoimage python-minimal bison gawk parted
sudo apt -y install pigz
sudo apt -y install \
acl \
curl \
gawk \
genisoimage \
git \
golang-1.21-go \
jq \
make \
parted \
pigz \
openssl \
systemd \
qemu-utils \
rpm \
tar \
wget \
xfsprogs
# Fix go 1.21 link
sudo ln -vsf /usr/lib/go-1.21/bin/go /usr/bin/go
sudo ln -vsf /usr/lib/go-1.21/bin/gofmt /usr/bin/gofmt
- name: ISO Quick Start
run: |
Expand All @@ -75,23 +66,41 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
with:
ref: '2.0-stable'
ref: '3.0-stable'

- name: Set up Go 1.20
- name: Set up Go 1.21
uses: actions/setup-go@v5
with:
go-version: 1.20
go-version: 1.21
id: go

- name: Install Remaining Prerequisites
run: |
# Golang and docker are already installed on the agent
sudo apt-get update
sudo apt -y install make tar wget curl rpm qemu-utils genisoimage python-minimal bison gawk parted
sudo apt -y install pigz
sudo apt -y install \
acl \
curl \
gawk \
genisoimage \
git \
golang-1.21-go \
jq \
make \
parted \
pigz \
openssl \
systemd \
qemu-utils \
rpm \
tar \
wget \
xfsprogs
# Fix go 1.21 link
sudo ln -vsf /usr/lib/go-1.21/bin/go /usr/bin/go
sudo ln -vsf /usr/lib/go-1.21/bin/gofmt /usr/bin/gofmt
- name: VHDX Quick Start
run: |
pushd toolkit
sudo make image REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi.json
popd
popd

0 comments on commit ff0bfbe

Please sign in to comment.