2018-03-27 23:47:53 +08:00
|
|
|
pipeline:
|
|
|
|
docker:
|
|
|
|
image: plugins/docker
|
|
|
|
registry: registry.labs.0x.no
|
|
|
|
repo: registry.labs.0x.no/env
|
2018-04-01 21:12:22 +08:00
|
|
|
dockerfile: .dockerfile
|
2018-03-27 23:47:53 +08:00
|
|
|
tags:
|
|
|
|
- latest
|
2018-04-02 12:16:16 +08:00
|
|
|
# tests to ensure they compile independently
|
2018-04-02 12:14:49 +08:00
|
|
|
test-neovim:
|
2018-04-02 13:25:33 +08:00
|
|
|
group: test
|
2018-04-02 12:14:49 +08:00
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/neovim.sh
|
2018-04-02 13:11:03 +08:00
|
|
|
- nvim -version
|
|
|
|
- nvim +checkhealth +qa
|
2018-04-02 12:14:49 +08:00
|
|
|
test-yadm:
|
2018-04-02 13:25:33 +08:00
|
|
|
group: test
|
2018-04-02 12:14:49 +08:00
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/yadm.sh
|
2018-04-02 15:11:01 +08:00
|
|
|
- yadm version
|
2018-04-02 12:14:49 +08:00
|
|
|
test-golang:
|
2018-04-02 13:25:33 +08:00
|
|
|
group: test
|
2018-04-02 12:14:49 +08:00
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/golang.sh
|
2018-04-02 13:11:03 +08:00
|
|
|
- export PATH=/usr/local/go/bin:$PATH
|
|
|
|
- go version
|
2018-04-02 15:11:01 +08:00
|
|
|
- go get github.com/golang/example/hello
|
|
|
|
- $HOME/go/bin/hello
|
2018-04-02 12:14:49 +08:00
|
|
|
test-node:
|
2018-04-02 13:25:33 +08:00
|
|
|
group: test
|
2018-04-02 12:14:49 +08:00
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/node.sh
|
2018-04-02 15:11:01 +08:00
|
|
|
- node -e "console.log(process.versions)"
|
2018-04-02 12:14:49 +08:00
|
|
|
test-kubectl:
|
2018-04-02 13:25:33 +08:00
|
|
|
group: test
|
2018-04-02 12:14:49 +08:00
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/kubectl.sh
|
2018-04-02 15:11:01 +08:00
|
|
|
- kubectl version -c
|
2018-04-02 13:11:03 +08:00
|
|
|
test-jdk:
|
2018-04-02 13:25:33 +08:00
|
|
|
group: test
|
2018-04-02 13:11:03 +08:00
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/jdk.sh
|
2018-04-02 13:38:51 +08:00
|
|
|
- export PATH=/usr/local/jdk/bin:$PATH
|
2018-04-02 13:11:03 +08:00
|
|
|
- java -version
|