Skip to content

Move claim-state to airplanes-feed group, mode 0640 #31

Move claim-state to airplanes-feed group, mode 0640

Move claim-state to airplanes-feed group, mode 0640 #31

name: Image boot smoke
on:
workflow_dispatch:
inputs:
image_release_repo:
description: GitHub repository that publishes the image release
required: false
default: airplanes-live/image
image_contract:
description: Expected image contract: new or legacy

Check failure on line 11 in .github/workflows/image-boot-smoke.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/image-boot-smoke.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
required: false
default: new
image_channel:
description: Image release channel to select when no explicit regex is provided
required: false
default: stable
image_arch:
description: Image architecture to select when no explicit regex is provided
required: false
default: arm64
image_asset_regex:
description: Optional regex used to select the release asset
required: false
default: ''
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
image-boot-smoke:
name: latest image boot + update + reboot
runs-on: ubuntu-24.04
timeout-minutes: 90
steps:
- name: Checkout feed
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
ref: ${{ github.event_name == 'schedule' && 'dev' || github.ref }}
- name: Install QEMU smoke dependencies
run: |
sudo apt-get update
sudo apt-get install -y --no-install-recommends \
ca-certificates \
curl \
git \
jq \
parted \
p7zip-full \
qemu-system-arm \
qemu-user-static \
rsync \
file \
unzip \
xz-utils
- name: Run booted image smoke
env:
GITHUB_TOKEN: ${{ github.token }}
AIRPLANES_IMAGE_RELEASE_REPO: ${{ github.event.inputs.image_release_repo || 'airplanes-live/image' }}
AIRPLANES_IMAGE_CONTRACT: ${{ github.event.inputs.image_contract || 'new' }}
AIRPLANES_IMAGE_CHANNEL: ${{ github.event.inputs.image_channel || 'stable' }}
AIRPLANES_IMAGE_ARCH: ${{ github.event.inputs.image_arch || 'arm64' }}
AIRPLANES_IMAGE_ASSET_REGEX: ${{ github.event.inputs.image_asset_regex || '' }}
AIRPLANES_BOOT_SMOKE_WORK_DIR: ${{ runner.temp }}/airplanes-image-boot-smoke
run: |
sudo --preserve-env=GITHUB_TOKEN,AIRPLANES_IMAGE_RELEASE_REPO,AIRPLANES_IMAGE_CONTRACT,AIRPLANES_IMAGE_CHANNEL,AIRPLANES_IMAGE_ARCH,AIRPLANES_IMAGE_ASSET_REGEX,AIRPLANES_BOOT_SMOKE_WORK_DIR \
bash test/image-boot-smoke.sh