Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/.gitlab-ci.yml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,9 @@ fetch:
- REMOTE=`realpath --relative-base="$HOME" .`
- NEW_HEAD=`git rev-parse HEAD`
- cd ~gitlab-runner/builds/${AK_WORKING_DIR}
# || true if the remote already exists
- git remote add --mirror=fetch $REMOTE ~/$REMOTE || true
# Remove all remotes:
- git remote | xargs -n1 git remote remove
- git remote add --mirror=fetch $REMOTE ~/$REMOTE
- git fetch --all
- git checkout ${NEW_HEAD}
needs: ["prebuild"]
Expand Down Expand Up @@ -373,6 +374,8 @@ review:
needs:
- job: "update_db"
optional: true
- job: "publish_db"
optional: true
- job: "build"
optional: true
rules:
Expand Down Expand Up @@ -418,6 +421,8 @@ review_preprod:
needs:
- job: "update_db"
optional: true
- job: "publish_db"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's the opposit no?
publish after review_preprod

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm yes probably

optional: true
- job: "build"
optional: true

Expand Down