mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-03 01:16:10 +00:00
The installer was tested by hand in containers before a release; a change to it, to what it installs or a distribution's packages could break a fresh install unseen. dev/test-installer.sh installs the committed HEAD with install.sh in a systemd container of one distribution and checks that the panel's services run, it has a secret key and an admin password, and the login page loads. The Installer workflow runs it on Ubuntu 22.04/24.04/26.04, Debian 12/13, AlmaLinux 10, openSUSE Leap 15.6 and openEuler 24.03 when the installer or conf/ changes, and weekly.
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
name: Installer
|
|
|
|
# install.sh on each supported distribution (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/**
|
|
- 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
|
|
- 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 }}"
|