Commit 94d7cd9b authored by Ricardo Araujo's avatar Ricardo Araujo
Browse files

Update agent job

parent fa0aaaeb
......@@ -8,8 +8,8 @@
- shell: |
#!/bin/bash -xe
echo "Cleaning Server Profile after tests..."
cd ~/oneview-integration-tests
tox -eclean
cd ~/oneview-integration-tests-utils
python clean.py
echo "Done"
- publisher:
name: obfuscate-logs
......@@ -214,6 +214,9 @@
DEVSTACK_GATE_PROJECTS_OVERRIDE="openstack/ironic $DEVSTACK_GATE_PROJECTS_OVERRIDE"
DEVSTACK_GATE_PROJECTS_OVERRIDE="openstack/ironic-lib $DEVSTACK_GATE_PROJECTS_OVERRIDE"
DEVSTACK_GATE_PROJECTS_OVERRIDE="openstack/ironic-python-agent $DEVSTACK_GATE_PROJECTS_OVERRIDE"
# nicodemos | Removal of tempest plugin code from openstack/ironic & openstack/ironic-inspector
DEVSTACK_GATE_PROJECTS_OVERRIDE="openstack/ironic-tempest-plugin $DEVSTACK_GATE_PROJECTS_OVERRIDE"
DEVSTACK_GATE_PROJECTS_OVERRIDE="openstack/tempest $DEVSTACK_GATE_PROJECTS_OVERRIDE"
sudo echo -e "nameserver 10.20.6.1\nsearch lsd.ufcg.edu.br" > /tmp/resolv.conf
......@@ -231,6 +234,9 @@
export DEVSTACK_GATE_IRONIC=1
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_VIRT_DRIVER=ironic
export DEVSTACK_LOCAL_CONFIG=""
export DEVSTACK_GATE_IRONIC_DRIVER={deploy_driver}
export DEVSTACK_GATE_IRONIC_BUILD_RAMDISK={build-ramdisk}
export DEVSTACK_GATE_TEMPEST_BAREMETAL_BUILD_TIMEOUT=1200
......@@ -242,6 +248,8 @@
export OVERRIDE_ENABLED_SERVICES+=,placement-api,placement-client
elif [ "$ZUUL_BRANCH" == "stable/ocata" ] ; then
export OVERRIDE_ENABLED_SERVICES+=,n-cell,placement-api,placement-client
elif [ "$ZUUL_BRANCH" == "stable/newton" ] ; then
export OVERRIDE_ENABLED_SERVICES+=,placement-api,placement-client
fi
export BRANCH_OVERRIDE={branch-override}
......@@ -257,8 +265,6 @@
export DEVSTACK_PROJECT_FROM_GIT="ironic-lib"
fi
export DEVSTACK_LOCAL_CONFIG=""
echo "NODEPOOL_MIRROR_HOST=\"nova.clouds.archive.ubuntu.com\"" >> /etc/nodepool/provider
export KEEP_LOCALRC=1
......@@ -297,7 +303,9 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_HW_NODE_DISK=120"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_HW_EPHEMERAL_DISK=0"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_HW_ARCH=x86_64"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"REQUIREMENTS_BRANCH=refs/changes/27/454927/1"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_USE_RESOURCE_CLASSES=false"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"REQUIREMENTS_BRANCH=refs/changes/27/454927/1"
wget {url-prefix}/{hwinfo-file}
export IRONIC_HWINFO_FILE=$(pwd)/{hwinfo-file}
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_HWINFO_FILE=$(pwd)/{hwinfo-file}"
......@@ -334,10 +342,16 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_TFTPSERVER_IP={ironic-net-prefix}.254"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_HTTP_SERVER={ironic-net-prefix}.254"
# fellypefca | 21/09/2017
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_AUTOMATED_CLEAN_ENABLED=False"
# nicodemos | Removal of tempest plugin code from openstack/ironic & openstack/ironic-inspector
export DEVSTACK_LOCAL_CONFIG+=$'\n'"TEMPEST_PLUGINS+=' /opt/stack/new/ironic-tempest-plugin'"
# Note, The initial version of 2017 is required to manually open the ports in the security group
if [ "$ZUUL_BRANCH" == "stable/newton" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"REQUIREMENTS_BRANCH=refs/changes/27/454927/1"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"REQUIREMENTS_BRANCH=refs/changes/43/485643/1"
sudo iptables -I INPUT -p udp --dport 69 -j ACCEPT || true
sudo iptables -I INPUT -p tcp --dport 3928 -j ACCEPT || true
sudo iptables -I INPUT -p tcp --dport 6385 -j ACCEPT || true
......@@ -353,7 +367,7 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"FIXED_RANGE={ironic-net-prefix}.0/24"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"SUBNETPOOL_PREFIX_V4={ironic-net-prefix}.0/24"
if [ "$ZUUL_BRANCH" == "stable/newton" ] ; then
export DEVSTACK_LOCAL_CONFIG+=$'\n'"REQUIREMENTS_BRANCH=refs/changes/27/454927/1"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"REQUIREMENTS_BRANCH=refs/changes/43/485643/1"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NETWORK_GATEWAY={ironic-net-prefix}.1"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"USE_SUBNETPOOL=False"
fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment