Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4e5f50d7
Commit
4e5f50d7
authored
Jun 05, 2019
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Harden gitlab:assets:compile against transient network failures
parent
422fa21d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+4
-4
No files found.
.gitlab/ci/frontend.gitlab-ci.yml
View file @
4e5f50d7
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment