devops - drone test failure build
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
945c092b61
commit
11906a9d02
|
@ -18,7 +18,7 @@ steps:
|
||||||
- name: deps
|
- name: deps
|
||||||
path: /go
|
path: /go
|
||||||
commands:
|
commands:
|
||||||
- go build ./...
|
- go build -v -race -a ./...
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: alpine
|
image: alpine
|
||||||
|
@ -44,6 +44,7 @@ steps:
|
||||||
from_secret: ZULIP_TOKEN
|
from_secret: ZULIP_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache curl
|
- apk add --no-cache curl
|
||||||
|
- printenv
|
||||||
- export ZULIP_STATUS=":prohibited:"
|
- export ZULIP_STATUS=":prohibited:"
|
||||||
- export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}
|
- export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}
|
||||||
- export SHORT_COMMIT=$${DRONE_COMMIT:0:7}
|
- export SHORT_COMMIT=$${DRONE_COMMIT:0:7}
|
||||||
|
@ -66,6 +67,7 @@ steps:
|
||||||
from_secret: ZULIP_TOKEN
|
from_secret: ZULIP_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- apk add --no-cache curl
|
- apk add --no-cache curl
|
||||||
|
- printenv
|
||||||
- export ZULIP_STATUS=":check:"
|
- export ZULIP_STATUS=":check:"
|
||||||
- export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}
|
- export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}
|
||||||
- export SHORT_COMMIT=$${DRONE_COMMIT:0:7}
|
- export SHORT_COMMIT=$${DRONE_COMMIT:0:7}
|
||||||
|
|
|
@ -74,7 +74,7 @@ func GetBytesAsHex(key []byte) []byte {
|
||||||
hex.Encode(dst, key)
|
hex.Encode(dst, key)
|
||||||
return dst
|
return dst
|
||||||
}
|
}
|
||||||
|
func
|
||||||
func GetBytesFromHex(key []byte) []byte {
|
func GetBytesFromHex(key []byte) []byte {
|
||||||
dst := make([]byte, hex.DecodedLen(len(key)))
|
dst := make([]byte, hex.DecodedLen(len(key)))
|
||||||
n, err := hex.Decode(dst, key)
|
n, err := hex.Decode(dst, key)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user