Skip to content
Snippets Groups Projects
Commit 2f7ff3d6 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Fix CI variables

parent 83848415
No related branches found
No related tags found
No related merge requests found
...@@ -37,12 +37,11 @@ before_script: ...@@ -37,12 +37,11 @@ before_script:
build: build:
script: script:
- | - |
[ -d "$CI_PROJECT_DIR" -a ! -d "$CI_PROJECT_DIR/.git" ] && rm -rf "$CI_PROJECT_DIR" && [ -d "$CI_PROJECT_NAME" ] || git clone "$CI_REPOSITORY_URL" "$CI_PROJECT_NAME" &&
[ -d "$CI_PROJECT_DIR" ] || git clone "$CI_BUILD_REPO" "$CI_PROJECT_DIR" && cd "$CI_PROJECT_NAME" &&
cd "$CI_PROJECT_DIR" && git remote set-url origin "$CI_REPOSITORY_URL" &&
git remote set-url origin "$CI_BUILD_REPO" &&
git fetch origin && git fetch origin &&
git checkout "$CI_BUILD_REF" && git checkout "$CI_COMMIT_SHA" &&
git submodule update --init --recursive && git submodule update --init --recursive &&
source "$HOME/.cargo/env" && source "$HOME/.cargo/env" &&
rustup update && rustup update &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment