diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-03-27 23:42:47 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-03-27 23:42:47 +0000 |
| commit | 90321d0497f14bda370908610cfc44296a940523 (patch) | |
| tree | 0baadf9c6a2fcdf80793c91f46c567390bb9e8aa | |
| parent | 328a7e88982f9c5dade1a6f0c658aaf5011a58b6 (diff) | |
| parent | a78934672738ffc3a74495172534ed50c6f7f658 (diff) | |
| download | kolla-90321d0497f14bda370908610cfc44296a940523.tar.gz kolla-90321d0497f14bda370908610cfc44296a940523.zip | |
Merge "Fix gate to use world writeable docker socket"
| -rw-r--r-- | tools/setup_nodes.yml | 3 | ||||
| -rw-r--r-- | tox.ini | 28 |
2 files changed, 14 insertions, 17 deletions
diff --git a/tools/setup_nodes.yml b/tools/setup_nodes.yml index 82ca8ae6c..d37cdaab3 100644 --- a/tools/setup_nodes.yml +++ b/tools/setup_nodes.yml @@ -26,3 +26,6 @@ - name: Run node setup shell: sudo /tmp/setup.sh + + - name: Changing permissions of docker socket to 666 + shell: sudo chmod 0666 /run/docker.sock @@ -42,61 +42,56 @@ commands = [testenv:build-centos-binary] whitelist_externals = find bash - sudo setenv = DOCKER_BUILD_TEST=1 commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.BuildTestCentosBinary + testr run test_build.BuildTestCentosBinary {toxinidir}/tools/dump_info.sh [testenv:build-centos-source] whitelist_externals = find bash - sudo setenv = DOCKER_BUILD_TEST=1 commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.BuildTestCentosSource + testr run test_build.BuildTestCentosSource {toxinidir}/tools/dump_info.sh [testenv:build-ubuntu-source] whitelist_externals = find bash - sudo setenv = DOCKER_BUILD_TEST=1 commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.BuildTestUbuntuSource + testr run test_build.BuildTestUbuntuSource {toxinidir}/tools/dump_info.sh [testenv:build-oraclelinux-binary] whitelist_externals = find bash - sudo setenv = DOCKER_BUILD_TEST=1 commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.BuildTestOracleLinuxBinary + testr run test_build.BuildTestOracleLinuxBinary {toxinidir}/tools/dump_info.sh [testenv:build-oraclelinux-source] whitelist_externals = find bash - sudo setenv = DOCKER_BUILD_TEST=1 commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.BuildTestOracleLinuxSource + testr run test_build.BuildTestOracleLinuxSource {toxinidir}/tools/dump_info.sh [testenv:deploy-centos-binary] @@ -108,7 +103,7 @@ setenv = commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.DeployTestCentosBinary + testr run test_build.DeployTestCentosBinary sudo {toxinidir}/tools/deploy_aio.sh centos binary {toxinidir}/tools/dump_info.sh @@ -121,7 +116,7 @@ setenv = commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.DeployTestCentosSource + testr run test_build.DeployTestCentosSource sudo {toxinidir}/tools/deploy_aio.sh centos source {toxinidir}/tools/dump_info.sh @@ -134,7 +129,7 @@ setenv = commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.DeployTestOracleLinuxBinary + testr run test_build.DeployTestOracleLinuxBinary sudo {toxinidir}/tools/deploy_aio.sh oraclelinux binary {toxinidir}/tools/dump_info.sh @@ -147,7 +142,7 @@ setenv = commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.DeployTestOracleLinuxSource + testr run test_build.DeployTestOracleLinuxSource sudo {toxinidir}/tools/deploy_aio.sh oraclelinux source {toxinidir}/tools/dump_info.sh @@ -160,20 +155,19 @@ setenv = commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.DeployTestUbuntuSource + testr run test_build.DeployTestUbuntuSource sudo {toxinidir}/tools/deploy_aio.sh ubuntu source {toxinidir}/tools/dump_info.sh [testenv:deploy-multinode-ubuntu-source] whitelist_externals = find bash - sudo setenv = DOCKER_BUILD_TEST=1 commands = find . -type f -name "*.pyc" -delete bash -c "if [ ! -d .testrepository ]; then testr init; fi" - sudo -E -g docker testr run test_build.BuildTestUbuntuSource + testr run test_build.BuildTestUbuntuSource {toxinidir}/tools/dump_info.sh [testenv:genconfig] |
