Commit 11d0c7c0 authored by Sean McGivern's avatar Sean McGivern

Merge branch 'fix-full-repo-cache' into 'master'

Restore `cd $CI_PROJECT_NAME` to fix full repo cache

See merge request gitlab-org/gitlab!47514
parents d170dd63 073be9eb
...@@ -49,6 +49,7 @@ cache-repo: ...@@ -49,6 +49,7 @@ cache-repo:
cd .. && rm -rf $CI_PROJECT_NAME; cd .. && rm -rf $CI_PROJECT_NAME;
echo "Cloning $CI_REPOSITORY_URL into $CI_PROJECT_NAME."; echo "Cloning $CI_REPOSITORY_URL into $CI_PROJECT_NAME.";
time git clone --progress $CI_REPOSITORY_URL $CI_PROJECT_NAME; time git clone --progress $CI_REPOSITORY_URL $CI_PROJECT_NAME;
cd $CI_PROJECT_NAME;
echo "Archiving $CI_PROJECT_NAME into /tmp/$FULL_CLONE_TAR_FILENAME."; echo "Archiving $CI_PROJECT_NAME into /tmp/$FULL_CLONE_TAR_FILENAME.";
time tar cf /tmp/$FULL_CLONE_TAR_FILENAME .; time tar cf /tmp/$FULL_CLONE_TAR_FILENAME .;
echo "GZipping /tmp/$FULL_CLONE_TAR_FILENAME."; echo "GZipping /tmp/$FULL_CLONE_TAR_FILENAME.";
......
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