Created
February 27, 2019 12:34
-
-
Save rawlingsj/745b309b163fbb15d54ad9e5d7923938 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
chat: | |
kind: slack | |
url: http://kubernetes.slack.com/ | |
developerChannel: '#jenkins-x-dev' | |
userChannel: '#jenkins-x-user' | |
buildPack: none | |
pipelineConfig: | |
pipelines: | |
pullRequest: | |
pipeline: | |
agent: | |
image: rawlingsj/executor:dev31 | |
stages: | |
- name: ci | |
environment: | |
- name: GIT_COMMITTER_EMAIL | |
value: [email protected] | |
- name: GIT_AUTHOR_EMAIL | |
value: [email protected] | |
- name: GIT_AUTHOR_NAME | |
value: jenkins-x-bot | |
- name: GIT_COMMITTER_NAME | |
value: jenkins-x-bot | |
- name: PATH_TO_DOCKERFILE | |
value: /workspace/source/Dockerfiles | |
- name: PATH_TO_CONTEXT | |
value: /workspace/source | |
- name: BASE_WORKSPACE | |
value: /workspace/source | |
steps: | |
- name: build-binary | |
image: docker.io/golang:1.11.5 | |
command: make | |
args: ['linux'] | |
workingDir: "/workspace/source" | |
env: | |
- name: GOPATH | |
value: /workspace/go | |
- name: GOPROXY | |
value: http://athens-proxy.jx.cd.jenkins-x.io | |
resources: | |
limits: | |
cpu: 4 | |
memory: 6144Mi | |
requests: | |
cpu: 3 | |
memory: 3072Mi | |
- name: validate-binary | |
image: docker.io/golang:1.11.5 | |
command: "./build/linux/jx" | |
args: ['--help'] | |
workingDir: "/workspace/source" | |
env: | |
- name: GOPATH | |
value: /workspace/go | |
- name: build-and-push-image | |
image: rawlingsj/executor:dev40 | |
command: /kaniko/executor | |
args: ['--dockerfile=${PATH_TO_DOCKERFILE}','--destination=docker.io/jenkinsxio/jx:${inputs.params.version}','--context=${PATH_TO_CONTEXT}','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] | |
- name: build-and-push-nodejs | |
image: rawlingsj/executor:dev40 | |
command: /kaniko/executor | |
args: ['--dockerfile=${BASE_WORKSPACE}/Dockerfile.builder-nodejs','--destination=docker.io/jenkinsxio/builder-nodejs:${inputs.params.version}','--context=${PATH_TO_CONTEXT}','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] | |
- name: build-and-push-maven | |
image: rawlingsj/executor:dev40 | |
command: /kaniko/executor | |
args: ['--dockerfile=${BASE_WORKSPACE}/Dockerfile.builder-maven','--destination=docker.io/jenkinsxio/builder-maven:${inputs.params.version}','--context=${PATH_TO_CONTEXT}','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] | |
- name: build-and-push-go | |
image: rawlingsj/executor:dev40 | |
command: /kaniko/executor | |
args: ['--dockerfile=${BASE_WORKSPACE}/Dockerfile.builder-go','--destination=docker.io/jenkinsxio/builder-go:${inputs.params.version}','--context=${PATH_TO_CONTEXT}','--cache-repo=jenkins-x-docker-registry.jx.svc.cluster.local:5000/','--cache=true','--cache-dir=/workspace','--skip-tls-verify-registry=jenkins-x-docker-registry.jx.svc.cluster.local:5000'] | |
- name: preview | |
image: jenkinsxio/builder-go:0.1.246 | |
command: ./jx/scripts/ci.sh | |
workingDir: "/workspace/source" | |
env: | |
- name: HOME | |
value: /workspace | |
- name: GOPATH | |
value: /workspace/go | |
- name: PATH | |
value: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/google-cloud-sdk/bin:/opt/google/chrome:/usr/local/go/bin:/usr/local/glide:/usr/local/dep:/usr/local/:/home/jenkins/go/bin:/workspace/go/bin" | |
- name: GOPROXY | |
value: http://athens-proxy.jx.cd.jenkins-x.io | |
resources: | |
limits: | |
cpu: 4 | |
memory: 6144Mi | |
requests: | |
cpu: 3 | |
memory: 3072Mi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment