2019-01-01 08:23:01 +00:00
|
|
|
---
|
2019-01-26 05:10:04 +00:00
|
|
|
kind: pipeline
|
2019-02-05 04:42:35 +00:00
|
|
|
name: amd64
|
2019-01-26 05:10:04 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2019-02-05 04:42:35 +00:00
|
|
|
- name: build
|
2019-07-02 23:13:18 +00:00
|
|
|
image: rancher/dapper:v0.4.2
|
2019-02-05 04:42:35 +00:00
|
|
|
commands:
|
|
|
|
- dapper ci
|
|
|
|
volumes:
|
|
|
|
- name: docker
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
|
|
|
- name: github_binary_release
|
|
|
|
image: ibuildthecloud/github-release:v0.0.1
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: github_token
|
|
|
|
prerelease: true
|
|
|
|
checksum:
|
|
|
|
- sha256
|
|
|
|
checksum_file: CHECKSUMsum-amd64.txt
|
|
|
|
checksum_flatten: true
|
|
|
|
files:
|
|
|
|
- "dist/artifacts/*"
|
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
- name: docker-publish
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
dockerfile: package/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-02-23 03:02:06 +00:00
|
|
|
repo: "rancher/k3s"
|
2019-02-05 04:42:35 +00:00
|
|
|
tag: "${DRONE_TAG}-amd64"
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
2019-01-26 05:10:04 +00:00
|
|
|
|
2019-05-02 20:32:42 +00:00
|
|
|
- name: sonobuoy-e2e-tests
|
2019-07-02 23:13:18 +00:00
|
|
|
image: rancher/dapper:v0.4.2
|
2019-05-02 20:32:42 +00:00
|
|
|
commands:
|
|
|
|
- dapper -f Dockerfile.sonobuoy.dapper
|
|
|
|
volumes:
|
|
|
|
- name: docker
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
2019-05-03 23:47:25 +00:00
|
|
|
- name: github_e2e_logs_release
|
|
|
|
image: ibuildthecloud/github-release:v0.0.1
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: github_token
|
|
|
|
prerelease: true
|
|
|
|
files:
|
|
|
|
- "dist/artifacts/e2e-*.log"
|
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-26 05:10:04 +00:00
|
|
|
volumes:
|
2019-02-05 04:42:35 +00:00
|
|
|
- name: docker
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
2019-01-26 05:10:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-02-05 04:42:35 +00:00
|
|
|
name: arm64
|
2019-01-26 05:10:04 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
2019-02-05 04:42:35 +00:00
|
|
|
- name: build
|
2019-07-02 23:13:18 +00:00
|
|
|
image: rancher/dapper:v0.4.2
|
2019-02-05 04:42:35 +00:00
|
|
|
commands:
|
|
|
|
- dapper ci
|
|
|
|
volumes:
|
|
|
|
- name: docker
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
|
|
|
- name: github_binary_release
|
|
|
|
image: ibuildthecloud/github-release:v0.0.1
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: github_token
|
|
|
|
prerelease: true
|
|
|
|
checksum:
|
|
|
|
- sha256
|
|
|
|
checksum_file: CHECKSUMsum-arm64.txt
|
|
|
|
checksum_flatten: true
|
|
|
|
files:
|
|
|
|
- "dist/artifacts/*"
|
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
- name: docker-publish
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
dockerfile: package/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-02-23 03:02:06 +00:00
|
|
|
repo: "rancher/k3s"
|
2019-02-05 04:42:35 +00:00
|
|
|
tag: "${DRONE_TAG}-arm64"
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
2019-01-01 08:23:01 +00:00
|
|
|
|
2019-01-26 05:10:04 +00:00
|
|
|
volumes:
|
2019-02-05 04:42:35 +00:00
|
|
|
- name: docker
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: arm
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build
|
2019-07-02 23:13:18 +00:00
|
|
|
image: rancher/dapper:v0.4.2
|
2019-02-05 04:42:35 +00:00
|
|
|
commands:
|
|
|
|
- dapper ci
|
|
|
|
volumes:
|
2019-01-26 05:10:04 +00:00
|
|
|
- name: docker
|
2019-02-05 04:42:35 +00:00
|
|
|
path: /var/run/docker.sock
|
|
|
|
|
|
|
|
- name: github_binary_release
|
|
|
|
image: ibuildthecloud/github-release:v0.0.1
|
|
|
|
settings:
|
|
|
|
api_key:
|
|
|
|
from_secret: github_token
|
|
|
|
prerelease: true
|
|
|
|
checksum:
|
|
|
|
- sha256
|
|
|
|
checksum_file: CHECKSUMsum-arm.txt
|
|
|
|
checksum_flatten: true
|
|
|
|
files:
|
|
|
|
- "dist/artifacts/*"
|
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
2019-01-26 05:10:04 +00:00
|
|
|
|
2019-02-05 04:42:35 +00:00
|
|
|
- name: docker-publish
|
|
|
|
image: plugins/docker
|
|
|
|
settings:
|
|
|
|
dockerfile: package/Dockerfile
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-02-23 03:02:06 +00:00
|
|
|
repo: "rancher/k3s"
|
2019-02-05 04:42:35 +00:00
|
|
|
tag: "${DRONE_TAG}-arm"
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: docker
|
|
|
|
host:
|
|
|
|
path: /var/run/docker.sock
|
2019-01-26 05:10:04 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-02-05 04:42:35 +00:00
|
|
|
name: manifest
|
2019-01-26 05:10:04 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
2019-02-05 04:42:35 +00:00
|
|
|
arch: amd64
|
2019-01-26 05:10:04 +00:00
|
|
|
|
|
|
|
steps:
|
2019-02-05 04:42:35 +00:00
|
|
|
- name: manifest
|
|
|
|
image: plugins/manifest:1.0.2
|
|
|
|
settings:
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
platforms:
|
|
|
|
- linux/amd64
|
|
|
|
- linux/arm64
|
|
|
|
- linux/arm
|
2019-02-23 03:02:06 +00:00
|
|
|
target: "rancher/k3s:${DRONE_TAG}"
|
|
|
|
template: "rancher/k3s:${DRONE_TAG}-ARCH"
|
2019-02-05 04:42:35 +00:00
|
|
|
when:
|
|
|
|
instance:
|
|
|
|
- drone-publish.rancher.io
|
|
|
|
ref:
|
|
|
|
- refs/head/master
|
|
|
|
- refs/tags/*
|
|
|
|
event:
|
|
|
|
- tag
|
2019-01-26 05:10:04 +00:00
|
|
|
|
2019-02-05 04:42:35 +00:00
|
|
|
depends_on:
|
|
|
|
- amd64
|
|
|
|
- arm64
|
|
|
|
- arm
|