Verify Quickstart 1.0 #1337
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 1.0 | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: "0 15 * * *" | |
permissions: read-all | |
jobs: | |
get_input-srpms: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
ref: '1.0-stable' | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
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 pigz parted | |
- 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: '1.0-stable' | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
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 pigz parted | |
- 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: '1.0-stable' | |
- name: Set up Go 1.19 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.19 | |
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 pigz parted | |
- name: VHDX Quick Start | |
run: | | |
pushd toolkit | |
sudo make image REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/core-efi.json | |
popd |