chore: remove microbadge url

This commit is contained in:
Bo-Yi Wu 2019-10-16 23:40:46 +08:00
parent 2460d07c68
commit 92c02439fa
2 changed files with 15 additions and 30 deletions

View File

@ -85,7 +85,7 @@ steps:
pull: always pull: always
image: golang:1.13 image: golang:1.13
commands: commands:
- "go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush" - go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
when: when:
@ -97,7 +97,7 @@ steps:
pull: always pull: always
image: golang:1.13 image: golang:1.13
commands: commands:
- "go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush" - go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/amd64/gorush
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
when: when:
@ -145,8 +145,8 @@ steps:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- "refs/pull/**" - refs/pull/**
- "refs/tags/**" - refs/tags/**
depends_on: depends_on:
- testing - testing
@ -164,7 +164,7 @@ steps:
pull: always pull: always
image: golang:1.13 image: golang:1.13
commands: commands:
- "go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush" - go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
when: when:
@ -176,7 +176,7 @@ steps:
pull: always pull: always
image: golang:1.13 image: golang:1.13
commands: commands:
- "go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush" - go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm64/gorush
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
when: when:
@ -224,8 +224,8 @@ steps:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- "refs/pull/**" - refs/pull/**
- "refs/tags/**" - refs/tags/**
depends_on: depends_on:
- testing - testing
@ -243,7 +243,7 @@ steps:
pull: always pull: always
image: golang:1.13 image: golang:1.13
commands: commands:
- "go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush" - go build -v -ldflags '-X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
when: when:
@ -255,7 +255,7 @@ steps:
pull: always pull: always
image: golang:1.13 image: golang:1.13
commands: commands:
- "go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush" - go build -v -ldflags '-X main.version=${DRONE_TAG##v} -X main.build=${DRONE_BUILD_NUMBER}' -a -o release/linux/arm/gorush
environment: environment:
CGO_ENABLED: 0 CGO_ENABLED: 0
when: when:
@ -303,8 +303,8 @@ steps:
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- "refs/pull/**" - refs/pull/**
- "refs/tags/**" - refs/tags/**
depends_on: depends_on:
- testing - testing
@ -334,14 +334,14 @@ steps:
api_key: api_key:
from_secret: github_release_api_key from_secret: github_release_api_key
files: files:
- "dist/release/*" - dist/release/*
when: when:
event: event:
- tag - tag
trigger: trigger:
ref: ref:
- "refs/tags/**" - refs/tags/**
depends_on: depends_on:
- testing - testing
@ -366,17 +366,10 @@ steps:
username: username:
from_secret: docker_username from_secret: docker_username
- name: microbadger
pull: always
image: plugins/webhook:1
settings:
url:
from_secret: microbadger_url
trigger: trigger:
ref: ref:
- refs/heads/master - refs/heads/master
- "refs/tags/**" - refs/tags/**
depends_on: depends_on:
- linux-amd64 - linux-amd64

View File

@ -260,14 +260,6 @@
ignore_missing: true, ignore_missing: true,
}, },
}, },
{
name: 'microbadger',
image: 'plugins/webhook:1',
pull: 'always',
settings: {
url: { 'from_secret': 'microbadger_url' },
},
},
], ],
depends_on: depends_on, depends_on: depends_on,
trigger: { trigger: {