ZeroTierOne/.drone.yml

466 lines
9.8 KiB
YAML
Raw Permalink Normal View History

2022-02-03 13:19:06 +00:00
---
2022-05-14 08:08:22 +00:00
clone:
depth: 1
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye 386 build
2023-03-31 14:29:18 +00:00
platform:
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian 386 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: build
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian 386 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: release
when:
event:
- tag
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian 386 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy build
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian 386 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy relase
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
- custom
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye armv7 build
2023-03-31 14:29:18 +00:00
platform:
arch: arm64
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian armv7 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: build
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian armv7 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: release
when:
event:
- tag
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian armv7 100.0.0+${DRONE_COMMIT_SHA:0:8}
${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy build
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian armv7 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy relase
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
- custom
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye amd64 build
2023-03-31 14:29:18 +00:00
platform:
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: build
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: release
when:
event:
- tag
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian amd64 100.0.0+${DRONE_COMMIT_SHA:0:8}
${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy build
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy relase
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
- custom
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye arm64 build
2023-03-31 14:29:18 +00:00
platform:
2023-07-18 08:57:38 +00:00
arch: arm64
2023-03-31 14:29:18 +00:00
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian arm64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: build
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/build.sh bullseye debian arm64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: release
when:
event:
- tag
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian arm64 100.0.0+${DRONE_COMMIT_SHA:0:8}
${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy build
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/publish.sh bullseye debian arm64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy relase
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
- custom
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
depends_on:
2023-07-18 08:57:38 +00:00
- bullseye 386 build
- bullseye armv7 build
- bullseye amd64 build
- bullseye arm64 build
2023-03-31 14:29:18 +00:00
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye index
2023-03-31 14:29:18 +00:00
platform:
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- /usr/local/bin/index zerotier-builds debian bullseye 386 armv7 amd64 arm64
2023-03-31 14:29:18 +00:00
environment:
GPG_PRIVATE_KEY:
from_secret: gpg-private-key
2023-07-18 08:57:38 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/apt-builder
2023-03-31 14:29:18 +00:00
name: index build
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- /usr/local/bin/index zerotier-releases debian bullseye 386 armv7 amd64 arm64
2023-03-31 14:29:18 +00:00
environment:
GPG_PRIVATE_KEY:
from_secret: gpg-private-key
2023-07-18 08:57:38 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/apt-builder
2023-03-31 14:29:18 +00:00
name: index release
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
- custom
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
2023-07-18 08:57:38 +00:00
depends_on:
- bullseye index
2023-03-31 14:29:18 +00:00
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye 386 test
2023-03-31 14:29:18 +00:00
platform:
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian 386 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test build
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian 386 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test release
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
2023-07-18 08:57:38 +00:00
- custom
2023-03-31 14:29:18 +00:00
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
2023-07-18 08:57:38 +00:00
depends_on:
- bullseye index
2023-03-31 14:29:18 +00:00
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye armv7 test
2023-03-31 14:29:18 +00:00
platform:
arch: arm64
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian armv7 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test build
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian armv7 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test release
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
2023-07-18 08:57:38 +00:00
- custom
2023-03-31 14:29:18 +00:00
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
2023-07-18 08:57:38 +00:00
depends_on:
- bullseye index
2023-03-31 14:29:18 +00:00
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye amd64 test
2023-03-31 14:29:18 +00:00
platform:
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test build
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test release
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2023-03-31 14:29:18 +00:00
- tag
2023-07-18 08:57:38 +00:00
- custom
2023-03-31 14:29:18 +00:00
type: docker
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
clone:
depth: 1
depends_on:
2023-07-18 08:57:38 +00:00
- bullseye index
2023-03-31 14:29:18 +00:00
kind: pipeline
2023-07-18 08:57:38 +00:00
name: bullseye arm64 test
2023-03-31 14:29:18 +00:00
platform:
2023-07-18 08:57:38 +00:00
arch: arm64
2023-03-31 14:29:18 +00:00
os: linux
pull: always
steps:
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian arm64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test build
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-builds
path: /zerotier-builds
when:
event:
- push
- commands:
2023-07-18 08:57:38 +00:00
- ./ci/scripts/test.sh bullseye debian arm64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
2023-03-31 14:29:18 +00:00
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
2023-07-18 08:57:38 +00:00
name: test release
2023-03-31 14:29:18 +00:00
volumes:
- name: zerotier-releases
path: /zerotier-releases
when:
event:
- tag
2022-05-14 08:08:22 +00:00
trigger:
event:
2023-07-18 08:57:38 +00:00
- push
2022-05-14 08:08:22 +00:00
- tag
2023-07-18 08:57:38 +00:00
- custom
2022-05-14 08:08:22 +00:00
type: docker
2023-03-31 14:29:18 +00:00
volumes:
- host:
path: /zerotier-builds
name: zerotier-builds
- host:
path: /zerotier-releases
name: zerotier-releases
---
kind: signature
2023-07-18 08:57:38 +00:00
hmac: 887a3ef78d3fe8f0149911e1e4876401dd7dd313b36eb893e791fa42f45d7768
2023-03-31 14:29:18 +00:00
...