Created
February 26, 2019 09:35
-
-
Save rawlingsj/46dc08b83aa284521e4dea293d86c67b 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
pipelineConfig: | |
pipelines: | |
release: | |
pipeline: | |
agent: | |
image: rawlingsj/executor:dev31 | |
stages: | |
- name: next-version | |
environment: | |
- name: GIT_COMMITTER_EMAIL | |
value: [email protected] | |
- name: GIT_AUTHOR_EMAIL | |
value: [email protected] | |
- name: GIT_AUTHOR_NAME | |
value: jenkins-x-bot-test | |
- name: GIT_COMMITTER_NAME | |
value: jenkins-x-bot-test | |
steps: | |
- agent: | |
image: jenkinsxio/jx:1.3.925 | |
command: jx | |
args: | |
- step | |
- next-version | |
- -t | |
- --use-git-tag-only | |
- agent: | |
image: bash:5.0.2 | |
command: cat | |
args: | |
- VERSION | |
- agent: | |
image: centos:7 | |
command: ./replace-versions.sh | |
# - agent: | |
# image: gcr.io/kaniko-project/executor:v0.9.0 | |
# command: /kaniko/executor | |
# args: | |
# - --dockerfile=Dockerfile.base | |
# - --destination=docker.io/warrenbailey/jenkins-base:$(cat VERSION) | |
# - --context=jenkins-base | |
# - --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 | |
- command: /bin/bash | |
args: ['-c','/kaniko/executor --dockerfile=Dockerfile.base --destination=docker.io/warrenbailey/jenkins-base:$(cat VERSION) --context=/workspace/workspace--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'] | |
- command: /kaniko/warmer | |
args: | |
- --cache-dir=/workspace | |
- --image=docker.io/warrenbailey/jenkins-base | |
- command: /bin/bash | |
args: ['-c','/kaniko/executor --dockerfile=Dockerfile.maven --destination=docker.io/warrenbailey/jenkins-maven:$(cat VERSION) --context=/workspace/workspace--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'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment