Permalink
Browse files

switch CI/CD to serverless Jenkins with Prow

  • Loading branch information...
rawlingsj committed Oct 9, 2018
1 parent ddcfa48 commit ca9e0a58a76519193a2c7a0d8cf277dfc11babe4
Showing with 28 additions and 19 deletions.
  1. +12 −19 Jenkinsfile
  2. +16 −0 OWNERS
@@ -1,10 +1,8 @@
pipeline {
agent any
environment {
CHARTMUSEUM_CREDS = credentials('jenkins-x-chartmuseum')
}
agent {
label "jenkins-jx-base"
}
stages {
stage('CI Build') {
when {
@@ -13,12 +11,10 @@ pipeline {
steps {
dir ('/home/jenkins/jenkins-x-platform') {
checkout scm
container('jx-base') {
sh "helm init --client-only"
sh "helm init --client-only"
sh "make build"
sh "helm template ."
}
sh "make build"
sh "helm template ."
}
}
}
@@ -29,19 +25,16 @@ pipeline {
}
steps {
dir ('/home/jenkins/jenkins-x-platform') {
checkout scm
container('jx-base') {
sh "jx step git credentials"
sh "./jx/scripts/release.sh"
}
git "https://github.com/jenkins-x/jenkins-x-platform"
sh "jx step git credentials"
sh "./jx/scripts/release.sh"
}
dir('/home/jenkins/packs'){
container('jx-base') {
git 'https://github.com/jenkins-x/draft-packs.git'
sh 'git config credential.helper store'
sh "jx step git credentials"
sh 'jx step tag --version \$(cat /home/jenkins/jenkins-x-platform/VERSION)'
}
git 'https://github.com/jenkins-x/draft-packs.git'
sh 'git config credential.helper store'
sh "jx step git credentials"
sh 'jx step tag --version \$(cat /home/jenkins/jenkins-x-platform/VERSION)'
}
}
}
16 OWNERS
@@ -0,0 +1,16 @@
approvers:
- rawlingsj
- jstrachan
- rajdavies
- ccojocar
- garethjevans
- i0n
- pmuir
reviewers:
- rawlingsj
- jstrachan
- rajdavies
- ccojocar
- garethjevans
- i0n
- pmuir

0 comments on commit ca9e0a5

Please sign in to comment.