This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release] Don't rely on koji for the default pipeline
... 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
1 parent
87f9394
commit 9aaaf60
Showing
2 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,6 @@ pipeline { | |
} | ||
stage('Setup Content') { | ||
steps { | ||
sh 'release/koji.sh' | ||
sh 'release/content.sh' | ||
} | ||
} | ||
|