Commit f6e3923d authored by Łukasz Nowak's avatar Łukasz Nowak

deploy-test: Provide erp5 checkout of controled revision

Instead of forcing the test to fetch unknown erp5 revision, inject
erp5.git checkout of required revision.
parent 221e8c29
...@@ -21,6 +21,7 @@ command = ...@@ -21,6 +21,7 @@ command =
dest=`echo ../*/srv/public` dest=`echo ../*/srv/public`
cp ${playbook:output} $dest/playbook.tar.gz && cp ${playbook:output} $dest/playbook.tar.gz &&
cp ${slapos-tarball:output} $dest/slapos.tar.gz && cp ${slapos-tarball:output} $dest/slapos.tar.gz &&
cp ${erp5-tarball:output} $dest/erp5.tar.gz &&
cp ${standalone-local-playbook:location} $dest/standalone-local-playbook cp ${standalone-local-playbook:location} $dest/standalone-local-playbook
fi fi
......
...@@ -49,6 +49,11 @@ output = ${:location}/playbook.tar.gz ...@@ -49,6 +49,11 @@ output = ${:location}/playbook.tar.gz
input = ${slapos-repository:repository} input = ${slapos-repository:repository}
output = ${:location}/slapos.tar.gz output = ${:location}/slapos.tar.gz
[erp5-tarball]
<= tarball
input = ${erp5-repository:repository}
output = ${:location}/erp5.tar.gz
[test-location] [test-location]
base = ${slapos-package:location} base = ${slapos-package:location}
......
...@@ -2194,6 +2194,14 @@ wget -O $TFILE http://10.0.2.100/slapos.tar.gz ...@@ -2194,6 +2194,14 @@ wget -O $TFILE http://10.0.2.100/slapos.tar.gz
tar -xzf $TFILE tar -xzf $TFILE
rm $TFILE rm $TFILE
DFILE="/test/erp5/"
TFILE="archive.tar.gz"
mkdir -p $DFILE
cd $DFILE
wget -O $TFILE http://10.0.2.100/erp5.tar.gz
tar -xzf $TFILE
rm $TFILE
clear clear
echo "Starting Ansible playbook:" echo "Starting Ansible playbook:"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment