This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
howto-hyperv-ci [2015/09/04 18:59] gsamfira |
howto-hyperv-ci [2015/09/25 16:03] (current) ibalutoiu |
||
|---|---|---|---|
| Line 187: | Line 187: | ||
| mkdir -p ~/ | mkdir -p ~/ | ||
| git clone https:// | git clone https:// | ||
| + | | ||
| mkdir -p ~/ | mkdir -p ~/ | ||
| git clone git@bitbucket.org: | git clone git@bitbucket.org: | ||
| cd active-directory | cd active-directory | ||
| ./ | ./ | ||
| + | | ||
| mkdir -p ~/ | mkdir -p ~/ | ||
| git clone https:// | git clone https:// | ||
| + | | ||
| exit | exit | ||
| sudo ln -s / | sudo ln -s / | ||
| Line 297: | Line 300: | ||
| set -x | set -x | ||
| set +e | set +e | ||
| + | |||
| + | BUNDLE_LOCATION=$(mktemp) | ||
| + | UUID=$ZUUL_UUID | ||
| + | |||
| + | cat << EOF > $BUNDLE_LOCATION | ||
| + | nova: | ||
| + | overrides: | ||
| + | data-port: "space delimited mac address list" | ||
| + | external-port: | ||
| + | zuul-branch: | ||
| + | zuul-change: | ||
| + | zuul-project: | ||
| + | zuul-ref: $ZUUL_REF | ||
| + | zuul-url: $ZUUL_URL | ||
| + | relations: | ||
| + | - - devstack-$UUID | ||
| + | - hyper-v-ci-$UUID | ||
| + | - - hyper-v-ci-$UUID | ||
| + | - active-directory | ||
| + | services: | ||
| + | active-directory: | ||
| + | branch: https:// | ||
| + | charm: local: | ||
| + | num_units: 1 | ||
| + | options: | ||
| + | domain-name: | ||
| + | password: Passw0rd | ||
| + | devstack-$UUID: | ||
| + | branch: https:// | ||
| + | charm: local: | ||
| + | num_units: 1 | ||
| + | options: | ||
| + | disabled-services: | ||
| + | enable-plugin: | ||
| + | enabled-services: | ||
| + | neutron q-svc q-agt q-dhcp q-l3 q-meta q-lbaas q-fwaas q-metering q-vpn | ||
| + | g-api g-reg cinder c-api c-vol c-sch c-bak s-proxy s-object s-container | ||
| + | s-account heat h-api h-api-cfn h-api-cw h-eng tempest | ||
| + | extra-packages: | ||
| + | python3.4-dev g++ g++-4.8 pkg-config libvirt-dev | ||
| + | extra-python-packages: | ||
| + | heat-image-url: | ||
| + | test-image-url: | ||
| + | vlan-range: 2500:2550 | ||
| + | hyper-v-ci-$UUID: | ||
| + | branch: https:// | ||
| + | charm: local: | ||
| + | num_units: 2 | ||
| + | options: | ||
| + | download-mirror: | ||
| + | extra-python-packages: | ||
| + | git-user-email: | ||
| + | git-user-name: | ||
| + | pypi-mirror: | ||
| + | EOF | ||
| + | |||
| export JUJU_REPOSITORY=$HOME/ | export JUJU_REPOSITORY=$HOME/ | ||
| - | ci-deployer deploy --zuul-uuid | + | ci-deployer deploy --template |
| build_exit_code=$? | build_exit_code=$? | ||
| Line 321: | Line 380: | ||
| #destroy charms, services and used nodes. | #destroy charms, services and used nodes. | ||
| - | ci-deployer teardown --zuul-uuid $ZUUL_UUID | + | ci-deployer teardown --search-string |
| cleanup_exit_code=$? | cleanup_exit_code=$? | ||