diff --git a/.github/workflows/trigger-anaconda.yml b/.github/workflows/trigger-anaconda.yml index ab0af5c11767..80932ab8f2e9 100644 --- a/.github/workflows/trigger-anaconda.yml +++ b/.github/workflows/trigger-anaconda.yml @@ -40,26 +40,11 @@ jobs: git log --exit-code --stat origin/${{ github.event.pull_request.base.ref }}..HEAD -- src/cockpit pkg/storaged \ >&2 || echo "changed=true" >> "$GITHUB_OUTPUT" - - name: Wait for packit COPR build - if: steps.affected.outputs.changed - run: | - set -ex - COPR_NAME="${{ github.event.pull_request.base.user.login }}-${{ github.event.pull_request.base.repo.name }}-${{ github.event.number }}" - SHA=$(echo "${{ github.event.pull_request.head.sha }}" | cut -c 1-8) - for _ in $(seq 60); do - sleep 60; - if dnf copr enable -y packit/$COPR_NAME && - out=$(dnf info --refresh --repo='copr:*cockpit*' cockpit-bridge) && - echo "$out" | grep -q "Release.*\.g$SHA" ; then - exit 0 - fi - done - exit 1 - - name: Trigger anaconda run if: steps.affected.outputs.changed run: | test/common/make-bots mkdir -p ~/.config/cockpit-dev echo '${{ secrets.COCKPITUOUS_TOKEN }}' > ~/.config/cockpit-dev/github-token + ls -l ~/.config/cockpit-dev/github-token bots/tests-trigger ${{ github.event.number }} fedora-rawhide-boot/cockpit-pr-${{ github.event.number }}@rhinstaller/anaconda diff --git a/packit.yaml b/packit.yaml index 8f77cd7cab3c..9838fd04e6ff 100644 --- a/packit.yaml +++ b/packit.yaml @@ -23,41 +23,11 @@ srpm_build_deps: # use the nicely formatted release NEWS from our upstream release, instead of git shortlog copy_upstream_release_description: true jobs: - - job: tests - identifier: self - trigger: pull_request - targets: - - fedora-38 - - fedora-39 - - fedora-latest-aarch64 - - fedora-development - - centos-stream-8-x86_64 - - centos-stream-9-x86_64 - - centos-stream-9-aarch64 - - # current Fedora runs reverse dependency testing against https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/ - - job: tests - identifier: revdeps - trigger: pull_request - targets: - - fedora-latest-stable - tf_extra_params: - environments: - - artifacts: - - type: repository-file - id: https://copr.fedorainfracloud.org/coprs/g/cockpit/main-builds/repo/fedora-$releasever/group_cockpit-main-builds-fedora-$releasever.repo - tmt: - context: - revdeps: "yes" - # run build/unit tests on some interesting architectures - job: copr_build trigger: pull_request targets: - # 32 bit - - fedora-development-i386 - # big-endian - - fedora-development-s390x + - fedora-development # for cross-project testing - job: copr_build