mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-02 17:06:09 +00:00
instances.states named VIR_DOMAIN_PAUSED_API_ERROR, which python-libvirt 9.0 (Debian 12) and 8.0 (Ubuntu 22.04) do not have: an installation there failed at its first manage.py migrate. That rare reason (libvirt paused the VM on an API error) is no longer told; every other name exists in both. The installer workflow's update jobs start from v4.3.0's commit, not its tag: the tag is the fork's, and upstream's runs found no such commit.
69 lines
1.7 KiB
YAML
69 lines
1.7 KiB
YAML
name: Installer
|
|
|
|
# install.sh on each supported distribution, and update.sh from the last
|
|
# release on two (dev/test-installer.sh): on each
|
|
# push to master (the panel it installs changed), on a pull request that
|
|
# changes the installer or what it installs, and weekly, as the
|
|
# distributions' packages change under it
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
paths:
|
|
- install.sh
|
|
- webvirtcloud.sh
|
|
- conf/**
|
|
- update.sh
|
|
- dev/test-installer.sh
|
|
- .github/workflows/installer.yml
|
|
schedule:
|
|
- cron: '0 4 * * 1'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
install:
|
|
name: ${{ matrix.image }}
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 40
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
image:
|
|
- ubuntu:22.04
|
|
- ubuntu:24.04
|
|
- ubuntu:26.04
|
|
- debian:12
|
|
- debian:13
|
|
- almalinux:10
|
|
- opensuse/leap:15.6
|
|
- opensuse/leap:16.0
|
|
- openeuler/openeuler:24.03-lts
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install and check the panel
|
|
run: dev/test-installer.sh "${{ matrix.image }}"
|
|
|
|
# update.sh from the last release, as an operator runs it
|
|
update:
|
|
name: ${{ matrix.image }} from v4.3.0
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 40
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
image:
|
|
- debian:13
|
|
- almalinux:10
|
|
steps:
|
|
- name: Checkout Code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # the release's commit
|
|
|
|
- name: Install v4.3.0, update to this commit and check the panel
|
|
run: dev/test-installer.sh "${{ matrix.image }}" cd722c6a # v4.3.0, a tag of the fork only
|