From 2d01ef838ebc5b577c4a5db39b458eb1c246a367 Mon Sep 17 00:00:00 2001 From: Vaclav Danek Date: Wed, 27 Nov 2024 06:09:56 +0100 Subject: [PATCH 1/3] added gating.yaml and "all" plan --- .fmf/version | 1 + gating.yaml | 7 +++++++ plan/all.fmf | 7 +++++++ 3 files changed, 15 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plan/all.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..b413593 --- /dev/null +++ b/gating.yaml @@ -0,0 +1,7 @@ +--- !Policy +product_versions: + - rhel-10 +decision_context: osci_compose_gate +rules: + - !PassingTestCaseRule {test_case_name: osci.brew-build./plans/all.functional} + diff --git a/plan/all.fmf b/plan/all.fmf new file mode 100644 index 0000000..ee6f634 --- /dev/null +++ b/plan/all.fmf @@ -0,0 +1,7 @@ +summary: test plan with all tests +discover: + how: fmf + url: https://pkgs.devel.redhat.com/git/tests/star +execute: + how: tmt + From 9d59c210c93527aa831d6723782b4ac38c57f27d Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Wed, 12 Feb 2025 18:21:29 +0100 Subject: [PATCH 2/3] Introduce rpmbuild tekton pipeline Resolves: RHEL-79677 Co-Authored-By: Pavel Raiskup --- .tekton/rhel-10-star-pull-request.yaml | 43 ++++++++++++++++++++++++++ .tekton/rhel-10-star-push.yaml | 42 +++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 .tekton/rhel-10-star-pull-request.yaml create mode 100644 .tekton/rhel-10-star-push.yaml diff --git a/.tekton/rhel-10-star-pull-request.yaml b/.tekton/rhel-10-star-pull-request.yaml new file mode 100644 index 0000000..3c024ed --- /dev/null +++ b/.tekton/rhel-10-star-pull-request.yaml @@ -0,0 +1,43 @@ +--- +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: '{{ source_url }}/-/tree/{{ revision }}' + build.appstudio.redhat.com/commit_sha: '{{ revision }}' + build.appstudio.redhat.com/pull_request_number: '{{ pull_request_number }}' + build.appstudio.redhat.com/target_branch: '{{ target_branch }}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "pull_request" + creationTimestamp: null + labels: + appstudio.openshift.io/application: rhel-10-workload-apps-unsorted + appstudio.openshift.io/component: rhel-10-star + pipelines.appstudio.openshift.io/type: build + name: rhel-10-star-on-pull-request + namespace: rhel-sst-cs-database-tenant +spec: + params: + - name: application + value: rhel-10-workload-apps-unsorted + - name: package-name + value: star + - name: git-url + value: "{{ source_url }}" + - name: revision + value: "{{ revision }}" + - name: target-branch + value: "{{ target_branch }}" + pipelineRef: + resolver: git + params: + - name: url + value: "https://gitlab.cee.redhat.com/rhel-on-konflux/rpmbuild-pipeline.git" + - name: revision + value: main + - name: pathInRepo + value: pipeline/build-rhel-package.yaml + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' diff --git a/.tekton/rhel-10-star-push.yaml b/.tekton/rhel-10-star-push.yaml new file mode 100644 index 0000000..23a068b --- /dev/null +++ b/.tekton/rhel-10-star-push.yaml @@ -0,0 +1,42 @@ +--- +apiVersion: tekton.dev/v1 +kind: PipelineRun +metadata: + annotations: + build.appstudio.openshift.io/repo: '{{ source_url }}/-/tree/{{ revision }}' + build.appstudio.redhat.com/commit_sha: '{{ revision }}' + build.appstudio.redhat.com/target_branch: '{{ target_branch }}' + pipelinesascode.tekton.dev/max-keep-runs: "3" + pipelinesascode.tekton.dev/on-cel-expression: event == "push" + creationTimestamp: null + labels: + appstudio.openshift.io/application: rhel-10-workload-apps-unsorted + appstudio.openshift.io/component: rhel-10-star + pipelines.appstudio.openshift.io/type: build + name: rhel-10-star-on-push + namespace: rhel-sst-cs-database-tenant +spec: + params: + - name: application + value: rhel-10-workload-apps-unsorted + - name: package-name + value: star + - name: git-url + value: "{{ source_url }}" + - name: revision + value: "{{ revision }}" + - name: target-branch + value: "{{ target_branch }}" + pipelineRef: + resolver: git + params: + - name: url + value: "https://gitlab.cee.redhat.com/rhel-on-konflux/rpmbuild-pipeline.git" + - name: revision + value: main + - name: pathInRepo + value: pipeline/build-rhel-package.yaml + workspaces: + - name: git-auth + secret: + secretName: '{{ git_auth_secret }}' From aaa2b1fbb9eb36122d34273c5ebce4d73ceff9f0 Mon Sep 17 00:00:00 2001 From: Michal Srb Date: Mon, 17 Feb 2025 14:07:10 +0100 Subject: [PATCH 3/3] Bump spec Resolves: RHEL-79677 Signed-off-by: Michal Srb --- star.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/star.spec b/star.spec index e30ec1c..73c5aac 100644 --- a/star.spec +++ b/star.spec @@ -3,7 +3,7 @@ Summary: An archiving tool with ACL support Name: star Version: 1.6 -Release: 16%{?dist} +Release: 17%{?dist} License: CDDL-1.0 AND GPL-2.0-only URL: http://freecode.com/projects/star Source: https://downloads.sourceforge.net/s-tar/%{name}-%{version}.tar.bz2 @@ -202,6 +202,9 @@ fi %{_sysconfdir}/rmt %changelog +* Mon Feb 17 2025 Michal Srb - 1.6-17 +- rebuilt + * Tue Oct 29 2024 Troy Dawson - 1.6-16 - Bump release for October 2024 mass rebuild: Resolves: RHEL-64018