Verify Quickstart 2.0 #931
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Microsoft Corporation. | |
# Licensed under the MIT License. | |
# | |
# Workflow to automatedly verify the quickstart instructions | |
name: Verify Quickstart 2.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' | |
- 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: ISO Quick Start | |
run: | | |
pushd toolkit | |
sudo make iso REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/full.json | |
popd | |
vhdx_quickstart: | |
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: VHDX Quick Start | |
run: | | |
pushd toolkit | |
sudo make image REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi.json | |
popd |