Skip to content

Commit

Permalink
Use an include file for pulpcore copr versions
Browse files Browse the repository at this point in the history
This uses the same approach as for Koji, but also makes it explicit
which is which.

It drops the pulpcore nightly koji job.
  • Loading branch information
ekohl committed Nov 16, 2023
1 parent ffe326a commit a847a12
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 15 deletions.
16 changes: 14 additions & 2 deletions centos.org/jobs/pulpcore-pipelines.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
---
- project:
name: pulpcore
name: pulpcore-koji
jobs:
- 'foreman-pipeline-{type}-{flavor}-{version}'
empty: ''
version:
!include: ../../theforeman.org/yaml/includes/pulpcore_versions.yaml.inc
!include: ../../theforeman.org/yaml/includes/pulpcore_versions_koji.yaml.inc
type:
- pulpcore
flavor:
- rpm

- project:
name: pulpcore-copr
jobs:
- 'foreman-pipeline-{type}-{flavor}-{version}'
empty: ''
version:
!include: ../../theforeman.org/yaml/includes/pulpcore_versions_copr.yaml.inc
type:
- pulpcore
flavor:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- 'nightly'
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
- '3.21'
- '3.22'
- '3.28'
- 'nightly'
12 changes: 10 additions & 2 deletions theforeman.org/yaml/jobs/pipeline/pulpcore-release-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,17 @@
- 'pipelines/lib/foreman_infra.groovy{empty}'

- project:
name: pulpcore
name: pulpcore-koji
jobs:
- 'pulpcore-{version}-rpm-pipeline'
empty: ''
version:
!include: ../../includes/pulpcore_versions.yaml.inc
!include: ../../includes/pulpcore_versions_koji.yaml.inc

- project:
name: pulpcore-copr
jobs:
- 'pulpcore-{version}-rpm-pipeline'
empty: ''
version:
!include: ../../includes/pulpcore_versions_copr.yaml.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,20 @@
- 'pipelines/lib/foreman_infra.groovy{empty}'

- project:
name: pulpcore-packaging
name: pulpcore-packaging-rpm-koji
jobs:
- 'pulpcore-packaging-rpm-{version}-release'
empty: ''
version:
!include: ../../includes/pulpcore_versions.yaml.inc
!include: ../../includes/pulpcore_versions_koji.yaml.inc

- project:
name: pulpcore-packaging-rpm-copr
jobs:
- 'pulpcore-packaging-rpm-copr-{version}-release'
empty: ''
version:
!include: ../../includes/pulpcore_versions_copr.yaml.inc

- job-template:
name: 'pulpcore-packaging-rpm-copr-{version}-release'
Expand All @@ -46,11 +54,3 @@
- 'pipelines/lib/obal.groovy{empty}'
- 'pipelines/lib/packaging.groovy{empty}'
- 'pipelines/lib/foreman_infra.groovy{empty}'

- project:
name: pulpcore-packaging-rpm-copr-nightly
jobs:
- 'pulpcore-packaging-rpm-copr-{version}-release'
empty: ''
version:
- 'nightly'

0 comments on commit a847a12

Please sign in to comment.