diff options
author | Nick Thomas <nick@gitlab.com> | 2019-06-05 15:58:35 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-06-05 15:58:35 +0100 |
commit | 4e5f50d734fece64e29d2c89805a38d3071693ef (patch) | |
tree | 5a4ba908d1a33bc257c9b4aae2bc6f48c6532c0e /.gitlab | |
parent | 422fa21d0a7a4f7dd36ccb42e484c721398558b0 (diff) | |
download | gitlab-ce-4e5f50d734fece64e29d2c89805a38d3071693ef.tar.gz |
Harden gitlab:assets:compile against transient network failures
Diffstat (limited to '.gitlab')
-rw-r--r-- | .gitlab/ci/frontend.gitlab-ci.yml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab/ci/frontend.gitlab-ci.yml b/.gitlab/ci/frontend.gitlab-ci.yml index d62b24ae97d..326bc5981c1 100644 --- a/.gitlab/ci/frontend.gitlab-ci.yml +++ b/.gitlab/ci/frontend.gitlab-ci.yml @@ -33,9 +33,9 @@ gitlab:assets:compile: DOCKER_HOST: tcp://docker:2375 script: - node --version - - yarn install --frozen-lockfile --production --cache-folder .yarn-cache + - retry yarn install --frozen-lockfile --production --cache-folder .yarn-cache - free -m - - bundle exec rake gitlab:assets:compile + - retry bundle exec rake gitlab:assets:compile - time scripts/build_assets_image - scripts/clean-old-cached-assets - rm -f /etc/apt/sources.list.d/google*.list # We don't need to update Chrome here @@ -65,9 +65,9 @@ compile-assets: stage: prepare script: - node --version - - yarn install --frozen-lockfile --cache-folder .yarn-cache + - retry yarn install --frozen-lockfile --cache-folder .yarn-cache - free -m - - bundle exec rake gitlab:assets:compile + - retry bundle exec rake gitlab:assets:compile - scripts/clean-old-cached-assets variables: # we override the max_old_space_size to prevent OOM errors |