diff --git a/README.md b/README.md index 426723fc..7f5bfd7f 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ working, working, working on the [TOPIC] branch ... * conf/ - configuration files related to newly supported target systems will be added here. Code Structure in Runtime: - ![alt text](./runtime_code_path.jpg "Modular Components") + ![alt text](./imgs/runtime_code_path.jpg "Modular Components") Quick Guide to Users -------------------- diff --git a/runtime_code_path.jpg b/imgs/runtime_code_path.jpg similarity index 100% rename from runtime_code_path.jpg rename to imgs/runtime_code_path.jpg diff --git a/project-config/gearman/gearman-job-server b/project-config/gearman/gearman-job-server new file mode 100644 index 00000000..5fb2b11f --- /dev/null +++ b/project-config/gearman/gearman-job-server @@ -0,0 +1,19 @@ +# This is a configuration file for /etc/default/gearman-job-server; it allows +# you to perform common modifications to the behavior of the gearman-job-server +# daemon startup without editing the init script (and thus getting prompted by +# dpkg on upgrades). We all love dpkg prompts. + +# Examples ( from http://gearman.org/index.php?id=manual:job_server ) +# +# Use drizzle as persistent queue store +# PARAMS="-q libdrizzle --libdrizzle-db=some_db --libdrizzle-table=gearman_queue" +# +# Use mysql as persistent queue store +# PARAMS="-q libdrizzle --libdrizzle-host=10.0.0.1 --libdrizzle-user=gearman \ +# --libdrizzle-password=secret --libdrizzle-db=some_db \ +# --libdrizzle-table=gearman_queue --libdrizzle-mysql" +# +# Missing examples for memcache persitent queue store... + +# Parameters to pass to gearmand. +PARAMS="--listen=0.0.0.0 --verbose=DEBUG" diff --git a/project-config/jenkins/jobs/check-compass-specs-docs/config.xml b/project-config/jenkins/jobs/check-compass-specs-docs/config.xml new file mode 100644 index 00000000..4849cc24 --- /dev/null +++ b/project-config/jenkins/jobs/check-compass-specs-docs/config.xml @@ -0,0 +1,62 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + true + + + + precise + false + false + false + false + + true + + + /home/jenkins/script/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org + + + /home/jenkins/script/run-docs.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + + + local_log_server + + + doc-draft/$LOG_PATH + doc/build/html/** + true + false + false + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-adapters-e2e/config.xml b/project-config/jenkins/jobs/compass-adapters-e2e/config.xml new file mode 100644 index 00000000..358d3186 --- /dev/null +++ b/project-config/jenkins/jobs/compass-adapters-e2e/config.xml @@ -0,0 +1,121 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + OFFLINE_NODE_WHEN_COMPLETE + + 1 + + + + + + centos-install + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone https://git.openstack.org/stackforge/compass-core +else + cd compass-core + git remote set-url origin https://git.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + cd .. +fi +cd compass-core +if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then + if [[ ! -z $ZUUL_REF ]]; then + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + elif [[ ! -z $GERRIT_REFSPEC ]]; then + git_repo=https://$GERRIT_HOST/stackforge/compass-core + git_ref=$GERRIT_REFSPEC + git_branch=$GERRIT_BRANCH + fi + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref && git checkout FETCH_HEAD + if [ $? -ne 0 ]; then + echo "failed to git fetch $git_repo $git_ref or no ref for this project" + fi + git clean -x -f +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +export USE_POLL_SWITCHES=false +source compass-core/regtest/regtest.conf +export DEPLOYMENT_TIMEOUT=180 +/bin/bash compass-core/regtest/regtest.sh + + + + + ci_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-daily-7vm/config.xml b/project-config/jenkins/jobs/compass-bare-daily-7vm/config.xml new file mode 100644 index 00000000..758fd800 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-daily-7vm/config.xml @@ -0,0 +1,136 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + compass-bare-11 + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone http://git.openstack.org/stackforge/compass-core + cd compass-core + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + cd .. + fi +else + cd compass-core + git remote set-url origin https://review.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + fi + cd .. +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +source compass-core/regtest/regtest3.conf +export tempest=true +export tempest_network=true +export tempest_full=true +/bin/bash compass-core/regtest/regtest.sh + + + + + xyzjerry2258@hotmail.com, dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID + + + + + local_log_server + + + $JOB_NAME/$BUILD_ID + + true + true + true + + + $JOB_NAME/$BUILD_ID + cobbler_logs/** + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-daily-allin1/config.xml b/project-config/jenkins/jobs/compass-bare-daily-allin1/config.xml new file mode 100644 index 00000000..ecc6c4e7 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-daily-allin1/config.xml @@ -0,0 +1,136 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + compass-bare-11 + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone http://git.openstack.org/stackforge/compass-core + cd compass-core + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + cd .. + fi +else + cd compass-core + git remote set-url origin https://review.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + fi + cd .. +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +source compass-core/regtest/regtest.conf +export tempest=true +export tempest_network=true +export tempest_full=true +/bin/bash compass-core/regtest/regtest.sh + + + + + xyzjerry2258@hotmail.com, dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID + + + + + local_log_server + + + $JOB_NAME/$BUILD_ID + + true + true + true + + + $JOB_NAME/$BUILD_ID + cobbler_logs/**/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-demo-7vm/config.xml b/project-config/jenkins/jobs/compass-bare-demo-7vm/config.xml new file mode 100644 index 00000000..ab736077 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-demo-7vm/config.xml @@ -0,0 +1,99 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + compass-demo + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone http://git.openstack.org/stackforge/compass-core + cd compass-core + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + cd .. + fi +else + cd compass-core + git remote set-url origin https://review.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + fi + cd .. +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +compass check + + + + + ci_log_server + + + $JOB_NAME/$BUILD_ID + + true + true + true + + + $JOB_NAME/$BUILD_ID + cobbler_logs/** + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-dev-demo/config.xml b/project-config/jenkins/jobs/compass-bare-dev-demo/config.xml new file mode 100644 index 00000000..59c45a7c --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-dev-demo/config.xml @@ -0,0 +1,121 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-demo + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +if [[ ! -e compass-core ]]; then + git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +else + cd compass-core + git remote set-url origin https://git.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout $ZUUL_BRANCH + git reset --hard remotes/origin/$ZUUL_BRANCH + git clean -x -f -d -q + cd .. +fi +cd compass-core +if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then + if [[ ! -z $ZUUL_REF ]]; then + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + elif [[ ! -z $GERRIT_REFSPEC ]]; then + git_repo=https://$GERRIT_HOST/stackforge/compass-core + git_ref=$GERRIT_REFSPEC + git_branch=$GERRIT_BRANCH + fi + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref:$git_branch + if [ $? -ne 0 ]; then + echo "failed to git fetch $git_repo $git_ref or no ref for this project" + fi + git clean -x -f +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +compass check + + + + + local_log_server + + + $JOB_NAME/$BUILD_ID + + true + true + true + + + $JOB_NAME/$BUILD_ID + cobbler_logs/** + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-7vm-ubuntu/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-7vm-ubuntu/config.xml new file mode 100644 index 00000000..54d13a73 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-7vm-ubuntu/config.xml @@ -0,0 +1,114 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone https://git.openstack.org/stackforge/compass-core +else + cd compass-core + git remote set-url origin https://git.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + cd .. +fi +cd compass-core +if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then + if [[ ! -z $ZUUL_REF ]]; then + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + elif [[ ! -z $GERRIT_REFSPEC ]]; then + git_repo=https://$GERRIT_HOST/stackforge/compass-core + git_ref=$GERRIT_REFSPEC + git_branch=$GERRIT_BRANCH + fi + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref && git checkout FETCH_HEAD + if [ $? -ne 0 ]; then + echo "failed to git fetch $git_repo $git_ref or no ref for this project" + fi + git clean -x -f +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh +compass check + + + source compass-core/install/install.conf.template +source compass-core/regtest/regtest7.conf +export tempest=true +export tempest_network=true +#export tempest_full=true +/bin/bash compass-core/regtest/regtest.sh + + + + + ci_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-7vm/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-7vm/config.xml new file mode 100644 index 00000000..91f07505 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-7vm/config.xml @@ -0,0 +1,112 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone https://git.openstack.org/stackforge/compass-core +else + cd compass-core + git remote set-url origin https://git.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + cd .. +fi +cd compass-core +if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then + if [[ ! -z $ZUUL_REF ]]; then + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + elif [[ ! -z $GERRIT_REFSPEC ]]; then + git_repo=https://$GERRIT_HOST/stackforge/compass-core + git_ref=$GERRIT_REFSPEC + git_branch=$GERRIT_BRANCH + fi + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref && git checkout FETCH_HEAD + if [ $? -ne 0 ]; then + echo "failed to git fetch $git_repo $git_ref or no ref for this project" + fi + git clean -x -f +fi + + + cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +source compass-core/regtest/regtest3.conf +export tempest=true +export tempest_network=true +#export tempest_full=true +/bin/bash compass-core/regtest/regtest.sh + + + + + ci_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allin1-centos66-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allin1-centos66-experimental/config.xml new file mode 100644 index 00000000..d6edee8b --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allin1-centos66-experimental/config.xml @@ -0,0 +1,130 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest11.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allin1-centos70-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allin1-centos70-experimental/config.xml new file mode 100644 index 00000000..dd4df030 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allin1-centos70-experimental/config.xml @@ -0,0 +1,130 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest12.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allin1-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allin1-experimental/config.xml new file mode 100644 index 00000000..f4e0b7fe --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allin1-experimental/config.xml @@ -0,0 +1,130 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +source compass-core/regtest/regtest.conf +export tempest=true +export tempest_network=true +#export tempest_full=true +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu-experimental/config.xml new file mode 100644 index 00000000..2cac498b --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu-experimental/config.xml @@ -0,0 +1,129 @@ + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest8.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu/config.xml new file mode 100644 index 00000000..2208c672 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu/config.xml @@ -0,0 +1,124 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +export REGTEST=true +./test-install.sh +compass check + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest8.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu1404-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu1404-experimental/config.xml new file mode 100644 index 00000000..f75e8e67 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allin1-ubuntu1404-experimental/config.xml @@ -0,0 +1,130 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest13.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allin1/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allin1/config.xml new file mode 100644 index 00000000..f323221f --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allin1/config.xml @@ -0,0 +1,134 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + REGTEST + + true + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +export REGTEST=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +source compass-core/regtest/regtest.conf +# export tempest=true +# export tempest_network=true +#export tempest_full=true +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + false + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + false + false + false + + + $LOG_PATH + chef_logs/** + false + false + false + + + + + + + + 180 + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-allinone-ubuntu1404-ansible-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-allinone-ubuntu1404-ansible-experimental/config.xml new file mode 100644 index 00000000..1e6e6eb0 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-allinone-ubuntu1404-ansible-experimental/config.xml @@ -0,0 +1,118 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +./compass-core/regtest/ansible/ci/deploy.sh compass-core/regtest/ansible/ci/allinone.conf + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-multinode-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-multinode-experimental/config.xml new file mode 100644 index 00000000..efe4832c --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-multinode-experimental/config.xml @@ -0,0 +1,148 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + + H 2 * * 0-5 + + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +REGTEST_CONF=regtest5.conf +./compass-core/regtest/regtest.sh + + + + + dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID + + + + + local_log_server + + + $JOB_NAME/$BUILD_ID + + true + true + true + + + $JOB_NAME/$BUILD_ID + cobbler_logs/** + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.py + true + false + true + + + $JOB_NAME/$BUILD_ID + chef_logs/** + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-multinode-ubuntu-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-multinode-ubuntu-experimental/config.xml new file mode 100644 index 00000000..9be5de04 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-multinode-ubuntu-experimental/config.xml @@ -0,0 +1,156 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + + H 2 * * 0-5 + + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +REGTEST_CONF=regtest10.conf +./compass-core/regtest/regtest.sh + + + + + dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-multinode-ubuntu/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-multinode-ubuntu/config.xml new file mode 100644 index 00000000..86f37b10 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-multinode-ubuntu/config.xml @@ -0,0 +1,152 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=false +export tempest_network=true +#export tempest_full=true +REGTEST_CONF=regtest10.conf +./compass-core/regtest/regtest.sh + + + + + xyzjerry2258@hotmail.com, dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-multinode/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-multinode/config.xml new file mode 100644 index 00000000..1f64cf09 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-multinode/config.xml @@ -0,0 +1,144 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=false +export tempest_network=true +#export tempest_full=true +REGTEST_CONF=regtest5.conf +./compass-core/regtest/regtest.sh + + + + + xyzjerry2258@hotmail.com, dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-multinodes-allin1-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-multinodes-allin1-experimental/config.xml new file mode 100644 index 00000000..077fba9c --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-multinodes-allin1-experimental/config.xml @@ -0,0 +1,129 @@ + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest3.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-multinodes-allin1/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-multinodes-allin1/config.xml new file mode 100644 index 00000000..ad69f094 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-multinodes-allin1/config.xml @@ -0,0 +1,123 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +export REGTEST=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest3.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-osonly-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-osonly-experimental/config.xml new file mode 100644 index 00000000..8f3b4689 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-osonly-experimental/config.xml @@ -0,0 +1,122 @@ + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest6.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-osonly-ubuntu-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-osonly-ubuntu-experimental/config.xml new file mode 100644 index 00000000..d834024f --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-osonly-ubuntu-experimental/config.xml @@ -0,0 +1,123 @@ + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template + +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest7.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-osonly-ubuntu/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-osonly-ubuntu/config.xml new file mode 100644 index 00000000..29e19002 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-osonly-ubuntu/config.xml @@ -0,0 +1,116 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template + +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest7.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-osonly/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-osonly/config.xml new file mode 100644 index 00000000..7037ad3e --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-osonly/config.xml @@ -0,0 +1,115 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest6.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-experimental/config.xml new file mode 100644 index 00000000..4ec4a766 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-experimental/config.xml @@ -0,0 +1,130 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest4.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-ubuntu-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-ubuntu-experimental/config.xml new file mode 100644 index 00000000..5887f2b4 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-ubuntu-experimental/config.xml @@ -0,0 +1,130 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest9.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-ubuntu/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-ubuntu/config.xml new file mode 100644 index 00000000..5ac57544 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute-ubuntu/config.xml @@ -0,0 +1,123 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +export REGTEST=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +# export tempest=true +# export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest9.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute/config.xml new file mode 100644 index 00000000..44187c75 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-single-contoller-multi-compute/config.xml @@ -0,0 +1,129 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +export REGTEST=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +# export tempest=true +# export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest4.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-single-controller-allin1-experimental/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-single-controller-allin1-experimental/config.xml new file mode 100644 index 00000000..22d24f53 --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-single-controller-allin1-experimental/config.xml @@ -0,0 +1,130 @@ + + + + conf to run 1 instance with single-contoller-multi-compute flavor + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest2.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-bare-e2e-single-controller-allin1/config.xml b/project-config/jenkins/jobs/compass-bare-e2e-single-controller-allin1/config.xml new file mode 100644 index 00000000..8178855c --- /dev/null +++ b/project-config/jenkins/jobs/compass-bare-e2e-single-controller-allin1/config.xml @@ -0,0 +1,129 @@ + + + + conf to run 1 instance with single-contoller-multi-compute flavor + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +killall celeryd |exit 0 +cp compass-core/misc/ci/*.sh . +export tempest=true +export REGTEST=true +./test-install.sh + + + #!/bin/bash -x +source compass-core/install/install.conf.template +# export tempest=true +# export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=regtest2.conf +./compass-core/regtest/regtest.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-core-coverage-xml/config.xml b/project-config/jenkins/jobs/compass-core-coverage-xml/config.xml new file mode 100644 index 00000000..e65d9d11 --- /dev/null +++ b/project-config/jenkins/jobs/compass-core-coverage-xml/config.xml @@ -0,0 +1,111 @@ + + + + + + 15 + -1 + -1 + -1 + + false + + + false + + + + coverage + false + false + false + false + + true + + + #!/bin/bash -xe +if [[ ! -e compass-core ]]; then + git clone http://git.openstack.org/stackforge/compass-core + cd compass-core + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git checkout FETCH_HEAD +else + cd compass-core + git remote set-url origin https://review.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git checkout FETCH_HEAD + git clean -x -f -d -q +fi +tox -ereport + + + + + **/compass-core/coverage.xml + false + false + false + false + false + false + 0 + true + + + + METHOD + 8000000 + + + LINE + 8000000 + + + CONDITIONAL + 7000000 + + + + + + + METHOD + 0 + + + LINE + 0 + + + CONDITIONAL + 0 + + + + + + + METHOD + 0 + + + LINE + 0 + + + CONDITIONAL + 0 + + + + ASCII + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-core-coverage/config.xml b/project-config/jenkins/jobs/compass-core-coverage/config.xml new file mode 100644 index 00000000..e3638326 --- /dev/null +++ b/project-config/jenkins/jobs/compass-core-coverage/config.xml @@ -0,0 +1,113 @@ + + + + + + 15 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + precise + false + false + false + false + + + H 02 * * 2-6 + + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi +tox -ecover + + + + + local_log_server + + + $JOB_NAME/$BUILD_ID + + false + false + true + + + $JOB_NAME/$BUILD_ID/cover + compass-core/cover/** + false + false + true + + + + + dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + false + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +Coverage Reports: +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID/cover + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-core-pep8/config.xml b/project-config/jenkins/jobs/compass-core-pep8/config.xml new file mode 100644 index 00000000..09bc1946 --- /dev/null +++ b/project-config/jenkins/jobs/compass-core-pep8/config.xml @@ -0,0 +1,79 @@ + + + + + + 15 + 10 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + precise + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi +tox -epep8 + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-core-py26/config.xml b/project-config/jenkins/jobs/compass-core-py26/config.xml new file mode 100644 index 00000000..bcae6607 --- /dev/null +++ b/project-config/jenkins/jobs/compass-core-py26/config.xml @@ -0,0 +1,79 @@ + + + + + + 15 + 10 + -1 + -1 + + false + + + true + + + + + ZUUL_BRANCH + + master + + + + + + precise26 + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi +tox -epy26 + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-core-py27/config.xml b/project-config/jenkins/jobs/compass-core-py27/config.xml new file mode 100644 index 00000000..b3574786 --- /dev/null +++ b/project-config/jenkins/jobs/compass-core-py27/config.xml @@ -0,0 +1,79 @@ + + + + + + 15 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + precise + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi +tox -epy27 + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-demo/config.xml b/project-config/jenkins/jobs/compass-demo/config.xml new file mode 100644 index 00000000..818f0902 --- /dev/null +++ b/project-config/jenkins/jobs/compass-demo/config.xml @@ -0,0 +1,105 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + true + + + + + ZUUL_BRANCH + + master + + + + + + centos-install + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-dev-demo-7vm/config.xml b/project-config/jenkins/jobs/compass-dev-demo-7vm/config.xml new file mode 100644 index 00000000..b406597d --- /dev/null +++ b/project-config/jenkins/jobs/compass-dev-demo-7vm/config.xml @@ -0,0 +1,113 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + compass-devdemo + false + false + false + false + + true + + + #!/bin/bash -x +export GERRIT_REFSPEC=refs/changes/51/112751/6 +export GERRIT_BRANCH=master +export GERRIT_HOST=review.openstack.org +if [[ ! -e compass-core ]]; then + git clone https://git.openstack.org/stackforge/compass-core +else + cd compass-core + git remote set-url origin https://git.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + cd .. +fi +cd compass-core +if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then + if [[ ! -z $ZUUL_REF ]]; then + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + elif [[ ! -z $GERRIT_REFSPEC ]]; then + git_repo=https://$GERRIT_HOST/stackforge/compass-core + git_ref=$GERRIT_REFSPEC + git_branch=$GERRIT_BRANCH + fi + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref && git checkout FETCH_HEAD + if [ $? -ne 0 ]; then + echo "failed to git fetch $git_repo $git_ref or no ref for this project" + fi + git clean -x -f +fi + + + cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +source compass-core/regtest/regtest3.conf +export NO_TEAR_DOWN=true +/bin/bash compass-core/regtest/regtest.sh + + + + + ci_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-dev-demo-compass/config.xml b/project-config/jenkins/jobs/compass-dev-demo-compass/config.xml new file mode 100644 index 00000000..fe560121 --- /dev/null +++ b/project-config/jenkins/jobs/compass-dev-demo-compass/config.xml @@ -0,0 +1,107 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + centos-demo + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone https://git.openstack.org/stackforge/compass-core +else + cd compass-core + git remote set-url origin https://git.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/dev/experimental + git clean -x -f -d -q + cd .. +fi +cd compass-core +if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then + if [[ ! -z $ZUUL_REF ]]; then + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + elif [[ ! -z $GERRIT_REFSPEC ]]; then + git_repo=https://$GERRIT_HOST/stackforge/compass-core + git_ref=$GERRIT_REFSPEC + git_branch=$GERRIT_BRANCH + fi + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref && git checkout FETCH_HEAD + if [ $? -ne 0 ]; then + echo "failed to git fetch $git_repo $git_ref or no ref for this project" + fi + git clean -x -f +fi + + + export GERRIT_BRANCH=master +export GERRIT_HOST=review.openstack.org +export GERRIT_REFSPEC=refs/changes/45/113045/2 +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + + + ci_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-dev-demo/config.xml b/project-config/jenkins/jobs/compass-dev-demo/config.xml new file mode 100644 index 00000000..976167ae --- /dev/null +++ b/project-config/jenkins/jobs/compass-dev-demo/config.xml @@ -0,0 +1,105 @@ + + + + + + 30 + 10 + -1 + -1 + + false + + + true + + + + + ZUUL_BRANCH + + dev/experimental + + + + + + centos-install + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-install-e2e-aio/config.xml b/project-config/jenkins/jobs/compass-install-e2e-aio/config.xml new file mode 100644 index 00000000..dca1b905 --- /dev/null +++ b/project-config/jenkins/jobs/compass-install-e2e-aio/config.xml @@ -0,0 +1,136 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + centos-install + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone http://git.openstack.org/stackforge/compass-core + cd compass-core + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + cd .. + fi +else + cd compass-core + git remote set-url origin https://review.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + if [[ ! -z $GERRIT_REFSPEC ]]; then + git fetch https://review.openstack.org/stackforge/compass-core $GERRIT_REFSPEC && git cherry-pick FETCH_HEAD + fi + cd .. +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +source compass-core/regtest/regtest.conf +export USE_POLL_SWITCHES=false +export tempest=true +export DEPLOYMENT_TIMEOUT=180 +/bin/bash compass-core/regtest/regtest.sh + + + + + xyzjerry2258@hotmail.com, dev@syscompass.org + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + + + $PROJECT_DEFAULT_SUBJECT + $PROJECT_DEFAULT_CONTENT + true + false + false + true + + + + default + $DEFAULT_SUBJECT + $DEFAULT_CONTENT +http://12.234.32.44/logs/$PROJECT_NAME/$BUILD_ID + + + + + ci_log_server + + + $JOB_NAME/$BUILD_ID + + true + true + true + + + $JOB_NAME/$BUILD_ID + cobbler_logs/**/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.log + true + false + true + + + $JOB_NAME/$BUILD_ID + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-install-e2e-mini/config.xml b/project-config/jenkins/jobs/compass-install-e2e-mini/config.xml new file mode 100644 index 00000000..79f17054 --- /dev/null +++ b/project-config/jenkins/jobs/compass-install-e2e-mini/config.xml @@ -0,0 +1,121 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + OFFLINE_NODE_WHEN_COMPLETE + + 1 + + + + + + centos-install + false + false + false + false + + true + + + #!/bin/bash -x +if [[ ! -e compass-core ]]; then + git clone https://git.openstack.org/stackforge/compass-core +else + cd compass-core + git remote set-url origin https://git.openstack.org/stackforge/compass-core + git remote update + git reset --hard + git clean -x -f -d -q + git checkout master + git reset --hard remotes/origin/master + git clean -x -f -d -q + cd .. +fi +cd compass-core +if [[ ! -z $ZUUL_REF || ! -z $GERRIT_REFSPEC ]]; then + if [[ ! -z $ZUUL_REF ]]; then + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + elif [[ ! -z $GERRIT_REFSPEC ]]; then + git_repo=https://$GERRIT_HOST/stackforge/compass-core + git_ref=$GERRIT_REFSPEC + git_branch=$GERRIT_BRANCH + fi + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref && git checkout FETCH_HEAD + if [ $? -ne 0 ]; then + echo "failed to git fetch $git_repo $git_ref or no ref for this project" + fi + git clean -x -f +fi + + + #!/bin/bash -x +cp compass-core/misc/ci/*.sh . +export tempest=true +./test-install.sh + + + source compass-core/install/install.conf.template +export USE_POLL_SWITCHES=false +source compass-core/regtest/regtest_dashboard.conf +export DEPLOYMENT_TIMEOUT=120 +/bin/bash compass-core/regtest/regtest.sh + + + + + ci_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/*.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-specs-publish-specs/config.xml b/project-config/jenkins/jobs/compass-specs-publish-specs/config.xml new file mode 100644 index 00000000..d6f6e616 --- /dev/null +++ b/project-config/jenkins/jobs/compass-specs-publish-specs/config.xml @@ -0,0 +1,66 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + true + + + + precise + false + false + false + false + + true + + + /home/jenkins/script/gerrit-git-prep.sh https://review.openstack.org git://git.openstack.org + + + /home/jenkins/script/run-docs.sh + + + mkdir `dirname $ZUUL_PROJECT` +mv doc/build/html $ZUUL_PROJECT + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + + + specs + + + specs/ + $ZUUL_PROJECT/** + true + false + false + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/compass-trusty-bare-e2e-allin1-ubuntu-1404/config.xml b/project-config/jenkins/jobs/compass-trusty-bare-e2e-allin1-ubuntu-1404/config.xml new file mode 100644 index 00000000..3f3bbebb --- /dev/null +++ b/project-config/jenkins/jobs/compass-trusty-bare-e2e-allin1-ubuntu-1404/config.xml @@ -0,0 +1,137 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + ZUUL_BRANCH + + master + + + + + + compass-trusty-bare + false + false + false + false + + true + + + #!/bin/bash -x +if [[ -e compass-core ]]; then + rm -rf compass-core +fi +git clone https://git.openstack.org/stackforge/compass-core -b $ZUUL_BRANCH +cd compass-core +if [[ -z $ZUUL_PROJECT ]]; then + echo "ZUUL_PROJECT is not set" +elif [[ -z $ZUUL_BRANCH ]]; then + echo "ZUUL_BRANCH is not set" +elif [[ -z $ZUUL_REF ]]; then + echo "ZUUL_REF is not set" +elif [[ "$ZUUL_PROJECT" != "stackforge/compass-core" ]]; then + echo "$ZUUL_PROJECT is not stackforge/compass-core" +else + git_repo=$ZUUL_URL/stackforge/compass-core + git_ref=$ZUUL_REF + git_branch=$ZUUL_BRANCH + git reset --hard remotes/origin/$git_branch + git fetch $git_repo $git_ref + git merge FETCH_HEAD + git clean -x -f +fi + + + #!/bin/bash -x +brctl show |grep installation > /dev/null +if [[ $? -eq 0 ]] ; then + echo "bridge already exists" +else + brctl addbr installation + brctl addif installation eth1 +fi + +ifconfig installation 172.16.0.1 broadcast 172.16.0.0 netmask 255.255.0.0 up +ifconfig eth1 up + +# kill the dhcp service started by libvirt to avoid conflict with dhcpd + + + + #!/bin/bash -x +source compass-core/install/install.conf.template +export tempest=true +export tempest_network=true +#export tempest_full=true +export REGTEST_CONF=allinone.conf +./compass-core/regtest/ansible/ci/deploy.sh + + + + + local_log_server + + + $LOG_PATH + + true + true + true + + + $LOG_PATH + cobbler_logs/** + true + false + true + + + $LOG_PATH + compass_logs/compass.log + true + false + true + + + $LOG_PATH + compass_logs/*.py + true + false + true + + + $LOG_PATH + chef_logs/** + true + false + true + + + + + + + + 180 + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/devstack-update-complete/config.xml b/project-config/jenkins/jobs/devstack-update-complete/config.xml new file mode 100644 index 00000000..0d9881bd --- /dev/null +++ b/project-config/jenkins/jobs/devstack-update-complete/config.xml @@ -0,0 +1,28 @@ + + + + + false + + + master + false + false + false + false + + false + + + #!/bin/bash -xe +export WORKSPACE=/home/jenkins/workspace +export DEVSTACK_GATE_PREFIX=wip- +set +e +/home/jenkins/workspace/devstack-gate/devstack-vm-inprogress.py $DEVSTACK_NODE_NAME +set -e +/home/jenkins/workspace/devstack-gate/devstack-vm-delete.py $DEVSTACK_NODE_NAME + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/devstack-update-inprogress/config.xml b/project-config/jenkins/jobs/devstack-update-inprogress/config.xml new file mode 100644 index 00000000..2d8c65c5 --- /dev/null +++ b/project-config/jenkins/jobs/devstack-update-inprogress/config.xml @@ -0,0 +1,26 @@ + + + + + false + + + master + false + false + false + false + + false + + + #!/bin/bash -xe +su jenkins +export WORKSPACE=/home/jenkins/workspace +export DEVSTACK_GATE_PREFIX=wip- +/home/jenkins/workspace/devstack-gate/devstack-vm-inprogress.py $DEVSTACK_NODE_NAME + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/gate-nova-python27/config.xml b/project-config/jenkins/jobs/gate-nova-python27/config.xml new file mode 100644 index 00000000..9b2788b2 --- /dev/null +++ b/project-config/jenkins/jobs/gate-nova-python27/config.xml @@ -0,0 +1,140 @@ + + + + + + 1 + -1 + -1 + -1 + + false + + + + + HTTP + http://127.0.0.1:8001/jenkins_endpoint + + + + + + + NODE_LABEL + Label of node to use for this build + devstack-precise + + + ZUUL_UUID + + + + + ZUUL_REF + + + + + ZUUL_COMMIT + + + + + ZUUL_PROJECT + + + + + ZUUL_PIPELINE + + + + + ZUUL_BRANCH + + + + + ZUUL_CHANGE + + + + + ZUUL_CHANGE_IDS + + + + + ZUUL_PATCHSET + + + + + ZUUL_OLDREV + + + + + ZUUL_NEWREV + + + + + ZUUL_SHORT_OLDREV + + + + + ZUUL_SHORT_NEWREV + + + + + + + + devstack-precise + false + false + false + false + + false + + + /usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit + + + /usr/local/jenkins/slave_scripts/run-tox.sh 27 openstack nova + + + #!/bin/bash +OUT=`git ls-files --other --exclude-standard --directory` +if [ -z "$OUT" ]; then + echo "No extra files created during test." + exit 0 +else + echo "The following un-ignored files were created during the test:" + echo "$OUT" + exit 0 # TODO: change to 1 to fail tests. +fi + + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + + false + true + true + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/gate-nova-sonar/config.xml b/project-config/jenkins/jobs/gate-nova-sonar/config.xml new file mode 100644 index 00000000..eeaa586d --- /dev/null +++ b/project-config/jenkins/jobs/gate-nova-sonar/config.xml @@ -0,0 +1,89 @@ + + + + + + 1 + -1 + -1 + -1 + + false + + + + + HTTP + http://127.0.0.1:8001/jenkins_endpoint + + + + + + 2 + + + + + ssh://admin@10.145.81.234:29418/nova + + + + + master + + + false + false + false + false + false + false + false + false + false + + Default + + + + + + + + false + + + + master + false + false + false + false + (Inherit From Job) + + false + + + + # Required metadata +sonar.projectKey=org.codehaus.sonar:nova +sonar.projectName=Python project analyzed with the SonarQube Runner +sonar.projectVersion=1.0 + +# Comma-separated paths to directories with sources (required) +sonar.sources=nova + +# Language +sonar.language=py + +# Encoding of the source files +sonar.sourceEncoding=UTF-8 + + (Inherit From Job) + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/gate-python-novaclient-python26/config.xml b/project-config/jenkins/jobs/gate-python-novaclient-python26/config.xml new file mode 100644 index 00000000..85f46946 --- /dev/null +++ b/project-config/jenkins/jobs/gate-python-novaclient-python26/config.xml @@ -0,0 +1,105 @@ + + + + + + 1 + -1 + -1 + -1 + + false + + + + + HTTP + http://127.0.0.1:8001/jenkins_endpoint + + + + + + + NODE_LABEL + Label of node to use for this build + precise26 + + + + + + precise26 + false + false + false + false + + false + + + /usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit + + + export http_proxy=10.145.81.137:3128 +export https_proxy=10.145.81.137:3128 +export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" +/usr/local/jenkins/slave_scripts/run-tox.sh 26 openstack python-novaclient + + + #!/bin/bash +OUT=`git ls-files --other --exclude-standard --directory` +if [ -z "$OUT" ]; then + echo "No extra files created during test." + exit 0 +else + echo "The following un-ignored files were created during the test:" + echo "$OUT" + exit 0 # TODO: change to 1 to fail tests. +fi + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + + false + true + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + **/*nose_results.html + false + false + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + **/*testr_results.html.gz + false + false + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + .testrepository/tmp* + false + false + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + **/*subunit_log.txt.gz + false + false + true + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/gate-python-novaclient-python33/config.xml b/project-config/jenkins/jobs/gate-python-novaclient-python33/config.xml new file mode 100644 index 00000000..f9fd1012 --- /dev/null +++ b/project-config/jenkins/jobs/gate-python-novaclient-python33/config.xml @@ -0,0 +1,102 @@ + + + + + + 1 + -1 + -1 + -1 + + false + + + + + HTTP + http://127.0.0.1:8001/jenkins_endpoint + + + + + + + NODE_LABEL + Label of node to use for this build + precise + + + + + + precise + false + false + false + false + + false + + + /usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit + + + /usr/local/jenkins/slave_scripts/run-tox.sh 27 openstack python-novaclient + + + #!/bin/bash +OUT=`git ls-files --other --exclude-standard --directory` +if [ -z "$OUT" ]; then + echo "No extra files created during test." + exit 0 +else + echo "The following un-ignored files were created during the test:" + echo "$OUT" + exit 0 # TODO: change to 1 to fail tests. +fi + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + + false + true + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + **/*nose_results.html + false + false + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + **/*testr_results.html.gz + false + false + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + .testrepository/tmp* + false + false + true + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + **/*subunit_log.txt.gz + false + false + true + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/gate-tempest-devstack-vm-full/config.xml b/project-config/jenkins/jobs/gate-tempest-devstack-vm-full/config.xml new file mode 100644 index 00000000..b0908119 --- /dev/null +++ b/project-config/jenkins/jobs/gate-tempest-devstack-vm-full/config.xml @@ -0,0 +1,113 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + NODE_LABEL + + wip-devstack-jks + + + + + + devstack-precise + false + false + false + false + + false + + + # Change timezone to UTC to be generalized with elasticsearch +sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime +# add fixed ip mappings to avoid dns timeouts and point package downloads to local mirror +sudo sh -c "sed 's/91.189.91.14/10.145.81.232/' /etc/hosts > /etc/hosts.new" +sudo sh -c "sed 's/91.189.92.200/10.145.81.93/' /etc/hosts.new > /etc/hosts.newb" +sudo mv /etc/hosts.newb /etc/hosts +sudo sh -c "echo '199.27.77.185 pypi.python.org' >> /etc/hosts" +# cirros image source sometimes turns flaky, so use the local mirror +sudo sh -c "echo '10.145.81.236 download.cirros-cloud.net' >> /etc/hosts" + + + #!/bin/bash -xe +if [[ ! -e devstack-gate ]]; then + git clone http://10.145.81.234/openstackci/gerrit/p/devstack-gate +else + cd devstack-gate + git remote set-url origin http://10.145.81.234/openstackci/gerrit/p/devstack-gate + git remote update + git reset --hard + git clean -x -f + git checkout master + git reset --hard remotes/origin/master + git clean -x -f + cd .. +fi + + + #!/bin/bash -xe +export PYTHONUNBUFFERED=true +export DEVSTACK_GATE_TEMPEST=1 +export DEVSTACK_GATE_TEMPEST_FULL=1 +export BRANCH_OVERRIDE=default +if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export ZUUL_BRANCH=$BRANCH_OVERRIDE +fi +cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh +./safe-devstack-vm-gate-wrap.sh + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$LOG_PATH + logs/** + true + false + true + + + logs/$LOG_PATH + **/testr_results.html.gz + false + false + true + + + logs/$LOG_PATH + **/subunit_log.txt.gz + false + false + true + + + logs/$LOG_PATH + + false + true + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/gate-tempest-devstack-vm-neutron/config.xml b/project-config/jenkins/jobs/gate-tempest-devstack-vm-neutron/config.xml new file mode 100644 index 00000000..532117de --- /dev/null +++ b/project-config/jenkins/jobs/gate-tempest-devstack-vm-neutron/config.xml @@ -0,0 +1,112 @@ + + + + + + 30 + -1 + -1 + -1 + + false + + + false + + + + + NODE_LABEL + + wip-devstack-jks + + + + + + devstack-precise + false + false + false + false + + false + + + sudo ln -sf /usr/share/zoneinfo/UTC /etc/localtime +sudo sh -c "sed 's/91.189.91.14/10.145.81.232/' /etc/hosts > /etc/hosts.new" +sudo sh -c "sed 's/91.189.92.200/10.145.81.93/' /etc/hosts.new > /etc/hosts.newb" +sudo mv /etc/hosts.newb /etc/hosts +sudo sh -c "echo '199.27.77.185 pypi.python.org' >> /etc/hosts" +sudo sh -c "echo '10.145.81.236 download.cirros-cloud.net' >> /etc/hosts" + + + #!/bin/bash -xe +if [[ ! -e devstack-gate ]]; then + git clone http://10.145.81.234/openstackci/gerrit/p/devstack-gate +else + cd devstack-gate + git remote set-url origin http://10.145.81.234/openstackci/gerrit/p/devstack-gate + git remote update + git reset --hard + git clean -x -f + git checkout master + git reset --hard remotes/origin/master + git clean -x -f + cd .. +fi + + + #!/bin/bash -xe +export PYTHONUNBUFFERED=true +export DEVSTACK_GATE_TIMEOUT=120 +export DEVSTACK_GATE_TEMPEST=1 +export DEVSTACK_GATE_NEUTRON=1 +export DEVSTACK_GATE_SMOKE_SERIAL=1 +export BRANCH_OVERRIDE=default +if [ "$BRANCH_OVERRIDE" != "default" ] ; then + export ZUUL_BRANCH=$BRANCH_OVERRIDE +fi +cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh +./safe-devstack-vm-gate-wrap.sh + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$LOG_PATH + logs/** + true + false + true + + + logs/$LOG_PATH + **/testr_results.html.gz + false + false + true + + + logs/$LOG_PATH + **/subunit_log.txt.gz + false + false + true + + + logs/$LOG_PATH + + false + true + true + + + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/nova-coverage/config.xml b/project-config/jenkins/jobs/nova-coverage/config.xml new file mode 100644 index 00000000..61734689 --- /dev/null +++ b/project-config/jenkins/jobs/nova-coverage/config.xml @@ -0,0 +1,130 @@ + + + + + + 1 + -1 + -1 + -1 + + false + + + + + HTTP + http://127.0.0.1:8001/jenkins_endpoint + + + + + + + NODE_LABEL + Label of node to use for this build + precise + + + ZUUL_UUID + + + + + ZUUL_REF + + + + + ZUUL_COMMIT + + + + + ZUUL_PROJECT + + + + + ZUUL_PIPELINE + + + + + ZUUL_BRANCH + + + + + ZUUL_CHANGE + + + + + ZUUL_CHANGE_IDS + + + + + ZUUL_PATCHSET + + + + + ZUUL_OLDREV + + + + + ZUUL_NEWREV + + + + + ZUUL_SHORT_OLDREV + + + + + ZUUL_SHORT_NEWREV + + + + + + + + precise + false + false + false + false + + false + + + /usr/local/jenkins/slave_scripts/gerrit-git-prep.sh http://10.145.81.234/openstackci/gerrit http://10.145.81.234/openstackci/gerrit + + + export http_proxy=10.145.81.137:3128 +export https_proxy=10.145.81.137:3128 +export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" +/usr/local/jenkins/slave_scripts/run-cover.sh openstack nova + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + + false + true + true + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/periodic-nova-python26-stable-grizzly/config.xml b/project-config/jenkins/jobs/periodic-nova-python26-stable-grizzly/config.xml new file mode 100644 index 00000000..5d974d80 --- /dev/null +++ b/project-config/jenkins/jobs/periodic-nova-python26-stable-grizzly/config.xml @@ -0,0 +1,89 @@ + + + + + + 1 + -1 + -1 + -1 + + false + + + 2 + + + + + http://10.145.81.234/openstackci/gerrit/p/nova + + + + + stable/grizzly + + + false + false + false + false + false + false + false + false + false + + Default + + + + + + + + false + + + + precise26 + false + false + false + false + + false + + + export no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com" +/usr/local/jenkins/slave_scripts/run-tox.sh 26 openstack nova + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + **/*nose_results.html + false + false + true + + + + + root@10.145.81.234:/var/log/jenkins + + + logs/$ZUUL_CHANGE/$ZUUL_PATCHSET/$ZUUL_PIPELINE/$JOB_NAME/$BUILD_NUMBER + + false + true + true + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/submit-test-to-gerrit/config.xml b/project-config/jenkins/jobs/submit-test-to-gerrit/config.xml new file mode 100644 index 00000000..1b88e758 --- /dev/null +++ b/project-config/jenkins/jobs/submit-test-to-gerrit/config.xml @@ -0,0 +1,124 @@ + + + + + + 1 + -1 + -1 + -1 + + false + + + + + HTTP + http://127.0.0.1:8001/jenkins_endpoint + + + + + + + NODE_LABEL + + master + + + ZUUL_UUID + + + + + ZUUL_REF + + + + + ZUUL_COMMIT + + + + + ZUUL_PROJECT + + + + + ZUUL_PIPELINE + + + + + ZUUL_BRANCH + + + + + ZUUL_CHANGE + + + + + ZUUL_CHANGE_IDS + + + + + ZUUL_PATCHSET + + + + + ZUUL_OLDREV + + + + + ZUUL_NEWREV + + + + + ZUUL_SHORT_OLDREV + + + + + ZUUL_SHORT_NEWREV + + + + + + + + master + false + false + false + false + + false + + + #!/bin/bash -xe +if [[ ! -e test ]]; then + git clone ssh://admin@10.145.81.234:29418/test +else + rm -r test + git clone ssh://admin@10.145.81.234:29418/test + cd .. +fi + + + cd test +scp -p -P 29418 admin@10.145.81.234:hooks/commit-msg .git/hooks/ +git remote add gerrit ssh://admin@12.234.32.46:29418/test || true +git review -y + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/test-test1/config.xml b/project-config/jenkins/jobs/test-test1/config.xml new file mode 100644 index 00000000..a49514c3 --- /dev/null +++ b/project-config/jenkins/jobs/test-test1/config.xml @@ -0,0 +1,153 @@ + + + + + false + + + + + HTTP + http://127.0.0.1:8001/jenkins_endpoint + + + + + + + ZUUL_UUID + + + + + ZUUL_REF + + + + + ZUUL_COMMIT + + + + + ZUUL_PROJECT + + + + + ZUUL_PIPELINE + + + + + ZUUL_BRANCH + + + + + ZUUL_CHANGE + + + + + ZUUL_CHANGE_IDS + + + + + ZUUL_PATCHSET + + + + + ZUUL_OLDREV + + + + + ZUUL_NEWREV + + + + + ZUUL_SHORT_OLDREV + + + + + ZUUL_SHORT_NEWREV + + + + + + + + wip-devstack-jks + false + false + false + false + + false + + + + + + + DEVSTACK_NODE_NAME=${NODE_NAME} + + + devstack-update-inprogress + ALWAYS + false + + + FAILURE + 2 + RED + true + + + UNSTABLE + 1 + YELLOW + true + + + FAILURE + 2 + RED + true + + + false + + + + + sleep 20 + + + + + + + + + DEVSTACK_NODE_NAME=${NODE_NAME} +UPSTREAM_BUILD_URL=${BUILD_URL} +UPSTREAM_JOB_NAME=${JOB_NAME} +UPSTREAM_BRANCH=${ZUUL_BRANCH} + + + devstack-update-complete, + ALWAYS + false + + + + + + \ No newline at end of file diff --git a/project-config/jenkins/jobs/test-test2/config.xml b/project-config/jenkins/jobs/test-test2/config.xml new file mode 100644 index 00000000..9b7a02c4 --- /dev/null +++ b/project-config/jenkins/jobs/test-test2/config.xml @@ -0,0 +1,26 @@ + + + + + false + + + true + + + + centos-install + false + false + false + false + + false + + + sleep 10 + + + + + \ No newline at end of file diff --git a/project-config/zuul/images/logo.png b/project-config/zuul/images/logo.png new file mode 100644 index 00000000..38350094 Binary files /dev/null and b/project-config/zuul/images/logo.png differ diff --git a/project-config/zuul/layout.yaml b/project-config/zuul/layout.yaml new file mode 100644 index 00000000..b811069c --- /dev/null +++ b/project-config/zuul/layout.yaml @@ -0,0 +1,120 @@ +pipelines: + - name: check + description: Newly uploaded patchsets enter this pipeline to receive an initial +/-1 Verified vote from Jenkins. + success-message: Build succeeded. + failure-message: Build failed. + manager: IndependentPipelineManager + source: gerrit + precedence: normal + require: + open: True + current-patchset: True + trigger: + gerrit: + - event: patchset-created + - event: change-restored + - event: comment-added + comment: (?i)^(Patch Set [0-9]+:)?( [\w\\+-]*)*(\n\n)?\s*(recheck compassci) + - event: comment-added + require-approval: + - verified: [-1, -2] + - username: compass-ci + approval: + - workflow: 1 + success: + gerrit: + verified: 1 + failure: + gerrit: + verified: -1 + + - name: tests + manager: IndependentPipelineManager + trigger: + gerrit: + - event: patchset-created + email_filter: ^.*@example.org$ + success: + gerrit: + verified: 1 + failure: + gerrit: + verified: -1 + + - name: post + manager: IndependentPipelineManager + trigger: + gerrit: + - event: ref-updated + ref: ^(?!refs/).*$ + + - name: gate + manager: DependentPipelineManager + trigger: + gerrit: + - event: comment-added + approval: + - approved: 1 + start: + gerrit: + verified: 0 + success: + gerrit: + verified: 1 + failure: + gerrit: + verified: -1 + +jobs: + - name: compass-demo + branch: master + voting: true + + - name: compass-bare-e2e-allin1 + branch: master + voting: false + + - name: compass-bare-e2e-single-controller-allin1 + branch: master + voting: false + + - name: compass-bare-e2e-multinodes-allin1 + branch: master + voting: false + + - name: compass-bare-e2e-single-contoller-multi-compute + branch: master + voting: false + + - name: compass-bare-e2e-osonly + branch: master + voting: false + + - name: compass-bare-e2e-allin1-ubuntu + branch: master + voting: false + + - name: compass-bare-e2e-single-contoller-multi-compute-ubuntu + branch: master + voting: false + +projects: + - name: stackforge/compass-core + check: + - compass-demo + - compass-bare-e2e-allin1 + - compass-bare-e2e-single-controller-allin1 + - compass-bare-e2e-single-contoller-multi-compute + - compass-bare-e2e-osonly + - compass-bare-e2e-allin1-ubuntu + - compass-bare-e2e-single-contoller-multi-compute-ubuntu + + - name: stackforge/compass-adapters + check: + - compass-demo + - compass-bare-e2e-allin1 + - compass-bare-e2e-single-controller-allin1 + - compass-bare-e2e-single-contoller-multi-compute + - compass-bare-e2e-osonly + - compass-bare-e2e-allin1-ubuntu + - compass-bare-e2e-single-contoller-multi-compute-ubuntu diff --git a/project-config/zuul/logging.conf b/project-config/zuul/logging.conf new file mode 100644 index 00000000..4ba039ec --- /dev/null +++ b/project-config/zuul/logging.conf @@ -0,0 +1,44 @@ +[loggers] +keys=root,zuul,gerrit + +[handlers] +keys=console,debug,normal + +[formatters] +keys=simple + +[logger_root] +level=WARNING +handlers=console + +[logger_zuul] +level=INFO +handlers=debug,normal +qualname=zuul + +[logger_gerrit] +level=DEBUG +handlers=debug,normal +qualname=gerrit + +[handler_console] +level=WARNING +class=StreamHandler +formatter=simple +args=(sys.stdout,) + +[handler_debug] +level=DEBUG +class=logging.handlers.TimedRotatingFileHandler +formatter=simple +args=('/var/log/zuul/debug.log', 'midnight', 1, 30,) + +[handler_normal] +level=INFO +class=logging.handlers.TimedRotatingFileHandler +formatter=simple +args=('/var/log/zuul/zuul.log', 'midnight', 1, 30,) + +[formatter_simple] +format=%(asctime)s %(levelname)s %(name)s: %(message)s +datefmt= diff --git a/project-config/zuul/merger-logging.conf b/project-config/zuul/merger-logging.conf new file mode 100644 index 00000000..1807f2a4 --- /dev/null +++ b/project-config/zuul/merger-logging.conf @@ -0,0 +1,49 @@ +[loggers] +keys=root,zuul,gerrit,gear + +[handlers] +keys=console,debug,normal + +[formatters] +keys=simple + +[logger_root] +level=WARNING +handlers=console + +[logger_zuul] +level=DEBUG +handlers=debug,normal +qualname=zuul + +[logger_gerrit] +level=INFO +handlers=debug,normal +qualname=gerrit + +[logger_gear] +level=WARNING +handlers=debug,normal +qualname=gear + +[handler_console] +level=WARNING +class=StreamHandler +formatter=simple +args=(sys.stdout,) + +[handler_debug] +level=DEBUG +class=logging.handlers.WatchedFileHandler +formatter=simple +args=('/var/log/zuul/merger-debug.log',) + +[handler_normal] +level=INFO +class=logging.handlers.WatchedFileHandler +formatter=simple +args=('/var/log/zuul/merger.log',) + +[formatter_simple] +format=%(asctime)s %(levelname)s %(name)s: %(message)s +datefmt= diff --git a/project-config/zuul/www/zuul.app.js b/project-config/zuul/www/zuul.app.js new file mode 100644 index 00000000..6cf04ed2 --- /dev/null +++ b/project-config/zuul/www/zuul.app.js @@ -0,0 +1,104 @@ +// Client script for Zuul status page +// +// Copyright 2013 OpenStack Foundation +// Copyright 2013 Timo Tijhof +// Copyright 2013 Wikimedia Foundation +// Copyright 2014 Rackspace Australia +// +// Licensed under the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. You may obtain +// a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +// WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +// License for the specific language governing permissions and limitations +// under the License. + +/*exported zuul_build_dom, zuul_start */ + +function zuul_build_dom($, container) { + // Build a default-looking DOM + var default_layout = '
' + + '

