代码拉取完成,页面将自动刷新
同步操作将从 Gitee 极速下载/Jenkins-x 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
buildPack: none
pipelineConfig:
pipelines:
pullRequest:
pipeline:
agent:
image: gcr.io/kaniko-project/executor:9912ccbf8d22bbafbf971124600fbb0b13b9cbd6
stages:
- name: ci
environment:
- name: GIT_COMMITTER_EMAIL
value: jenkins-x@googlegroups.com
- name: GIT_AUTHOR_EMAIL
value: jenkins-x@googlegroups.com
- name: GIT_AUTHOR_NAME
value: jenkins-x-bot
- name: GIT_COMMITTER_NAME
value: jenkins-x-bot
- name: BASE_WORKSPACE
value: /workspace/source
- name: GOPROXY
value: http://jenkins-x-athens-proxy:80
- name: PARALLEL_BUILDS
value: "2"
# Build a binary that can emit coverage
- name: COVERED_BINARY
value: "true"
- name: CODECOV_NAME
value: tektone2e
- name: VERSION_PREFIX
value: covered-
options:
containerOptions:
resources:
limits:
cpu: 4
memory: 6144Mi
requests:
cpu: 1
memory: 2048Mi
env:
- name: CODECOV_TOKEN
valueFrom:
secretKeyRef:
key: token
name: codecov-token
steps:
- name: build-binary
image: docker.io/golang:1.11.5
command: make
args: ['linux']
- name: validate-binary
image: docker.io/golang:1.11.5
command: "./build/linux/jx"
args: ['help']
- name: build-and-push-image
command: /kaniko/executor
args: ['--dockerfile=/workspace/source/Dockerfile','--destination=docker.io/jenkinsxio/jx:covered-${inputs.params.version}','--context=/workspace/source','--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
command: /kaniko/executor
args: ['--dockerfile=/workspace/source/Dockerfile.builder-nodejs','--destination=docker.io/jenkinsxio/builder-nodejs:covered-${inputs.params.version}','--context=/workspace/source','--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
command: /kaniko/executor
args: ['--dockerfile=/workspace/source/Dockerfile.builder-maven','--destination=docker.io/jenkinsxio/builder-maven:covered-${inputs.params.version}','--context=/workspace/source','--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
command: /kaniko/executor
args: ['--dockerfile=/workspace/source/Dockerfile.builder-go','--destination=docker.io/jenkinsxio/builder-go:covered-${inputs.params.version}','--context=/workspace/source','--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: tekton-e2e-tests
image: gcr.io/jenkinsxio/builder-go:0.1.537
command: ./jx/bdd/tekton/ci.sh
- name: stash-test-results
image: gcr.io/jenkinsxio/builder-jx:0.1.553
command: jx
# TODO force it to use the gs bucket until we sort out why the team setting gets wiped
args: ['step', 'stash', '-c', 'tekton-e2e-tests', '-p', 'build/reports/junit.xml', '--bucket-url', 'gs://jx-prod-logs']
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。