1
0
Fork 0

Add tests

main
Ambrose Chua 2018-04-02 12:14:49 +08:00
parent c4616b1af7
commit b8b7a18018
4 changed files with 26 additions and 2 deletions

View File

@ -6,4 +6,26 @@ pipeline:
dockerfile: .dockerfile dockerfile: .dockerfile
tags: tags:
- latest - latest
test-neovim:
image: alpine:latest
commands:
- ./.install/neovim.sh
test-yadm:
image: alpine:latest
commands:
- ./.install/yadm.sh
test-golang:
image: alpine:latest
commands:
- ./.install/golang.sh
test-node:
image: alpine:latest
commands:
- ./.install/node.sh
test-kubectl:
image: alpine:latest
commands:
- ./.install/kubectl.sh

View File

@ -12,6 +12,8 @@ apk add --no-cache --virtual .build-deps \
gcc \ gcc \
musl-dev \ musl-dev \
openssl \ openssl \
wget \
tar \
go go
GOROOT_BOOTSTRAP="$(go env GOROOT)" GOROOT_BOOTSTRAP="$(go env GOROOT)"

View File

@ -8,7 +8,7 @@ echo "Installing kubectl $KUBECTL_VERSION..."
echo echo
apk add --no-cache --virtual .build-deps \ apk add --no-cache --virtual .build-deps \
curl curl
curl -fLo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl curl -fLo /usr/local/bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl
chmod a+x /usr/local/bin/kubectl chmod a+x /usr/local/bin/kubectl

View File

@ -8,7 +8,7 @@ echo "Installing yadm..."
echo echo
apk add --no-cache --virtual .build-deps \ apk add --no-cache --virtual .build-deps \
curl curl
apk add --no-cache \ apk add --no-cache \
git \ git \