From 2fcdc8047277e539f9be1335b5cf5931e1402cb5 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 24 Apr 2023 14:34:34 +0200 Subject: [PATCH 1/4] ci: add dependabot config for GitHub Actions Enable dependabot for the "main" branch, letting it scan for outdated GitHub Actions used in workflows on a weekly base. --- .github/dependabot.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..13e4e05 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + target-branch: "main" + commit-message: + prefix: "ci" From 0932b65e0d51c5b1792cf3b00007c79c5262dffd Mon Sep 17 00:00:00 2001 From: Matyas Horky Date: Mon, 21 Aug 2023 13:28:29 +0200 Subject: [PATCH 2/4] Use Fedora registry to pull container images The Actions are implicitly using 'docker.io/library/fedora:rawhide', which is not the latest possible build. This makes the CI fail even when there is a fix in upstream image already. --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index eeea3f7..2e8da84 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ jobs: strategy: matrix: container: - - "fedora:latest" - - "fedora:rawhide" + - "registry.fedoraproject.org/fedora:latest" + - "registry.fedoraproject.org/fedora:rawhide" - "quay.io/centos/centos:stream8" - "quay.io/centos/centos:stream9" container: From b7e093b5e14e6432191e6262082536b89f28e16a Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 22 Aug 2023 11:58:47 +0200 Subject: [PATCH 3/4] ci: disable fail-fast for matrix jobs This way, even if one job fails, the others will not be cancelled; this is useful to have results even if development versions temporarily fail. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e8da84..0baf2a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: name: "📦 Build & install" runs-on: ubuntu-latest strategy: + fail-fast: false matrix: container: - "registry.fedoraproject.org/fedora:latest" From 4ec141c6c83309954a3bdc3c7a181a411f37de72 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Tue, 22 Aug 2023 12:00:58 +0200 Subject: [PATCH 4/4] spec: convert License to SPDX Since on SUSE distributions there is a different format, leave the previous format for them. --- subscription-manager-rhsm-certificates.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subscription-manager-rhsm-certificates.spec b/subscription-manager-rhsm-certificates.spec index 02dd90a..d84cded 100644 --- a/subscription-manager-rhsm-certificates.spec +++ b/subscription-manager-rhsm-certificates.spec @@ -7,7 +7,7 @@ URL: https://www.candlepinproject.org/ Group: Development/Libraries/Python License: GPL-2.0 %else -License: GPLv2 +License: GPL-2.0-only %endif # How to create the source tarball: