Maintenance: Fix GIT push handling to not use shallow clones.
This commit is contained in:
parent
616c436b44
commit
c814e79a1b
1 changed files with 4 additions and 3 deletions
|
@ -58,7 +58,7 @@ brakeman:
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- tmp/brakeman-report.html
|
- tmp/brakeman-report.html
|
||||||
when: on_failure
|
when: on_failure
|
||||||
script:
|
script:
|
||||||
- bundle install -j $(nproc) --path vendor
|
- bundle install -j $(nproc) --path vendor
|
||||||
|
@ -89,8 +89,9 @@ github:
|
||||||
tags:
|
tags:
|
||||||
- deploy
|
- deploy
|
||||||
before_script:
|
before_script:
|
||||||
- "" # no RVM present in deploy ENV
|
- '' # no RVM present in deploy ENV
|
||||||
script:
|
script:
|
||||||
|
- git fetch --unshallow
|
||||||
- script/build/sync_repo.sh git@github.com:zammad/zammad.git
|
- script/build/sync_repo.sh git@github.com:zammad/zammad.git
|
||||||
|
|
||||||
global_refresh_envs:
|
global_refresh_envs:
|
||||||
|
@ -104,7 +105,7 @@ global_refresh_envs:
|
||||||
artifacts:
|
artifacts:
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
- fresh.env
|
- fresh.env
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_MERGE_REQUEST_ID
|
- if: $CI_MERGE_REQUEST_ID
|
||||||
when: never
|
when: never
|
||||||
|
|
Loading…
Reference in a new issue