forked from rpm-software-management/dnf5
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove all copr builds since tmt will take care of them
- Loading branch information
1 parent
3fa303d
commit 31f7d89
Showing
2 changed files
with
0 additions
and
119 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" |