Replaces installing a patched anaconda-webui RPM from the forge's package registry: installer/anaconda-webui/vendor/ is upstream release 86 verbatim (see its PROVENANCE.md), and installer/Containerfile builds it with upstream's own `make install` in a native-platform stage, then copies the result over stock Fedora anaconda-webui. The produced file set matches Fedora's anaconda-webui-86-1.fc46 exactly. Edits to the installer UI now happen in vendor/ and ship on the next `task build-installer-iso`, with no RPM, registry or CI in between. Also follows bootc-image-builder's rename of --bootc-installer-payload-ref to --installer-payload-ref. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
name: test-compose
|
|
on:
|
|
schedule:
|
|
- cron: '0 1 * * *'
|
|
# can be run manually on https://github.com/rhinstaller/anaconda-webui/actions
|
|
workflow_dispatch:
|
|
inputs:
|
|
compose_id:
|
|
description: 'Compose ID to test (leave empty to test against current event)'
|
|
staging:
|
|
description: 'Whether to test the staging wiki'
|
|
default: 'false'
|
|
jobs:
|
|
test-compose:
|
|
environment: 'fedora-wiki'
|
|
permissions:
|
|
statuses: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Clone repository
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Get compose ID
|
|
id: get-compose
|
|
run: |
|
|
if [ -n "${{ github.event.inputs.compose_id }}" ]; then
|
|
echo "compose_id=${{ github.event.inputs.compose_id }}" >> $GITHUB_OUTPUT
|
|
else
|
|
sudo apt-get update
|
|
sudo apt-get install -y python3-pip
|
|
sudo pip3 install wikitcms
|
|
COMPOSE_ID=$(python3 test/fedora-wiki/get_current_compose.py)
|
|
echo "compose_id=$COMPOSE_ID" >> $GITHUB_OUTPUT
|
|
fi
|
|
|
|
- name: Trigger and verify compose tests
|
|
timeout-minutes: 90
|
|
run: |
|
|
set -euo pipefail
|
|
mkdir -p ~/.config/cockpit-dev
|
|
echo "${{ github.token }}" >> ~/.config/cockpit-dev/github-token
|
|
|
|
export TEST_COMPOSE=${{ steps.get-compose.outputs.compose_id }}
|
|
if [ "${{ github.event.inputs.staging }}" = "true" ]; then
|
|
make test-compose-staging
|
|
else
|
|
make test-compose
|
|
fi
|
|
|
|
bots/tests-status - --wait 2>&1 | tee tests-status.log
|
|
|
|
if grep -q '^ not ok ' tests-status.log; then
|
|
echo "Failed test cases:"
|
|
grep '^ not ok ' tests-status.log
|
|
exit 1
|
|
fi
|