leapp-repository/SOURCES/0033-Drop-the-obsoleted-cop...

60 lines
1.6 KiB
Diff

From 9049c65f73524c34f40f4da0a1f07b3d58d09f60 Mon Sep 17 00:00:00 2001
From: Petr Stodulka <pstodulk@redhat.com>
Date: Thu, 28 Apr 2022 14:28:14 +0200
Subject: [PATCH 33/39] Drop the obsoleted copr-build job
This job is already obsoleted as nowadays the builds are delivered
by Packit.
Also this is only failing recent month. So it seems there is no need
for this.
---
.github/workflows/copr-build.yml | 35 --------------------------------
1 file changed, 35 deletions(-)
delete mode 100644 .github/workflows/copr-build.yml
diff --git a/.github/workflows/copr-build.yml b/.github/workflows/copr-build.yml
deleted file mode 100644
index 8252e327..00000000
--- a/.github/workflows/copr-build.yml
+++ /dev/null
@@ -1,35 +0,0 @@
-name: copr-build
-
-on:
- push:
- branches:
- - master
-
-jobs:
- copr_build:
- name: Create copr build
- runs-on: ubuntu-20.04
- if: github.repository_owner == 'oamg'
- steps:
- - name: Checkout
- id: checkout
- uses: actions/checkout@v2
- with:
- ref: "refs/heads/master"
-
- - name: Trigger fedora copr build
- id: trigger_fedora_build
- env:
- COPR_CONFIG: "copr_fedora.conf"
- COPR_CHROOT: "epel-7-x86_64,epel-8-x86_64"
- run: |
- cat << EOF > $COPR_CONFIG
- [copr-cli]
- login = ${{ secrets.FEDORA_COPR_LOGIN }}
- username = @oamg
- token = ${{ secrets.FEDORA_COPR_TOKEN }}
- copr_url = https://copr.fedorainfracloud.org
- EOF
-
- pip install copr-cli
- COPR_CONFIG=$COPR_CONFIG COPR_CHROOT=$COPR_CHROOT make copr_build
--
2.35.3