This commit is contained in:
Sean OMeara 2023-03-29 07:19:08 +02:00
parent c772859c8d
commit abe16bcb07
No known key found for this signature in database
GPG key ID: 7215FDCD4EFD5E2F
2 changed files with 16 additions and 15 deletions

View file

@ -29,7 +29,8 @@ local targets = [
// { "os": "linux", distro: "redhat", "name": "el9", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] }, // { "os": "linux", distro: "redhat", "name": "el9", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },
// { "os": "linux", distro: "redhat", "name": "el8", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] }, // { "os": "linux", distro: "redhat", "name": "el8", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },
// { "os": "linux", distro: "redhat", "name": "el7", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] }, // { "os": "linux", distro: "redhat", "name": "el7", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },
{ "os": "linux", distro: "redhat", "name": "el6", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] }, // { "os": "linux", distro: "redhat", "name": "el6", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },
{ "os": "linux", distro: "redhat", "name": "el5", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },
// { "os": "linux", distro: "ubuntu", "name": "jammy", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] }, // { "os": "linux", distro: "ubuntu", "name": "jammy", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },
// { "os": "linux", distro: "ubuntu", "name": "jessie", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] }, // { "os": "linux", distro: "ubuntu", "name": "jessie", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },
// { "os": "windows", distro: "windows", "name": "windows", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] }, // { "os": "windows", distro: "windows", "name": "windows", "isas": [ "amd64" ], "events": [ "push", "tag", "custom" ] },

View file

@ -2,27 +2,27 @@
clone: clone:
depth: 1 depth: 1
kind: pipeline kind: pipeline
name: el6 amd64 build name: el5 amd64 build
platform: platform:
os: linux os: linux
pull: always pull: always
steps: steps:
- commands: - commands:
- ./ci/scripts/build.sh el6 redhat amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT} - ./ci/scripts/build.sh el5 redhat amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: build name: build
when: when:
event: event:
- push - push
- commands: - commands:
- ./ci/scripts/build.sh el6 redhat amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT} - ./ci/scripts/build.sh el5 redhat amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: release name: release
when: when:
event: event:
- tag - tag
- commands: - commands:
- ./ci/scripts/publish.sh el6 redhat amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT} - ./ci/scripts/publish.sh el5 redhat amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy build name: copy build
volumes: volumes:
@ -32,7 +32,7 @@ steps:
event: event:
- push - push
- commands: - commands:
- ./ci/scripts/publish.sh el6 redhat amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT} - ./ci/scripts/publish.sh el5 redhat amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: copy relase name: copy relase
volumes: volumes:
@ -58,15 +58,15 @@ volumes:
clone: clone:
depth: 1 depth: 1
depends_on: depends_on:
- el6 amd64 build - el5 amd64 build
kind: pipeline kind: pipeline
name: el6 index name: el5 index
platform: platform:
os: linux os: linux
pull: always pull: always
steps: steps:
- commands: - commands:
- /usr/local/bin/index zerotier-builds redhat el6 amd64 - /usr/local/bin/index zerotier-builds redhat el5 amd64
environment: environment:
GPG_PRIVATE_KEY: GPG_PRIVATE_KEY:
from_secret: gpg-private-key from_secret: gpg-private-key
@ -79,7 +79,7 @@ steps:
event: event:
- push - push
- commands: - commands:
- /usr/local/bin/index zerotier-releases redhat el6 amd64 - /usr/local/bin/index zerotier-releases redhat el5 amd64
environment: environment:
GPG_PRIVATE_KEY: GPG_PRIVATE_KEY:
from_secret: gpg-private-key from_secret: gpg-private-key
@ -108,15 +108,15 @@ volumes:
clone: clone:
depth: 1 depth: 1
depends_on: depends_on:
- el6 index - el5 index
kind: pipeline kind: pipeline
name: el6 amd64 test name: el5 amd64 test
platform: platform:
os: linux os: linux
pull: always pull: always
steps: steps:
- commands: - commands:
- ./ci/scripts/test.sh el6 redhat amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT} - ./ci/scripts/test.sh el5 redhat amd64 100.0.0+${DRONE_COMMIT_SHA:0:8} ${DRONE_BUILD_EVENT}
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: test build name: test build
volumes: volumes:
@ -126,7 +126,7 @@ steps:
event: event:
- push - push
- commands: - commands:
- ./ci/scripts/test.sh el6 redhat amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT} - ./ci/scripts/test.sh el5 redhat amd64 ${DRONE_TAG} ${DRONE_BUILD_EVENT}
image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder image: 084037375216.dkr.ecr.us-east-2.amazonaws.com/honda-builder
name: test release name: test release
volumes: volumes:
@ -150,6 +150,6 @@ volumes:
name: zerotier-releases name: zerotier-releases
--- ---
kind: signature kind: signature
hmac: 0c18860540ec23fe2a3d081f5b76e75f61b9a8258cc82eda98950242e84ab1ec hmac: ae0cda8013ad7f0832be07ef67b5742e7c0e07f0df26c9995eb95f9b993181b7
... ...