Update CI config with pipelines from second server
* Move CI configuration into own sub folder
* Add other project configs from build server testing
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
3 files added
1 files renamed
New file |
| | |
| | | @Library("BuildLib") _ |
| | | pipeline { |
| | | agent { |
| | | node { |
| | | label 'encumbered' |
| | | } |
| | | } |
| | | stages { |
| | | stage('Git Checkout') { |
| | | steps { |
| | | withSharedWs() { |
| | | git branch: 'oi/hipster', url: 'https://github.com/OpenIndiana/oi-userland.git' |
| | | } |
| | | } |
| | | } |
| | | stage('Gmake Setup') { |
| | | steps { |
| | | withPublisher('hipster-encumbered', 'full') { |
| | | ignoreEncumberedComponents(['audacity', 'gsm', 'gst-plugins-bad', 'rtmpdump']) |
| | | sh 'rm -f components/encumbered/components.mk' |
| | | sh 'rm -f components/encumbered/depends.mk' |
| | | sh 'gmake -C components/encumbered setup' |
| | | } |
| | | } |
| | | } |
| | | stage('build encumbered packages') { |
| | | steps { |
| | | withPublisher('hipster-encumbered', 'incremental') { |
| | | sh 'gmake -C components/encumbered publish -k' |
| | | } |
| | | } |
| | | } |
| | | stage('copy packages') { |
| | | steps { |
| | | pkgcopyEncumbered() |
| | | } |
| | | } |
| | | stage('update system') { |
| | | steps { |
| | | update() |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
New file |
| | |
| | | @Library("BuildLib") _ |
| | | pipeline { |
| | | agent { |
| | | node { |
| | | label 'illumos-gate' |
| | | } |
| | | } |
| | | stages { |
| | | stage('Git Checkout') { |
| | | steps { |
| | | withSharedWs() { |
| | | git branch: 'oi/hipster', url: 'https://github.com/OpenIndiana/oi-userland.git' |
| | | } |
| | | } |
| | | } |
| | | stage('Gmake Setup') { |
| | | steps { |
| | | sh 'rm -f components/components.mk' |
| | | sh 'rm -f components/depends.mk' |
| | | withPublisher('openindiana.org', 'full') { |
| | | sh 'gmake setup' |
| | | } |
| | | } |
| | | } |
| | | stage('build illumos-gate') { |
| | | steps { |
| | | withPublisher('openindiana.org', 'incremental') { |
| | | dir('components/openindiana/illumos-gate') { |
| | | sh 'gmake publish' |
| | | } |
| | | } |
| | | } |
| | | } |
| | | stage('update system') { |
| | | steps { |
| | | update() |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
New file |
| | |
| | | @Library("BuildLib") _ |
| | | pipeline { |
| | | agent { |
| | | node { |
| | | label 'userland' |
| | | } |
| | | } |
| | | stages { |
| | | stage('Git Checkout') { |
| | | steps { |
| | | withSharedWs() { |
| | | git branch: 'oi/hipster', url: 'https://github.com/OpenIndiana/oi-userland.git' |
| | | } |
| | | } |
| | | } |
| | | stage('Gmake Setup') { |
| | | steps { |
| | | sh 'rm -f components/components.mk' |
| | | sh 'rm -f components/depends.mk' |
| | | withPublisher('openindiana.org', 'full') { |
| | | sh 'gmake setup' |
| | | } |
| | | } |
| | | } |
| | | stage('Gmake Publish') { |
| | | steps { |
| | | withPublisher('openindiana.org', 'incremental') { |
| | | sh 'gmake publish -k' |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |