2019-01-20 22:51:59 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: testing
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: vet
|
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- go vet ./...
|
|
|
|
environment:
|
|
|
|
GO111MODULE: on
|
|
|
|
|
|
|
|
- name: test
|
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- go test -cover ./...
|
|
|
|
environment:
|
|
|
|
GO111MODULE: on
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-01-21 00:05:01 +00:00
|
|
|
name: linux-amd64-docker
|
2019-01-20 22:51:59 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
|
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-docker ./cmd/drone-docker"
|
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-amd64
|
|
|
|
settings:
|
|
|
|
dockerfile: docker/docker/Dockerfile.linux.amd64
|
|
|
|
dry_run: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/docker
|
|
|
|
tags: linux-amd64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-amd64
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
dockerfile: docker/docker/Dockerfile.linux.amd64
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2016-05-03 23:17:16 +00:00
|
|
|
repo: plugins/docker
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-arm64-docker
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-docker ./cmd/drone-docker"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/docker/Dockerfile.linux.arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/docker
|
|
|
|
tags: linux-arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2019-01-21 00:05:01 +00:00
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
dockerfile: docker/docker/Dockerfile.linux.arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/docker
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-arm-docker
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-docker ./cmd/drone-docker"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-docker ./cmd/drone-docker"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/docker/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/docker
|
|
|
|
tags: linux-arm
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2019-01-21 00:05:01 +00:00
|
|
|
auto_tag_suffix: linux-arm
|
|
|
|
dockerfile: docker/docker/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/docker
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-amd64-gcr
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-gcr ./cmd/drone-gcr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-amd64
|
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/gcr
|
2019-01-20 22:51:59 +00:00
|
|
|
tags: linux-amd64
|
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-amd64
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-amd64
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/gcr
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-01-21 00:05:01 +00:00
|
|
|
name: linux-arm64-gcr
|
2019-01-20 22:51:59 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-gcr ./cmd/drone-gcr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm64
|
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-01-21 00:05:01 +00:00
|
|
|
repo: plugins/gcr
|
2019-01-20 22:51:59 +00:00
|
|
|
tags: linux-arm64
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm64
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-01-21 00:05:01 +00:00
|
|
|
repo: plugins/gcr
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-arm-gcr
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-gcr ./cmd/drone-gcr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-gcr ./cmd/drone-gcr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/gcr
|
|
|
|
tags: linux-arm
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2019-01-21 00:05:01 +00:00
|
|
|
auto_tag_suffix: linux-arm
|
|
|
|
dockerfile: docker/gcr/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/gcr
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-amd64-ecr
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-ecr ./cmd/drone-ecr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/ecr
|
|
|
|
tags: linux-amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2019-01-21 00:05:01 +00:00
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/ecr
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-arm64-ecr
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr"
|
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-ecr ./cmd/drone-ecr"
|
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm64
|
|
|
|
settings:
|
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.arm64
|
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
2019-01-20 22:51:59 +00:00
|
|
|
repo: plugins/ecr
|
|
|
|
tags: linux-arm64
|
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm64
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.arm64
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
2019-01-20 22:51:59 +00:00
|
|
|
repo: plugins/ecr
|
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-01-21 00:05:01 +00:00
|
|
|
name: linux-arm-ecr
|
2019-01-20 22:51:59 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-ecr ./cmd/drone-ecr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-ecr ./cmd/drone-ecr"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm
|
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-01-21 00:05:01 +00:00
|
|
|
repo: plugins/ecr
|
2019-01-20 22:51:59 +00:00
|
|
|
tags: linux-arm
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/ecr/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
2019-01-21 00:05:01 +00:00
|
|
|
repo: plugins/ecr
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-amd64-heroku
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/amd64/drone-heroku ./cmd/drone-heroku"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/heroku/Dockerfile.linux.amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
2019-01-20 22:51:59 +00:00
|
|
|
repo: plugins/heroku
|
2019-01-21 00:05:01 +00:00
|
|
|
tags: linux-amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2019-01-21 00:05:01 +00:00
|
|
|
auto_tag_suffix: linux-amd64
|
|
|
|
dockerfile: docker/heroku/Dockerfile.linux.amd64
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
2019-01-20 22:51:59 +00:00
|
|
|
repo: plugins/heroku
|
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-arm64-heroku
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm64/drone-heroku ./cmd/drone-heroku"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/heroku/Dockerfile.linux.arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/heroku
|
|
|
|
tags: linux-arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
2019-01-21 00:05:01 +00:00
|
|
|
image: plugins/docker:linux-arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
settings:
|
|
|
|
auto_tag: true
|
2019-01-21 00:05:01 +00:00
|
|
|
auto_tag_suffix: linux-arm64
|
|
|
|
dockerfile: docker/heroku/Dockerfile.linux.arm64
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/heroku
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: linux-arm-heroku
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: arm
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-push
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-heroku ./cmd/drone-heroku"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: build-tag
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: golang:1.11
|
|
|
|
commands:
|
2019-01-21 00:05:01 +00:00
|
|
|
- "go build -v -ldflags \"-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}\" -a -tags netgo -o release/linux/arm/drone-heroku ./cmd/drone-heroku"
|
2019-01-20 22:51:59 +00:00
|
|
|
environment:
|
|
|
|
CGO_ENABLED: 0
|
|
|
|
GO111MODULE: on
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: dryrun
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm
|
|
|
|
settings:
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/heroku/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
dry_run: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/heroku
|
2019-01-20 22:51:59 +00:00
|
|
|
tags: linux-arm
|
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- pull_request
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: publish
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/docker:linux-arm
|
|
|
|
settings:
|
|
|
|
auto_tag: true
|
|
|
|
auto_tag_suffix: linux-arm
|
2019-01-21 00:05:01 +00:00
|
|
|
dockerfile: docker/heroku/Dockerfile.linux.arm
|
2019-01-20 22:51:59 +00:00
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
repo: plugins/heroku
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- testing
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
2019-01-21 00:05:01 +00:00
|
|
|
name: notifications-docker
|
2019-01-20 22:51:59 +00:00
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: manifest
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/manifest:1
|
|
|
|
settings:
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/docker/manifest.tmpl
|
|
|
|
username:
|
|
|
|
from_secret: docker_username
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: microbadger
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/webhook:1
|
|
|
|
settings:
|
|
|
|
url:
|
|
|
|
from_secret: microbadger_docker
|
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- linux-amd64-docker
|
|
|
|
- linux-arm64-docker
|
|
|
|
- linux-arm-docker
|
|
|
|
|
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: notifications-gcr
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/manifest:1
|
|
|
|
settings:
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/gcr/manifest.tmpl
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: microbadger
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/webhook:1
|
|
|
|
settings:
|
|
|
|
url:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: microbadger_docker
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- linux-amd64-gcr
|
|
|
|
- linux-arm64-gcr
|
|
|
|
- linux-arm-gcr
|
2019-01-20 22:51:59 +00:00
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: notifications-ecr
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/manifest:1
|
|
|
|
settings:
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/ecr/manifest.tmpl
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: microbadger
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/webhook:1
|
|
|
|
settings:
|
|
|
|
url:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: microbadger_docker
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
- linux-amd64-ecr
|
|
|
|
- linux-arm64-ecr
|
|
|
|
- linux-arm-ecr
|
2019-01-20 22:51:59 +00:00
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
name: notifications-heroku
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: manifest
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/manifest:1
|
|
|
|
settings:
|
|
|
|
ignore_missing: true
|
|
|
|
password:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_password
|
|
|
|
spec: docker/heroku/manifest.tmpl
|
2019-01-20 22:51:59 +00:00
|
|
|
username:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: docker_username
|
2019-01-20 22:51:59 +00:00
|
|
|
|
2019-01-21 00:05:01 +00:00
|
|
|
- name: microbadger
|
2019-01-20 22:51:59 +00:00
|
|
|
pull: always
|
|
|
|
image: plugins/webhook:1
|
|
|
|
settings:
|
|
|
|
url:
|
2019-01-21 00:05:01 +00:00
|
|
|
from_secret: microbadger_docker
|
2019-01-20 22:51:59 +00:00
|
|
|
|
|
|
|
trigger:
|
|
|
|
branch:
|
|
|
|
- master
|
|
|
|
event:
|
|
|
|
- push
|
|
|
|
- tag
|
|
|
|
|
|
|
|
depends_on:
|
2019-01-21 00:05:01 +00:00
|
|
|
- linux-amd64-heroku
|
|
|
|
- linux-arm64-heroku
|
|
|
|
- linux-arm-heroku
|
2019-01-20 22:51:59 +00:00
|
|
|
|
|
|
|
...
|