2018-04-23 15:39:29 +02:00
|
|
|
---
|
2018-04-24 09:52:38 +02:00
|
|
|
# When the issue below is resolved, we can build the
|
|
|
|
# image that was actually changed.
|
|
|
|
# https://github.com/drone/drone/issues/1021
|
|
|
|
|
2018-04-23 15:39:29 +02:00
|
|
|
pipeline:
|
2018-04-23 16:42:31 +02:00
|
|
|
cinder_controller:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: cinder_controller/Dockerfile
|
|
|
|
context: cinder_controller
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-cinder-controller
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
cinder_storage:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: cinder_storage/Dockerfile
|
|
|
|
context: cinder_storage
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
2018-04-23 16:56:06 +02:00
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-cinder-storage
|
2018-04-23 16:42:31 +02:00
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
glance:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: glance/Dockerfile
|
|
|
|
context: glance
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-glance
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
heat:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: heat/Dockerfile
|
|
|
|
context: heat
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-heat
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
horizon:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: horizon/Dockerfile
|
|
|
|
context: horizon
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-horizon
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
keystone:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: keystone/Dockerfile
|
|
|
|
context: keystone
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-keystone
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
neutron_controller:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: neutron_controller/Dockerfile
|
|
|
|
context: neutron_controller
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-neutron-controller
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
nova_service:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: nova_service/Dockerfile
|
|
|
|
context: nova_service
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-nova-service
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-04-23 16:42:31 +02:00
|
|
|
nova_compute:
|
2018-04-23 15:39:29 +02:00
|
|
|
image: plugins/docker
|
2018-04-23 15:57:57 +02:00
|
|
|
dockerfile: nova_compute/Dockerfile
|
2018-04-23 16:42:31 +02:00
|
|
|
context: nova_compute
|
2018-04-23 15:39:29 +02:00
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-nova-compute
|
|
|
|
tag: latest
|
2018-04-24 09:52:38 +02:00
|
|
|
when:
|
|
|
|
branch: master
|
2018-08-09 13:19:25 +02:00
|
|
|
horizon_merlin:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: horizon/Dockerfile
|
|
|
|
context: horizon
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-horizon-merlin
|
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: merlin
|
2018-04-24 09:52:38 +02:00
|
|
|
neutron_controller_merlin:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: neutron_controller/Dockerfile
|
|
|
|
context: neutron_controller
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-neutron-controller-merlin
|
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: merlin
|
|
|
|
cinder_storage_merlin:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: cinder_storage/Dockerfile
|
|
|
|
context: cinder_storage
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-cinder-storage-merlin
|
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: merlin
|
|
|
|
nova_compute_merlin:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: nova_compute/Dockerfile
|
|
|
|
context: nova_compute
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-nova-compute-merlin
|
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: merlin
|
|
|
|
glance_merlin:
|
|
|
|
image: plugins/docker
|
|
|
|
dockerfile: glance/Dockerfile
|
|
|
|
context: glance
|
|
|
|
secrets: [docker_username, docker_password]
|
|
|
|
registry: registry.webhosting.rug.nl
|
|
|
|
repo: registry.webhosting.rug.nl/hpc/openstack-glance-merlin
|
|
|
|
tag: latest
|
|
|
|
when:
|
|
|
|
branch: merlin
|
2018-04-23 15:39:29 +02:00
|
|
|
notify:
|
|
|
|
image: drillster/drone-email
|
|
|
|
host: smtp.rug.nl
|
|
|
|
port: 25
|
|
|
|
skip_verify: true
|
|
|
|
from: drone@webhosting.rug.nl
|
2018-04-24 09:52:38 +02:00
|
|
|
# recipients: [e.m.a.rijpkema@rug.nl, w.k.nap@rug.nl]
|
2018-04-23 16:42:31 +02:00
|
|
|
recipients: [e.m.a.rijpkema@rug.nl]
|
2018-04-23 15:39:29 +02:00
|
|
|
recipients_only: true
|
|
|
|
when:
|
|
|
|
status: [success, changed, failure]
|
|
|
|
# slack:
|
|
|
|
# image: plugins/slack
|
|
|
|
# webhook:
|
|
|
|
# channel: docker
|
|
|
|
# when:
|
|
|
|
# branch: [master, merlin]
|
|
|
|
# status: [success, failure]
|