Commit 106c7478 authored by Romain Courteaud's avatar Romain Courteaud

Update git repository each time

parent 29b9c0c0
......@@ -33,8 +33,9 @@ repository = https://saneftestbot:kucahS5oav6jahch@git.erp5.org/repos/slapos/san
branch = deployment_generic_CR1094
# Note: GIT_SSL_NO_VERIFY is used as SlapOS OpenSSL configuration does not
# contain master certificates to verify.
command = (GIT_SSL_NO_VERIFY=1 ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location}) || (rm -fr ${:location} && exit 1)
update-command =
revision =
command = (GIT_SSL_NO_VERIFY=1 ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location}) && if [ -n ${:revision} ]; then cd ${:location} && (GIT_SSL_NO_VERIFY=1 ${git:location}/bin/git reset --quiet --hard ${:revision}) ; fi
update-command = cd ${:location} && (GIT_SSL_NO_VERIFY=1 ${git:location}/bin/git pull --quiet) && if [ -n ${:revision} ]; then cd ${:location} && (GIT_SSL_NO_VERIFY=1 ${git:location}/bin/git reset --quiet --hard ${:revision}) ; fi
[check-recipe]
recipe = plone.recipe.command
......
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