first commit
This commit is contained in:
45
docs/drone.md
Normal file
45
docs/drone.md
Normal file
@@ -0,0 +1,45 @@
|
||||
### 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>
|
||||
|
||||
|
||||
```
|
||||
login with you're git credentials -> https://git.webhosting.rug.nl
|
||||
|
||||
```
|
||||
|
||||
#### Howto build
|
||||
````
|
||||
choose a repository from GIT
|
||||
Enter the build
|
||||
Go to the menu and add the secrets en registry
|
||||
example :
|
||||
docker_username = test
|
||||
docker_password = secret
|
||||
|
||||
````
|
||||
|
||||
#### example drone.yml
|
||||
````
|
||||
cat > .drone.yml <<EOF
|
||||
pipeline:
|
||||
publish:
|
||||
image: plugins/docker
|
||||
secrets: [ docker_username, docker_password ]
|
||||
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
|
||||
port: 25
|
||||
skip_verify: true
|
||||
from: drone@example.org
|
||||
recipients: [ to@example.org ]
|
||||
recipients_only: true
|
||||
when:
|
||||
status: [ success, changed, failure ]
|
||||
EOF
|
||||
````
|
Reference in New Issue
Block a user