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/08/10 19:57] gsamfira |
howto-hyperv-ci [2015/09/25 16:03] (current) ibalutoiu |
||
---|---|---|---|
Line 139: | Line 139: | ||
Using that file we will now deploy our charms. Take note, charms will be configured to use the information you provide: | Using that file we will now deploy our charms. Take note, charms will be configured to use the information you provide: | ||
- | juju-deployer -S -c filename.yaml | + | juju-deployer |
At the end you should have something like this: | At the end you should have something like this: | ||
Line 184: | Line 184: | ||
git clone https:// | git clone https:// | ||
cd common-ci && git checkout redmondridge | cd common-ci && git checkout redmondridge | ||
+ | | ||
+ | mkdir -p ~/ | ||
+ | git clone https:// | ||
+ | | ||
+ | mkdir -p ~/ | ||
+ | git clone git@bitbucket.org: | ||
+ | cd active-directory | ||
+ | ./ | ||
+ | | ||
+ | mkdir -p ~/ | ||
+ | git clone https:// | ||
+ | | ||
exit | exit | ||
sudo ln -s / | sudo ln -s / | ||
Line 288: | 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 312: | 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=$? | ||