Compass-CI Status

' + + '

Real-time status monitor of Zuul, the pipeline manager between Gerrit and Workers.

' + + '
' + + '' + + '' + + '

Queue lengths: 0 events, 0 results.

' + + '
' + + '
' + + '

Zuul version:

' + + '

Last reconfigured:

' + + '
'; + + $(function ($) { + // DOM ready + var $container = $(container); + $container.html(default_layout); + }); +} + +/** + * @return The $.zuul instance + */ +function zuul_start($) { + // Start the zuul app (expects default dom) + + var $container, $indicator; + var demo = location.search.match(/[?&]demo=([^?&]*)/), + source_url = location.search.match(/[?&]source_url=([^?&]*)/), + source = demo ? './status-' + (demo[1] || 'basic') + '.json-sample' : + 'status.json'; + source = source_url ? source_url[1] : source; + + var zuul = $.zuul({ + source: source, + //graphite_url: 'http://graphite.openstack.org/render/' + }); + + zuul.jq.on('update-start', function () { + $container.addClass('zuul-container-loading'); + $indicator.addClass('zuul-spinner-on'); + }); + + zuul.jq.on('update-end', function () { + $container.removeClass('zuul-container-loading'); + setTimeout(function () { + $indicator.removeClass('zuul-spinner-on'); + }, 500); + }); + + zuul.jq.one('update-end', function () { + // Do this asynchronous so that if the first update adds a + // message, it will not animate while we fade in the content. + // Instead it simply appears with the rest of the content. + setTimeout(function () { + // Fade in the content + $container.addClass('zuul-container-ready'); + }); + }); + + $(function ($) { + // DOM ready + $container = $('#zuul-container'); + $indicator = $('#zuul-spinner'); + $('#zuul_controls').append(zuul.app.control_form()); + + zuul.app.schedule(); + + $(document).on({ + 'show.visibility': function () { + zuul.options.enabled = true; + zuul.app.update(); + }, + 'hide.visibility': function () { + zuul.options.enabled = false; + } + }); + }); + + return zuul; +} diff --git a/project-config/zuul/zuul.conf b/project-config/zuul/zuul.conf new file mode 100644 index 00000000..9c6d3f66 --- /dev/null +++ b/project-config/zuul/zuul.conf @@ -0,0 +1,27 @@ +[gearman] +server=127.0.0.1 +port=4730 + +[gearman_server] +start=true + +[gerrit] +server=review.openstack.org +baseurl=http://review.openstack.org +user=compass-ci +sshkey=/var/lib/zuul/ssh/compass_ci_ssh_key + +[zuul] +layout_config=/etc/zuul/layout.yaml +log_config=/etc/zuul/logging.conf +pidfile=/var/run/zuul/zuul.pid +state_dir=/var/lib/zuul +status_url=http://10.145.81.82/status +job_name_in_report=true + +[merger] +git_dir=/var/lib/zuul/git +git_user_email=compasscitest@gmail.com +git_user_name=compass-ci +zuul_url=http://10.145.81.82/p +log_config=/etc/zuul/merger-logging.conf