anaconda #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 GitHub Actions / anacondaInvalid workflow file
|
||
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" |