Skip to content

anaconda

anaconda #26

# Anaconda's tests are "special" (require booting boot.iso, can't run in
# tmt/Testing Farm), so we need to run them in Cockpit's CI. But we still want
# to re-use the packit COPR, which is much easier to consume by Anaconda's
# tests than building cockpit in Anaconda.
# This workflow checks if the PR affects Anaconda (changes to the bridge or
# Storage page), polls the packit COPR until it has the current PR version
# available, and then test-triggers a "cockpit PR" scenario.
name: anaconda
on:
check_run:
types: [completed]
jobs:
trigger:
runs-on: ubuntu-22.04
if: github.event.check_run.name == "rpm-build:fedora-rawhide-x86_64" && github.event.check_run.pull_requests

Check failure on line 16 in .github/workflows/trigger-anaconda.yml

View workflow run for this annotation

GitHub Actions / anaconda

Invalid workflow file

The workflow is not valid. .github/workflows/trigger-anaconda.yml (Line: 16, Col: 9): Unexpected symbol: '"rpm-build:fedora-rawhide-x86_64"'. Located at position 32 within expression: github.event.check_run.name == "rpm-build:fedora-rawhide-x86_64" && github.event.check_run.pull_requests
timeout-minutes: 5
steps:
- name: debug info
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
DIFF_URL: "${{ github.event.repository.html_url }}/pull/${{ github.event.check_run.pull_requests[0].number }}.diff"
run: |
set -ex
echo "GITHUB_SHA: $GITHUB_SHA"
echo "GITHUB_REF: $GITHUB_REF"
echo "github: $GITHUB_CONTEXT"
echo "DIFF_URL: $DIFF_URL"
curl -L "$DIFF_URL"