From f5c797719df7cfc963e7997523b28d599cd05d05 Mon Sep 17 00:00:00 2001 From: Martin Gruner Date: Fri, 17 Dec 2021 14:24:30 +0100 Subject: [PATCH] Maintenance: Fix GIT push handling to not use shallow clones. --- .gitlab/ci/pre.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitlab/ci/pre.yml b/.gitlab/ci/pre.yml index fab758dce..e50b60fff 100644 --- a/.gitlab/ci/pre.yml +++ b/.gitlab/ci/pre.yml @@ -39,7 +39,7 @@ brakeman: artifacts: expire_in: 1 week paths: - - tmp/brakeman-report.html + - tmp/brakeman-report.html when: on_failure script: - bundle install -j $(nproc) --path vendor @@ -62,8 +62,9 @@ github: tags: - deploy before_script: - - "" # no RVM present in deploy ENV + - '' # no RVM present in deploy ENV script: + - git fetch --unshallow - script/build/sync_repo.sh git@github.com:zammad/zammad.git global_refresh_envs: @@ -77,7 +78,7 @@ global_refresh_envs: artifacts: expire_in: 1 day paths: - - fresh.env + - fresh.env rules: - if: $CI_MERGE_REQUEST_ID when: never