Skip to content

Build System Image (beta-dev_nv) #1

Build System Image (beta-dev_nv)

Build System Image (beta-dev_nv) #1

Workflow file for this run

name: Build System Image (beta-dev_nv)
on:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: archlinux:latest
options: --privileged
steps:
- name: Prepare build environment
env:
storageBoxLink: ${{ secrets.STORAGE_BOX_LINK }}
storageBoxPassword: ${{ secrets.STORAGE_BOX_PASSWORD }}
run: |
pacman-key --init
pacman --noconfirm -Syu btrfs-progs archiso git reflector sshfs
git clone https://github.com/holoiso-staging/buildroot buildroot
git clone https://github.com/holoiso-staging/postcopy -b dev_nv buildroot/postcopy_beta-dev_nv
mkdir /mnt/build
echo '$storageBoxPassword' | sshfs -o password_stdin $storageBoxLink:/ /mnt/build
- name: Build image
run: |
mkdir -p $(pwd)/output $(pwd)/workdir
bash buildroot/build.sh --flavor beta-dev_nv --deployment_rel beta-dev_nv --snapshot_ver "${GITHUB_REF_NAME}" --workdir $(pwd)/workdir --output-dir $(pwd)/output/holoiso-images --add-release