1
0
Fork 0
env/.drone.yml

137 lines
2.4 KiB
YAML
Raw Normal View History

2018-12-01 00:56:30 +08:00
kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
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:
2018-12-01 00:56:30 +08:00
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: slack
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
2018-12-01 14:54:51 +08:00
when:
status: [ failure, success ]
2018-12-01 00:56:30 +08:00
---
kind: pipeline
name: test-neovim
steps:
- name: test-neovim
image: alpine:latest
commands:
- ./.install/repositories.sh
- ./.install/neovim.sh
- nvim -version
- nvim +checkhealth +qa
---
kind: pipeline
name: test-pure
steps:
- name: test-pure
image: alpine:latest
commands:
- ./.install/sudo.sh
- ./.install/pure.sh
---
kind: pipeline
name: test-thefuck
steps:
- name: test-thefuck
image: alpine:latest
commands:
- ./.install/sudo.sh
- ./.install/thefuck.sh
- ~/.local/bin/thefuck -v
---
kind: pipeline
name: test-yadm
steps:
- name: test-yadm
image: alpine:latest
commands:
- ./.install/sudo.sh
- ./.install/yadm.sh
- ~/.local/bin/yadm version
---
kind: pipeline
name: test-golang
steps:
- name: test-golang
image: alpine:latest
commands:
- ./.install/repositories.sh
- ./.install/golang.sh
- go version
---
kind: pipeline
name: test-node
steps:
- name: test-node
image: alpine:latest
commands:
- ./.install/repositories.sh
- ./.install/node.sh
- node -e "console.log(process.versions)"
---
kind: pipeline
name: test-yarn
steps:
- name: test-yarn
image: alpine:latest
commands:
- ./.install/sudo.sh
- ./.install/repositories.sh
- ./.install/node.sh
- ./.install/yarn.sh
- ~/.local/bin/yarn --version
2018-12-01 00:56:30 +08:00
---
kind: pipeline
name: test-python
steps:
- name: test-python
image: alpine:latest
commands:
- ./.install/python.sh
- python3 --version
- pip3 --version
---
kind: pipeline
name: test-jdk
steps:
- name: test-jdk
image: alpine:latest
commands:
- ./.install/jdk.sh
- java -version
---
kind: pipeline
name: test-kubectl
steps:
2018-12-02 14:09:42 +08:00
- name: test-kubectl
2018-12-01 00:56:30 +08:00
image: alpine:latest
commands:
- ./.install/sudo.sh
- ./.install/kubectl.sh
- ~/.local/bin/kubectl version -c
2018-12-02 14:09:42 +08:00
---
kind: pipeline
name: test-minio-client
steps:
- name: test-minio-client
image: alpine:latest
commands:
- ./.install/sudo.sh
- ./.install/minio-client.sh
- ~/.local/bin/mc version
2018-12-01 00:56:30 +08:00