Skip to content

Instantly share code, notes, and snippets.

@rawlingsj
Created February 27, 2019 08:45
Show Gist options
  • Save rawlingsj/9a9e2cb20fa80c62bbd900f93f48b653 to your computer and use it in GitHub Desktop.
Save rawlingsj/9a9e2cb20fa80c62bbd900f93f48b653 to your computer and use it in GitHub Desktop.
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
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment