Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
[release] Don't rely on koji for the default pipeline
Browse files Browse the repository at this point in the history
... and add a Pipeline definition for those specifically using Koji.

Most of new users trying distro-factory won't have a koji setup to begin
with. This makes it easier for newcomers to try out this project.

Signed-off-by: Murilo Belluzzo <[email protected]>
  • Loading branch information
mbelluzzo-intel committed May 22, 2019
1 parent 87f9394 commit 9aaaf60
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 1 deletion.
50 changes: 50 additions & 0 deletions release/ReleaseKojiPipeline
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
pipeline {
agent { label 'clr-builders' }

environment {
NAMESPACE = "${JOB_NAME}"
WORK_DIR = "${WORKSPACE}/work"
}

stages {
stage('Prologue') {
steps {
sh 'release/prologue.sh'
}
}
stage('Setup Content') {
steps {
sh 'release/koji.sh'
sh 'release/content.sh'
}
}
stage('Create Update Stream') {
steps {
sh 'release/mixer.sh'
sh 'release/mca-check.sh'
}
}
stage('Create Images') {
steps {
sh 'release/images.sh'
}
}
stage('Stage') {
steps {
sh 'release/release_notes.sh'
sh 'release/stage.sh'
}
}
stage('Publish') {
steps {
sh 'release/publish.sh'
}
}
}

post {
always {
echo "Release Pipeline OUT - ${env.BUILD_TAG}"
}
}
}
1 change: 0 additions & 1 deletion release/ReleasePipeline
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ pipeline {
}
stage('Setup Content') {
steps {
sh 'release/koji.sh'
sh 'release/content.sh'
}
}
Expand Down

0 comments on commit 9aaaf60

Please sign in to comment.