2018-03-27 23:47:53 +08:00
|
|
|
pipeline:
|
|
|
|
docker:
|
|
|
|
image: plugins/docker
|
2018-09-22 11:39:50 +08:00
|
|
|
registry: registry.makerforce.io
|
|
|
|
repo: registry.makerforce.io/ambrose/env
|
2018-04-01 21:12:22 +08:00
|
|
|
dockerfile: .dockerfile
|
2018-03-27 23:47:53 +08:00
|
|
|
tags:
|
|
|
|
- latest
|
2018-04-02 15:35:54 +08:00
|
|
|
slack:
|
|
|
|
image: plugins/slack
|
|
|
|
secrets: [ slack_webhook ]
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
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 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
2018-04-02 23:41:43 +08:00
|
|
|
test-pure:
|
|
|
|
group: test
|
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/pure.sh
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
2018-04-02 23:05:10 +08:00
|
|
|
test-thefuck:
|
|
|
|
group: test
|
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/thefuck.sh
|
|
|
|
- thefuck -v
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
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 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
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
|
|
|
- go version
|
2018-04-02 15:11:01 +08:00
|
|
|
- go get github.com/golang/example/hello
|
|
|
|
- $HOME/go/bin/hello
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
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 23:41:43 +08:00
|
|
|
- yarn --version
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
2018-04-02 23:41:43 +08:00
|
|
|
test-python:
|
2018-04-02 13:25:33 +08:00
|
|
|
group: test
|
2018-04-02 12:14:49 +08:00
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
2018-04-02 23:41:43 +08:00
|
|
|
- ./.install/python.sh
|
|
|
|
- python3 --version
|
|
|
|
- pip3 --version
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
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
|
|
|
|
- java -version
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|
2018-04-02 23:41:43 +08:00
|
|
|
test-kubectl:
|
|
|
|
group: test
|
|
|
|
image: alpine:latest
|
|
|
|
commands:
|
|
|
|
- ./.install/kubectl.sh
|
|
|
|
- kubectl version -c
|
2018-04-02 23:49:56 +08:00
|
|
|
when:
|
|
|
|
status: [ failure, success ]
|