fuel: Hardcode the fuel poc-tacker.sh script to checkout the patch 05/10605/1
authorFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 24 Feb 2016 15:09:44 +0000 (16:09 +0100)
committerFatih Degirmenci <fatih.degirmenci@ericsson.com>
Wed, 24 Feb 2016 15:09:44 +0000 (16:09 +0100)
This will be removed once the manual runs are done.

Change-Id: I2cc40373a2a5a05e42dca23e253fecbe3e3b7786
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
jjb/fuel/fuel-deploy.sh

index 355678f..bab6151 100755 (executable)
@@ -127,9 +127,15 @@ expect {
 expect "# "
 send "/usr/bin/ssh -l root $::env(CONTROLLER_NODE_IP)\r"
 expect "# "
-send "/usr/bin/curl -o /root/poc.tacker-up.sh $::env(TACKER_SCRIPT_URL)\r"
+send "sudo apt-get install -y git\r"
 expect "# "
-send "/bin/bash /root/poc.tacker-up.sh\r"
+send "/bin/mkdir -p /root/sfc-poc && cd /root/sfc-poc\r"
+expect "# "
+send "git clone https://gerrit.opnfv.org/gerrit/fuel && cd fuel\r"
+expect "# "
+send "git fetch https://gerrit.opnfv.org/gerrit/fuel refs/changes/97/10597/2 && git checkout FETCH_HEAD\r"
+expect "# "
+send "/bin/bash /root/sfc-poc/fuel/prototypes/sfc_tacker/poc.tacker-up.sh\r"
 expect "# "
 send "exit\r"
 expect "Connection to $::env(CONTROLLER_NODE_IP) closed. "