Compare commits
7 Commits
d51c52d35c
...
master
Author | SHA1 | Date | |
---|---|---|---|
|
0dbcabb4a2 | ||
|
1920804c3c | ||
|
4481b09bbc | ||
|
52db295b69 | ||
|
07def88ceb | ||
|
77c512977f | ||
|
455e10c7ab |
20
.drone.yml
20
.drone.yml
@@ -124,6 +124,16 @@ pipeline:
|
|||||||
tag: latest
|
tag: latest
|
||||||
when:
|
when:
|
||||||
branch: merlin
|
branch: merlin
|
||||||
|
cinder_controller_merlin:
|
||||||
|
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-merlin
|
||||||
|
tag: latest
|
||||||
|
when:
|
||||||
|
branch: mwelin
|
||||||
cinder_storage_merlin:
|
cinder_storage_merlin:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
dockerfile: cinder_storage/Dockerfile
|
dockerfile: cinder_storage/Dockerfile
|
||||||
@@ -154,6 +164,16 @@ pipeline:
|
|||||||
tag: latest
|
tag: latest
|
||||||
when:
|
when:
|
||||||
branch: merlin
|
branch: merlin
|
||||||
|
heat_merlin:
|
||||||
|
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-merlin
|
||||||
|
tag: latest
|
||||||
|
when:
|
||||||
|
branch: merlin
|
||||||
notify:
|
notify:
|
||||||
image: drillster/drone-email
|
image: drillster/drone-email
|
||||||
host: smtp.rug.nl
|
host: smtp.rug.nl
|
||||||
|
@@ -7,6 +7,7 @@ cinder-scheduler -d &
|
|||||||
sleep 5
|
sleep 5
|
||||||
apachectl -DFOREGROUND &
|
apachectl -DFOREGROUND &
|
||||||
|
|
||||||
|
tail -f /var/log/apache2/* &
|
||||||
# If any process fails, kill the rest.
|
# If any process fails, kill the rest.
|
||||||
# This ensures the container stops and systemd will restart it.
|
# This ensures the container stops and systemd will restart it.
|
||||||
|
|
||||||
|
@@ -22,6 +22,6 @@ source /root/admin-openrc.sh
|
|||||||
|
|
||||||
# create a LVM physical volume and volume group.
|
# create a LVM physical volume and volume group.
|
||||||
# This device should be available tpo the container
|
# This device should be available tpo the container
|
||||||
pvcreate /dev/cinder_storage_volume
|
pvcreate $CINDER_STORAGE_VOLUME
|
||||||
vgcreate cinder-volumes /dev/cinder_storage_volume
|
vgcreate cinder-volumes $CINDER_STORAGE_VOLUME
|
||||||
|
|
||||||
|
@@ -9,6 +9,7 @@ cat << EOF > /etc/cinder/cinder.conf
|
|||||||
connection = mysql+pymysql://$CINDER_USER:$CINDER_PASSWORD@$MYSQL_HOST/cinder
|
connection = mysql+pymysql://$CINDER_USER:$CINDER_PASSWORD@$MYSQL_HOST/cinder
|
||||||
|
|
||||||
[DEFAULT]
|
[DEFAULT]
|
||||||
|
storage_availability_zone="$AVAILABILITY_ZONE"
|
||||||
auth_strategy = keystone
|
auth_strategy = keystone
|
||||||
transport_url = rabbit://$RABBIT_USER:$RABBIT_PASSWORD@$RABBIT_HOST
|
transport_url = rabbit://$RABBIT_USER:$RABBIT_PASSWORD@$RABBIT_HOST
|
||||||
my_ip = $MY_IP
|
my_ip = $MY_IP
|
||||||
|
Reference in New Issue
Block a user