Skip to content

Commit

Permalink
Only run repository generation on nightly for Copr based repos
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Nov 16, 2023
1 parent 95223ca commit 2e02254
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
6 changes: 6 additions & 0 deletions theforeman.org/pipelines/release/pipelines/client.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ pipeline {
}
stages {
stage('staging-build-repository') {
when {
expression { foreman_version == 'nightly' }
}
steps {
git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false

Expand All @@ -75,6 +78,9 @@ pipeline {
}
}
stage('staging-copy-repository') {
when {
expression { foreman_version == 'nightly' }
}
steps {
script {
dir('tmp') {
Expand Down
6 changes: 6 additions & 0 deletions theforeman.org/pipelines/release/pipelines/foreman-rpm.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ pipeline {
}
stages {
stage('staging-build-repository') {
when {
expression { foreman_version == 'nightly' }
}
steps {
git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false

Expand All @@ -74,6 +77,9 @@ pipeline {
}
}
stage('staging-copy-repository') {
when {
expression { foreman_version == 'nightly' }
}
steps {
script {
dir('tmp') {
Expand Down
6 changes: 6 additions & 0 deletions theforeman.org/pipelines/release/pipelines/katello.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ pipeline {
}
stages {
stage('staging-build-repository') {
when {
expression { katello_version == 'nightly' }
}
steps {
git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false

Expand All @@ -75,6 +78,9 @@ pipeline {
}
}
stage('staging-copy-repository') {
when {
expression { katello_version == 'nightly' }
}
steps {
script {
dir('tmp') {
Expand Down
6 changes: 6 additions & 0 deletions theforeman.org/pipelines/release/pipelines/pulpcore.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ pipeline {
}
stages {
stage('staging-build-repository') {
when {
expression { pulpcore_version == 'nightly' }
}
steps {
git url: "https://github.com/theforeman/theforeman-rel-eng", poll: false

Expand All @@ -86,6 +89,9 @@ pipeline {
}
}
stage('staging-copy-repository') {
when {
expression { pulpcore_version == 'nightly' }
}
steps {
script {
dir('tmp') {
Expand Down

0 comments on commit 2e02254

Please sign in to comment.