From 6c3a2296c218932e1af59d5fc71a6363b38840d1 Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Tue, 28 Apr 2026 14:40:57 +0200 Subject: [PATCH 1/8] Enable Packit CI --- .packit.yaml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 .packit.yaml diff --git a/.packit.yaml b/.packit.yaml new file mode 100644 index 00000000..c99037e8 --- /dev/null +++ b/.packit.yaml @@ -0,0 +1,38 @@ +jobs: + - &tests-ci + job: tests + trigger: pull_request + branch: master + targets: + - fedora-stable + - centos-stream-10-x86_64 + skip_build: true + identifier: "sanity" + tf_extra_params: + test: + tmt: + url: "https://github.com/RedHat-SP-Security/clevis-tests" + ref: "master" + name: "/Plans/upstream/sanity" + environment: + tmt: + context: + target_PR_branch: master + + - &tests-ci-pkcs11 + <<: *tests-ci + identifier: "pkcs11" + targets: + - fedora-stable + - centos-stream-9-x86_64 + - centos-stream-10-x86_64 + tf_extra_params: + test: + tmt: + url: "https://github.com/RedHat-SP-Security/clevis-tests" + ref: "master" + name: "/Plans/upstream/pkcs11-.*" + environment: + tmt: + context: + target_PR_branch: master From a7534ca7ece311e7dc92da57b65e86fa179968a2 Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Tue, 28 Apr 2026 21:24:25 +0200 Subject: [PATCH 2/8] Added fmf initialization --- .fmf/version | 1 + 1 file changed, 1 insertion(+) create mode 100644 .fmf/version diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 00000000..56a6051c --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 \ No newline at end of file From e4d1cda4416d4dab8d0d4a213ec8400adfdc9ff9 Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Tue, 28 Apr 2026 21:55:32 +0200 Subject: [PATCH 3/8] Trigger Packit CI From 283949aa0ab4ac58bfe944426c72353fd83090fb Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Tue, 28 Apr 2026 22:12:09 +0200 Subject: [PATCH 4/8] Fix .packit.yaml --- .packit.yaml | 36 +++++++++++++----------------------- 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index c99037e8..c1fd049f 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -1,38 +1,28 @@ jobs: - - &tests-ci + - &tests-ci-base job: tests trigger: pull_request branch: master - targets: - - fedora-stable - - centos-stream-10-x86_64 skip_build: true - identifier: "sanity" + fmf_url: "https://github.com/RedHat-SP-Security/clevis-tests" + fmf_ref: "master" tf_extra_params: - test: - tmt: - url: "https://github.com/RedHat-SP-Security/clevis-tests" - ref: "master" - name: "/Plans/upstream/sanity" environment: tmt: context: target_PR_branch: master - - &tests-ci-pkcs11 - <<: *tests-ci - identifier: "pkcs11" + - <<: *tests-ci-base + targets: + - fedora-stable + - centos-stream-10-x86_64 + identifier: "sanity" + tmt_plan: "/Plans/upstream/sanity" + + - <<: *tests-ci-base targets: - fedora-stable - centos-stream-9-x86_64 - centos-stream-10-x86_64 - tf_extra_params: - test: - tmt: - url: "https://github.com/RedHat-SP-Security/clevis-tests" - ref: "master" - name: "/Plans/upstream/pkcs11-.*" - environment: - tmt: - context: - target_PR_branch: master + identifier: "pkcs11" + tmt_plan: "/Plans/upstream/pkcs11-.*" From e02a5f2e5c1258bea1df86cb585bf1476d960247 Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Wed, 29 Apr 2026 12:54:21 +0200 Subject: [PATCH 5/8] Allow internal_tf ranch for provisioning --- .packit.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.packit.yaml b/.packit.yaml index c1fd049f..b9bd20cd 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -26,3 +26,4 @@ jobs: - centos-stream-10-x86_64 identifier: "pkcs11" tmt_plan: "/Plans/upstream/pkcs11-.*" + use_internal_tf: True From 6b4a417b1f376dac975b886dd436077093dfb7d2 Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Wed, 29 Apr 2026 13:26:28 +0200 Subject: [PATCH 6/8] Fix structure of the jobs --- .packit.yaml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.packit.yaml b/.packit.yaml index b9bd20cd..15baf944 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -6,22 +6,19 @@ jobs: skip_build: true fmf_url: "https://github.com/RedHat-SP-Security/clevis-tests" fmf_ref: "master" - tf_extra_params: - environment: - tmt: - context: - target_PR_branch: master - - - <<: *tests-ci-base targets: - fedora-stable - centos-stream-10-x86_64 identifier: "sanity" tmt_plan: "/Plans/upstream/sanity" + tf_extra_params: + environment: + tmt: + context: + target_PR_branch: master - <<: *tests-ci-base targets: - - fedora-stable - centos-stream-9-x86_64 - centos-stream-10-x86_64 identifier: "pkcs11" From f6d9aac617cbe24c610dab81fa482bdda12aa316 Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Tue, 28 Apr 2026 21:55:32 +0200 Subject: [PATCH 7/8] Trigger Packit CI From 24c511f93a25bfd673de599d7f0338daea445591 Mon Sep 17 00:00:00 2001 From: Adam Prikryl Date: Wed, 29 Apr 2026 13:47:55 +0200 Subject: [PATCH 8/8] Add c9s for sanity clevis testing --- .packit.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.packit.yaml b/.packit.yaml index 15baf944..b579f61f 100644 --- a/.packit.yaml +++ b/.packit.yaml @@ -9,6 +9,7 @@ jobs: targets: - fedora-stable - centos-stream-10-x86_64 + - centos-stream-9-x86_64 identifier: "sanity" tmt_plan: "/Plans/upstream/sanity" tf_extra_params: