代码拉取完成,页面将自动刷新
---
kind: pipeline
name: default
platform:
os: linux
arch: amd64
steps:
- name: ci
pull: default
image: rancher/dapper:1.11.2
commands:
- dapper ci
- ls -lR build/bin
environment:
CROSS: 1
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- pull_request
- tag
- name: stage-binaries
pull: default
image: rancher/dapper:1.11.2
commands:
- "cp -r ./bin/* ./package/"
when:
event:
- tag
ref:
include:
- "refs/tags/*"
- name: github_binary_prerelease
pull: default
image: plugins/github-release
settings:
api_key:
from_secret: github_token
checksum:
- sha256
files:
- "build/bin/rke_*"
prerelease: true
title: "Pre-release ${DRONE_TAG}"
when:
instance:
include:
- drone-publish.rancher.io
event:
- tag
ref:
include:
- "refs/tags/*rc*"
- "refs/tags/*alpha*"
- name: github_binary_release
pull: default
image: plugins/github-release
settings:
checksum:
- sha256
files:
- "build/bin/rke_*"
api_key:
from_secret: github_token
title: "Release ${DRONE_TAG}"
when:
instance:
include:
- drone-publish.rancher.io
event:
- tag
ref:
exclude:
- "refs/tags/*rc*"
- "refs/tags/*alpha*"
volumes:
- name: socket
host:
path: /var/run/docker.sock
---
kind: pipeline
name: test-cni
platform:
os: linux
arch: amd64
steps:
- name: build
pull: default
image: rancher/dapper:1.11.2
commands:
- dapper build
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- pull_request
- tag
- name: integration-flannel
pull: default
image: rancher/dapper:1.11.2
commands:
- dapper integration flannel
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- pull_request
- tag
- name: integration-calico
pull: default
image: rancher/dapper:1.11.2
commands:
- dapper integration calico
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- pull_request
- tag
- name: integration-weave
pull: default
image: rancher/dapper:1.11.2
commands:
- dapper integration weave
privileged: true
volumes:
- name: socket
path: /var/run/docker.sock
when:
event:
- pull_request
- tag
volumes:
- name: socket
host:
path: /var/run/docker.sock
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。