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
|
||||
path: /go
|
||||
commands:
|
||||
- go build ./...
|
||||
- go build -v -race -a ./...
|
||||
|
||||
- name: deploy
|
||||
image: alpine
|
||||
|
@ -44,6 +44,7 @@ steps:
|
|||
from_secret: ZULIP_TOKEN
|
||||
commands:
|
||||
- apk add --no-cache curl
|
||||
- printenv
|
||||
- export ZULIP_STATUS=":prohibited:"
|
||||
- export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}
|
||||
- export SHORT_COMMIT=$${DRONE_COMMIT:0:7}
|
||||
|
@ -66,6 +67,7 @@ steps:
|
|||
from_secret: ZULIP_TOKEN
|
||||
commands:
|
||||
- apk add --no-cache curl
|
||||
- printenv
|
||||
- export ZULIP_STATUS=":check:"
|
||||
- export ZULIP_MESSAGE=$${DRONE_COMMIT_MESSAGE:-2}
|
||||
- export SHORT_COMMIT=$${DRONE_COMMIT:0:7}
|
||||
|
|
|
@ -74,7 +74,7 @@ func GetBytesAsHex(key []byte) []byte {
|
|||
hex.Encode(dst, key)
|
||||
return dst
|
||||
}
|
||||
|
||||
func
|
||||
func GetBytesFromHex(key []byte) []byte {
|
||||
dst := make([]byte, hex.DecodedLen(len(key)))
|
||||
n, err := hex.Decode(dst, key)
|
||||
|
|
Loading…
Reference in New Issue
Block a user