Skip to content

Commit

Permalink
Remove all copr builds since tmt will take care of them
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos authored and jan-kolarik committed Dec 11, 2023
1 parent 3fa303d commit 31f7d89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 119 deletions.
70 changes: 0 additions & 70 deletions .github/workflows/ci.yml

This file was deleted.

49 changes: 0 additions & 49 deletions .github/workflows/package-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,52 +69,3 @@ jobs:

- name: Display CCache statistics
run: ccache -s

rpm-gitoverlay-build:
name: Git Overlay Build
needs: [ ccache-build ]
# If any of the jobs listed in needs return "failure" then run this job
if: ${{ always() && contains(needs.*.result, 'failure') }}
runs-on: ubuntu-latest
container: ghcr.io/rpm-software-management/dnf-ci-host
strategy:
fail-fast: false # don't fail all matrix jobs if one of them fails
matrix:
compiler: ['', clang] # gcc is the default
steps:
- name: Check out ci-dnf-stack
uses: actions/checkout@v2
with:
repository: rpm-software-management/ci-dnf-stack

- name: Setup CI
id: setup-ci
uses: ./.github/actions/setup-ci
with:
copr-user: ${{secrets.COPR_USER}}
copr-api-token: ${{secrets.COPR_API_TOKEN}}

- name: Check out sources
uses: actions/checkout@v2
with:
path: gits/${{github.event.repository.name}}
ref: ${{github.event.pull_request.head.sha}} # check out the PR HEAD
fetch-depth: 0

- name: Rebase the pull request on target branch
run: |
pushd gits/${{github.event.repository.name}}
git config user.name github-actions
git config user.email [email protected]
echo "Rebasing \"`git log --oneline -1`\" on ${{github.event.pull_request.base.ref}}: \"`git log --oneline -1 origin/${{github.event.pull_request.base.ref}}`\""
git rebase origin/${{github.event.pull_request.base.ref}}
popd
- name: Build in Copr
run: |
CHROOTS="fedora-37-x86_64, fedora-38-x86_64, fedora-rawhide-x86_64"
PROJECT_NAME="CI-libdnf5-pr${{github.event.pull_request.number}}"
if [[ -n "${{matrix.compiler}}" ]]; then
PROJECT_NAME+="-${{matrix.compiler}}"
fi
rpm-gitoverlay --gitdir=gits build-overlay -s overlays/dnf5-unstable rpm --with "${{matrix.compiler}}" copr --owner "${{steps.setup-ci.outputs.copr-user}}" --project "$PROJECT_NAME" --chroots "$CHROOTS" --delete-project-after-days=7 --additional-repos="copr://rpmsoftwaremanagement/dnf-nightly copr://rpmsoftwaremanagement/dnf5-unstable"

0 comments on commit 31f7d89

Please sign in to comment.