-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor COPR jobs for easier branching #376
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This won't play well the first time, but if I left it empty then it failed to build. It'll easily show up in review if you add a line after this. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
- '3.7' | ||
- '3.8' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
- 'nightly' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can include '3.39' here as well, since we are going to branch from There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think that's out of scope for this PR: we should treat 3.39 as a separate branching step. We already know https://github.com/theforeman/theforeman-rel-eng/blob/master/procedures/pulpcore/update.md.erb is out of date, so please keep notes when you do. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,3 @@ | |
- '3.21' | ||
- '3.22' | ||
- '3.28' | ||
- 'nightly' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. AFAIK we don't build Pulp nightly in Koji anymore, so this can be cleaned up. |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
--- | ||
- job-template: | ||
name: 'foreman-packaging-{packaging_label}-{version}-release' | ||
project-type: pipeline | ||
sandbox: true | ||
concurrent: false | ||
properties: | ||
- github: | ||
url: https://github.com/theforeman/foreman-packaging | ||
triggers: | ||
- github | ||
dsl: | ||
!include-raw: | ||
- 'pipelines/vars/foreman/{version}.groovy' | ||
- 'pipelines/release/foreman_packaging_{packaging_type}_release.groovy{empty}' | ||
- 'pipelines/lib/git.groovy{empty}' | ||
- 'pipelines/lib/ansible.groovy{empty}' | ||
- 'pipelines/lib/obal.groovy{empty}' | ||
- 'pipelines/lib/packaging.groovy{empty}' | ||
- 'pipelines/lib/foreman_infra.groovy{empty}' | ||
|
||
- project: | ||
name: foreman-packaging-deb | ||
jobs: | ||
- 'foreman-packaging-{packaging_label}-{version}-release' | ||
empty: '' | ||
packaging_label: deb | ||
packaging_type: deb | ||
version: | ||
!include: ../../includes/foreman_versions.yaml.inc | ||
|
||
- project: | ||
name: foreman-packaging-rpm-koji-release | ||
jobs: | ||
- 'foreman-packaging-{packaging_label}-{version}-release' | ||
empty: '' | ||
packaging_label: rpm | ||
packaging_type: rpm | ||
version: | ||
!include: ../../includes/foreman_versions_koji.yaml.inc | ||
|
||
- project: | ||
name: foreman-packaging-rpm-copr-release | ||
jobs: | ||
- 'foreman-packaging-{packaging_label}-{version}-release' | ||
empty: '' | ||
packaging_label: rpm | ||
packaging_type: rpm_copr | ||
version: | ||
!include: ../../includes/foreman_versions_copr.yaml.inc | ||
|
||
- project: | ||
name: foreman-packaging-deb-nightly | ||
jobs: | ||
- 'foreman-packaging-{packaging_label}-{version}-release' | ||
empty: '' | ||
packaging_label: deb | ||
packaging_type: deb | ||
version: | ||
- 'nightly' | ||
|
||
- project: | ||
name: foreman-packaging-rpm-koji-nightly | ||
jobs: | ||
- 'foreman-packaging-{packaging_label}-{version}-release' | ||
empty: '' | ||
packaging_label: rpm | ||
packaging_type: rpm | ||
version: | ||
- 'nightly' | ||
|
||
- project: | ||
name: foreman-packaging-rpm-copr-nightly | ||
jobs: | ||
- 'foreman-packaging-{packaging_label}-{version}-release' | ||
empty: '' | ||
packaging_label: rpm-copr | ||
packaging_type: rpm_copr | ||
version: | ||
- 'nightly' |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we're not doing koji releases anymore, can't this go?
(also, the file is now foreman_versions_koji, right?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this is the file with all releases. It's also used for Debian and other stuff like
smart-proxy-X.Y-stable-test
&test_X_Y_stable
.