Skip to content
Snippets Groups Projects
Commit ff575e40 authored by Kamil Andoniadis's avatar Kamil Andoniadis
Browse files

Merge branch '8-clone-recursively-all-submodules-after-revision-checkout' into 'master'

clone submodules after revision checkout

Closes #8

See merge request kypo-crp/backend-python/kypo-ansible-runner!10
parents d2171d1d 0fdf507b
No related branches found
No related tags found
No related merge requests found
...@@ -49,11 +49,12 @@ if [ $? != 0 ]; then ...@@ -49,11 +49,12 @@ if [ $? != 0 ]; then
exit 1 exit 1
fi fi
git clone --recurse-submodules $REPO_URL ansible_repo git clone $REPO_URL ansible_repo
cd ansible_repo cd ansible_repo
if [ $REVISION ]; then if [ $REVISION ]; then
git checkout $REVISION || exit 1 git checkout $REVISION || exit 1
fi fi
git submodule update --init --recursive
cd provisioning || exit 1 cd provisioning || exit 1
REQUIREMENTS_FILE="requirements.yml" REQUIREMENTS_FILE="requirements.yml"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment