Skip to content

Instantly share code, notes, and snippets.

@pmuir
Created October 12, 2018 18:55
Show Gist options
  • Save pmuir/c0b3d5373753df7eef6609804f6c630b to your computer and use it in GitHub Desktop.
Save pmuir/c0b3d5373753df7eef6609804f6c630b to your computer and use it in GitHub Desktop.
initContainers:
- env:
- name: HOME
value: /builder/home
image: gcr.io/build-crd/github.com/knative/build/cmd/creds-init@sha256:cfcc14889abe29b54d17ff6cf414918d9d92ff02bb112525742ec2e30117899f
imagePullPolicy: IfNotPresent
name: build-step-credential-initializer
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /workspace
name: workspace
- mountPath: /builder/home
name: home
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: jenkins-token-6578r
readOnly: true
workingDir: /workspace
- args:
- -url
- https://github.com/jenkins-x/jx.git
- -revision
- 279aec4945ecc5fd7074b852fc73dc0f80fdf6d6
env:
- name: HOME
value: /builder/home
image: gcr.io/build-crd/github.com/knative/build/cmd/git-init@sha256:d52c29a4a1d83712b048bd32dbb5f97b7d2791af9b892f68fe94e162932ac66e
imagePullPolicy: IfNotPresent
name: build-step-git-source
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:
- mountPath: /workspace
name: workspace
- mountPath: /builder/home
name: home
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: jenkins-token-6578r
readOnly: true
workingDir: /workspace
- env:
- name: HOME
value: /builder/home
- 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: XDG_CONFIG_HOME
value: /home/jenkins
- name: DOCKER_CONFIG
value: /home/jenkins/.docker/
- name: DOCKER_REGISTRY
valueFrom:
configMapKeyRef:
key: docker.registry
name: jenkins-x-docker-registry
- name: BUILD_ID
value: "1"
- name: JOB_NAME
value: serverless-jenkins
- name: REPO_OWNER
value: jenkins-x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment