1
0
Fork 0
env/.drone.yml

130 lines
2.3 KiB
YAML

kind: pipeline
name: default
steps:
- name: docker
image: plugins/docker
settings:
registry: registry.makerforce.io
repo: registry.makerforce.io/ambrose/env
dockerfile: .dockerfile
tags:
- latest
username:
from_secret: docker_username
password:
from_secret: docker_password
- name: slack
image: plugins/slack
settings:
webhook:
from_secret: slack_webhook
when:
status: [ failure, success ]
---
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
- export CGO_ENABLED=0
- go get github.com/golang/example/hello
- $HOME/go/bin/hello
---
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
---
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:
- name: test-kubctl
image: alpine:latest
commands:
- ./.install/sudo.sh
- ./.install/kubectl.sh
- ~/.local/bin/kubectl version -c