update
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
### Drone is a Continuous Delivery platform built on Docker
|
||||
|
||||
URL : <a href="https://drone.webhosting.rug.nl" target="_blank">https://drone.webhosting.rug.nl</a>
|
||||
URL : <a href="https://drone.web.rug.nl" target="_blank">https://drone.web.rug.nl</a>
|
||||
|
||||
|
||||
```
|
||||
login with you're git credentials -> https://git.webhosting.rug.nl
|
||||
login with you're git credentials -> https://git.web.rug.nl
|
||||
|
||||
```
|
||||
|
||||
@@ -22,24 +22,37 @@ example :
|
||||
#### example drone.yml
|
||||
````
|
||||
cat > .drone.yml <<EOF
|
||||
pipeline:
|
||||
publish:
|
||||
image: plugins/docker
|
||||
secrets: [ docker_username, docker_password ]
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: drone
|
||||
|
||||
steps:
|
||||
- name: docker
|
||||
image: plugins/docker
|
||||
settings:
|
||||
registry: registry.webhosting.rug.nl
|
||||
repo: registry.webhosting.rug.nl/webhosting/debian-web5
|
||||
file: Dockerfile
|
||||
tag:
|
||||
- latest
|
||||
notify:
|
||||
image: drillster/drone-email
|
||||
host: mail-server
|
||||
repo: registry.webhosting.rug.nl/services/ssh-server-autofs
|
||||
autotag: true
|
||||
auto_tag_suffix: ssh
|
||||
purge: true
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
- name: notify
|
||||
image: drillster/drone-email
|
||||
settings:
|
||||
host: smtp.rug.nl
|
||||
port: 25
|
||||
skip_verify: true
|
||||
from: drone@example.org
|
||||
recipients: [ to@example.org ]
|
||||
recipients_only: true
|
||||
when:
|
||||
status: [ success, changed, failure ]
|
||||
from: drone@web.rug.nl
|
||||
recipients:
|
||||
- p.h.vos@rug.nl
|
||||
- webhosting.cit@rug.nl
|
||||
- name: notify-slack
|
||||
image: plugins/slack
|
||||
settings:
|
||||
webhook: https://hooks.slack.com/services/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
|
||||
channel: builds
|
||||
EOF
|
||||
````
|
||||
|
Reference in New Issue
Block a user