Fix names of devstack slaves for sahara-ci labs
Now we are use new name for devstack slaves. Change-Id: I4cd413ebeabd6e082c58090835198a0d0c96ede8
This commit is contained in:
@@ -18,7 +18,7 @@ MYSQL_CONF=/etc/mysql/my.cnf
|
|||||||
INTERFACE='br-ex'
|
INTERFACE='br-ex'
|
||||||
|
|
||||||
source $TOP_DIR/functions-common
|
source $TOP_DIR/functions-common
|
||||||
if [[ $(hostname -s) =~ trusty-42 ]]; then
|
if [[ $(hostname -s) =~ stack-42 ]]; then
|
||||||
HOST_IP='172.18.168.42'
|
HOST_IP='172.18.168.42'
|
||||||
else
|
else
|
||||||
HOST_IP='172.18.168.43'
|
HOST_IP='172.18.168.43'
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ VOLUME_BACKING_FILE_SIZE=100000M
|
|||||||
KEYSTONE_TOKEN_FORMAT=UUID
|
KEYSTONE_TOKEN_FORMAT=UUID
|
||||||
|
|
||||||
FIXED_NETWORK_SIZE=256
|
FIXED_NETWORK_SIZE=256
|
||||||
if [[ $(hostname -s) =~ trusty-42 ]]; then
|
if [[ $(hostname -s) =~ stack-42 ]]; then
|
||||||
FLOATING_RANGE=172.18.169.0/26
|
FLOATING_RANGE=172.18.169.0/26
|
||||||
PUBLIC_NETWORK_GATEWAY=172.18.169.1
|
PUBLIC_NETWORK_GATEWAY=172.18.169.1
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -11,13 +11,13 @@ gearman-servers:
|
|||||||
- host: 127.0.0.1
|
- host: 127.0.0.1
|
||||||
|
|
||||||
labels:
|
labels:
|
||||||
- name: trusty-42
|
- name: stack-42
|
||||||
image: trusty-42
|
image: stack-42
|
||||||
min-ready: 3
|
min-ready: 3
|
||||||
providers:
|
providers:
|
||||||
- name: cilab-1
|
- name: cilab-1
|
||||||
- name: trusty-43
|
- name: stack-43
|
||||||
image: trusty-43
|
image: stack-43
|
||||||
min-ready: 3
|
min-ready: 3
|
||||||
providers:
|
providers:
|
||||||
- name: cilab-2
|
- name: cilab-2
|
||||||
@@ -35,7 +35,7 @@ providers:
|
|||||||
networks:
|
networks:
|
||||||
- net-id: 'LAB_42_PRIVATE_NETWORK_ID'
|
- net-id: 'LAB_42_PRIVATE_NETWORK_ID'
|
||||||
images:
|
images:
|
||||||
- name: trusty-42
|
- name: stack-42
|
||||||
base-image: 'ubuntu-14.04'
|
base-image: 'ubuntu-14.04'
|
||||||
min-ram: 2048
|
min-ram: 2048
|
||||||
private-key: '/etc/nodepool/id_dsa'
|
private-key: '/etc/nodepool/id_dsa'
|
||||||
@@ -52,7 +52,7 @@ providers:
|
|||||||
networks:
|
networks:
|
||||||
- net-id: 'LAB_43_PRIVATE_NETWORK_ID'
|
- net-id: 'LAB_43_PRIVATE_NETWORK_ID'
|
||||||
images:
|
images:
|
||||||
- name: trusty-43
|
- name: stack-43
|
||||||
base-image: 'ubuntu-14.04'
|
base-image: 'ubuntu-14.04'
|
||||||
min-ram: 2048
|
min-ram: 2048
|
||||||
private-key: '/etc/nodepool/id_dsa'
|
private-key: '/etc/nodepool/id_dsa'
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ sudo mkdir /home/jenkins/.ssh
|
|||||||
sudo chown -R jenkins:jenkins /home/jenkins
|
sudo chown -R jenkins:jenkins /home/jenkins
|
||||||
|
|
||||||
# create simple openrc file
|
# create simple openrc file
|
||||||
if [[ "$HOSTNAME" =~ trusty-42 ]]; then
|
if [[ "$HOSTNAME" =~ stack-42 ]]; then
|
||||||
OPENSTACK_HOST="172.18.168.42"
|
OPENSTACK_HOST="172.18.168.42"
|
||||||
HOST="c1"
|
HOST="c1"
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
- sahara-logs
|
- sahara-logs
|
||||||
- console-log
|
- console-log
|
||||||
- trigger-cleanup
|
- trigger-cleanup
|
||||||
node: trusty-42 || trusty-43
|
node: stack-42 || stack-43
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
name: 'dib-{plugin}-{os}'
|
name: 'dib-{plugin}-{os}'
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
- sahara-logs
|
- sahara-logs
|
||||||
- console-log
|
- console-log
|
||||||
- trigger-cleanup
|
- trigger-cleanup
|
||||||
node: trusty-42 || trusty-43
|
node: stack-42 || stack-43
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: sahara-image-elements
|
name: sahara-image-elements
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
- sahara-logs
|
- sahara-logs
|
||||||
- console-log
|
- console-log
|
||||||
- trigger-cleanup
|
- trigger-cleanup
|
||||||
node: trusty-42 || trusty-43
|
node: stack-42 || stack-43
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
name: '{pipeline}-{project_name}-{plugin}-{os}-aio'
|
name: '{pipeline}-{project_name}-{plugin}-{os}-aio'
|
||||||
@@ -26,7 +26,7 @@
|
|||||||
- sahara-logs
|
- sahara-logs
|
||||||
- console-log
|
- console-log
|
||||||
- trigger-cleanup
|
- trigger-cleanup
|
||||||
node: trusty-42 || trusty-43
|
node: stack-42 || stack-43
|
||||||
|
|
||||||
- job-template:
|
- job-template:
|
||||||
name: '{pipeline}-sahara_tests-{plugin}-{os}-{release}'
|
name: '{pipeline}-sahara_tests-{plugin}-{os}-{release}'
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
- sahara-logs
|
- sahara-logs
|
||||||
- console-log
|
- console-log
|
||||||
- trigger-cleanup
|
- trigger-cleanup
|
||||||
node: trusty-42 || trusty-43
|
node: stack-42 || stack-43
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
name: sahara
|
name: sahara
|
||||||
@@ -167,7 +167,7 @@
|
|||||||
\n<p>Please use this repository to make changes: <a href=\"https://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
|
\n<p>Please use this repository to make changes: <a href=\"https://git.openstack.org/openstack/sahara-ci-config\">https://git.openstack.org/openstack/sahara-ci-config</a></b>\
|
||||||
\n<p>This job runs pep8 check using trunk version of hacking"
|
\n<p>This job runs pep8 check using trunk version of hacking"
|
||||||
disabled: false
|
disabled: false
|
||||||
node: trusty-42 || trusty-43
|
node: stack-42 || stack-43
|
||||||
builders:
|
builders:
|
||||||
- gerrit-git-prep
|
- gerrit-git-prep
|
||||||
- ci-config-prep
|
- ci-config-prep
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ job_type=$(echo $PREV_JOB | awk -F '-' '{ print $1 }')
|
|||||||
export os_username=$os_username
|
export os_username=$os_username
|
||||||
export os_password=$os_password
|
export os_password=$os_password
|
||||||
export os_tenant_name=$os_tenant_name
|
export os_tenant_name=$os_tenant_name
|
||||||
if [[ "$HOST_NAME" =~ trusty-42 ]]; then
|
if [[ "$HOST_NAME" =~ stack-42 ]]; then
|
||||||
export os_auth_url="http://$OPENSTACK_HOST_LAB_42:5000/v2.0"
|
export os_auth_url="http://$OPENSTACK_HOST_LAB_42:5000/v2.0"
|
||||||
export os_image_endpoint="http://$OPENSTACK_HOST_LAB_42:8004/v1/$LAB_42_TENANT_ID"
|
export os_image_endpoint="http://$OPENSTACK_HOST_LAB_42:8004/v1/$LAB_42_TENANT_ID"
|
||||||
host="c1"
|
host="c1"
|
||||||
|
|||||||
Reference in New Issue
Block a user