1
0
Fork 0
env/.drone.yml

206 lines
3.7 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:
2019-01-15 23:57:09 +08:00
- ./.install/neovim-source.sh
- nvim -version
- nvim +checkhealth +qa
- name: test-plug
image: alpine:latest
commands:
- ./.install/neovim-source.sh
2018-12-01 00:56:30 +08:00
- nvim -version
- nvim +checkhealth +qa
2019-01-15 23:57:09 +08:00
./.install/core.sh
./.install/plug.sh
---
kind: pipeline
name: test-python
steps:
- name: test-python
image: alpine:latest
commands:
- ./.install/python.sh
- python3 --version
- pip3 --version
---
kind: pipeline
name: test-golang
steps:
- name: test-golang
image: alpine:latest
commands:
- ./.install/golang-source.sh
- go version
- name: test-packr
image: alpine:latest
commands:
- ./.install/golang-source.sh
- ./.install/packr.sh
- name: test-caddy
image: alpine:latest
commands:
- ./.install/golang-source.sh
- ./.install/caddy.sh
---
kind: pipeline
name: test-node
steps:
- name: test-node
image: alpine:latest
commands:
- ./.install/node-source.sh
- node -e "console.log(process.versions)"
- name: test-yarn
image: alpine:latest
commands:
- ./.install/node-source.sh
- ./.install/core.sh
- ./.install/gnupg.sh
- ./.install/yarn.sh
- ~/.local/bin/yarn --version
---
kind: pipeline
name: test-jdk
steps:
- name: test-jdk
image: alpine:latest
commands:
- ./.install/jdk.sh
- java -version
---
kind: pipeline
name: test-dircolors
steps:
- name: test-dircolors
image: alpine:latest
commands:
2019-01-16 09:31:45 +08:00
- ./.install/core.sh
2019-01-15 23:57:09 +08:00
- ./.install/dircolors.sh
2018-12-01 00:56:30 +08:00
---
kind: pipeline
name: test-pure
steps:
- name: test-pure
image: alpine:latest
commands:
2019-01-16 09:31:45 +08:00
- ./.install/core.sh
2018-12-01 00:56:30 +08:00
- ./.install/pure.sh
---
kind: pipeline
name: test-thefuck
steps:
- name: test-thefuck
image: alpine:latest
commands:
2019-01-16 09:31:45 +08:00
- ./.install/python.sh
2018-12-01 00:56:30 +08:00
- ./.install/sudo.sh
- ./.install/thefuck.sh
- ~/.local/bin/thefuck -v
---
kind: pipeline
2019-01-15 23:57:09 +08:00
name: test-zsh-autosuggestions
2018-12-01 00:56:30 +08:00
steps:
2019-01-15 23:57:09 +08:00
- name: test-zsh-autosuggestions
2018-12-01 00:56:30 +08:00
image: alpine:latest
commands:
2019-01-16 09:31:45 +08:00
- ./.install/git.sh
2019-01-15 23:57:09 +08:00
- ./.install/zsh-autosuggestions.sh
2018-12-01 00:56:30 +08:00
---
kind: pipeline
2019-01-15 23:57:09 +08:00
name: test-zsh-syntax-highlighting
2018-12-01 00:56:30 +08:00
steps:
2019-01-15 23:57:09 +08:00
- name: test-zsh-syntax-highlighting
2018-12-01 00:56:30 +08:00
image: alpine:latest
commands:
2019-01-16 09:31:45 +08:00
- ./.install/git.sh
2019-01-15 23:57:09 +08:00
- ./.install/zsh-syntax-highlighting.sh
2018-12-01 00:56:30 +08:00
---
kind: pipeline
2019-01-15 23:57:09 +08:00
name: test-yadm
2018-12-01 00:56:30 +08:00
steps:
2019-01-15 23:57:09 +08:00
- name: test-yadm
2018-12-01 00:56:30 +08:00
image: alpine:latest
commands:
2019-01-15 23:57:09 +08:00
- ./.install/core.sh
- ./.install/yadm.sh
- ~/.local/bin/yadm version
2018-12-01 00:56:30 +08:00
---
kind: pipeline
2019-01-15 23:57:09 +08:00
name: test-pass
2018-12-01 00:56:30 +08:00
steps:
2019-01-15 23:57:09 +08:00
- name: test-pass
2018-12-01 00:56:30 +08:00
image: alpine:latest
commands:
- ./.install/repositories.sh
2019-01-15 23:57:09 +08:00
- ./.install/sudo.sh
- ./.install/pass.sh
- pass version
2018-12-01 00:56:30 +08:00
---
kind: pipeline
2019-01-15 23:57:09 +08:00
name: test-httpie
2018-12-01 00:56:30 +08:00
steps:
2019-01-15 23:57:09 +08:00
- name: test-httpie
2018-12-01 00:56:30 +08:00
image: alpine:latest
commands:
- ./.install/python.sh
2019-01-15 23:57:09 +08:00
- ./.install/httpie.sh
2019-01-16 09:31:45 +08:00
- ~/.local/bin/http --version
2018-12-01 00:56:30 +08:00
---
kind: pipeline
2019-01-16 11:27:00 +08:00
name: test-jq
steps:
- name: test-jq
image: alpine:latest
commands:
- ./.install/core.sh
- ./.install/jq.sh
- ~/.local/bin/jq --version
---
kind: pipeline
2018-12-01 00:56:30 +08:00
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:
2019-01-15 23:57:09 +08:00
- ./.install/core.sh
2018-12-01 00:56:30 +08:00
- ./.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:
2019-01-15 23:57:09 +08:00
- ./.install/core.sh
2018-12-02 14:09:42 +08:00
- ./.install/minio-client.sh
- ~/.local/bin/mc version