1
0
Fork 0
env/.drone.yml

49 lines
1.0 KiB
YAML
Raw Normal View History

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 13:11:03 +08:00
- yadm
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 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 13:11:03 +08:00
- node --version
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 13:11:03 +08:00
- kubectl version
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