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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
c0993923
Commit
c0993923
authored
Jun 14, 2019
by
Heinrich Lee Yu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only push to assets-compile-cache in master
Also update dependencies to match updated job names
parent
2764035f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
5 deletions
+39
-5
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+38
-5
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+1
-0
No files found.
.gitlab/ci/frontend.gitlab-ci.yml
View file @
c0993923
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
-
vendor/ruby/
-
vendor/ruby/
-
.yarn-cache/
-
.yarn-cache/
-
tmp/cache/assets/sprockets
-
tmp/cache/assets/sprockets
policy
:
pull-push
.use-pg
:
&use-pg
.use-pg
:
&use-pg
services
:
services
:
...
@@ -13,7 +12,7 @@
...
@@ -13,7 +12,7 @@
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
-
name
:
redis:alpine
-
name
:
redis:alpine
gitlab:assets:compile
:
.gitlab:assets:compile-metadata
:
<<
:
*assets-compile-cache
<<
:
*assets-compile-cache
extends
:
.dedicated-no-docs-pull-cache-job
extends
:
.dedicated-no-docs-pull-cache-job
image
:
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.3-git-2.21-chrome-73.0-node-12.x-yarn-1.16-graphicsmagick-1.3.29-docker-18.06.1
image
:
dev.gitlab.org:5005/gitlab/gitlab-build-images:ruby-2.6.3-git-2.21-chrome-73.0-node-12.x-yarn-1.16-graphicsmagick-1.3.29-docker-18.06.1
...
@@ -58,7 +57,23 @@ gitlab:assets:compile:
...
@@ -58,7 +57,23 @@ gitlab:assets:compile:
-
docker
-
docker
-
gitlab-org
-
gitlab-org
compile-assets
:
gitlab:assets:compile:
extends
:
.gitlab:assets:compile-metadata
cache
:
policy
:
pull-push
only
:
-
master@gitlab-org/gitlab-ce
-
master@gitlab-org/gitlab-ee
gitlab:assets:compile pull-cache
:
extends
:
.gitlab:assets:compile-metadata
cache
:
policy
:
pull
except
:
-
master@gitlab-org/gitlab-ce
-
master@gitlab-org/gitlab-ee
.compile-assets-metadata
:
extends
:
.dedicated-runner
extends
:
.dedicated-runner
<<
:
*use-pg
<<
:
*use-pg
<<
:
*assets-compile-cache
<<
:
*assets-compile-cache
...
@@ -77,8 +92,22 @@ compile-assets:
...
@@ -77,8 +92,22 @@ compile-assets:
paths
:
paths
:
-
node_modules
-
node_modules
-
public/assets
-
public/assets
compile-assets
:
extends
:
.compile-assets-metadata
cache
:
policy
:
pull-push
only
:
-
master@gitlab-org/gitlab-ce
-
master@gitlab-org/gitlab-ee
compile-assets pull-cache
:
extends
:
.compile-assets-metadata
cache
:
policy
:
pull
except
:
except
:
refs
:
-
master@gitlab-org/gitlab-ce
-
master@gitlab-org/gitlab-ee
-
/(^docs[\/-].*|.*-docs$)/
-
/(^docs[\/-].*|.*-docs$)/
gitlab:ui:visual:
gitlab:ui:visual:
...
@@ -87,6 +116,7 @@ gitlab:ui:visual:
...
@@ -87,6 +116,7 @@ gitlab:ui:visual:
allow_failure
:
true
allow_failure
:
true
dependencies
:
dependencies
:
-
compile-assets
-
compile-assets
-
compile-assets pull-cache
script
:
script
:
# Remove node modules from GitLab that may conflict with gitlab-ui
# Remove node modules from GitLab that may conflict with gitlab-ui
-
rm -r node_modules
-
rm -r node_modules
...
@@ -116,6 +146,7 @@ karma:
...
@@ -116,6 +146,7 @@ karma:
<<
:
*use-pg
<<
:
*use-pg
dependencies
:
dependencies
:
-
compile-assets
-
compile-assets
-
compile-assets pull-cache
-
setup-test-env
-
setup-test-env
variables
:
variables
:
# we override the max_old_space_size to prevent OOM errors
# we override the max_old_space_size to prevent OOM errors
...
@@ -142,6 +173,7 @@ jest:
...
@@ -142,6 +173,7 @@ jest:
<<
:
*use-pg
<<
:
*use-pg
dependencies
:
dependencies
:
-
compile-assets
-
compile-assets
-
compile-assets pull-cache
-
setup-test-env
-
setup-test-env
script
:
script
:
-
scripts/gitaly-test-spawn
-
scripts/gitaly-test-spawn
...
@@ -232,6 +264,7 @@ jsdoc:
...
@@ -232,6 +264,7 @@ jsdoc:
stage
:
post-test
stage
:
post-test
dependencies
:
dependencies
:
-
compile-assets
-
compile-assets
-
compile-assets pull-cache
before_script
:
[]
before_script
:
[]
script
:
script
:
-
date
-
date
...
...
.gitlab/ci/rails.gitlab-ci.yml
View file @
c0993923
...
@@ -236,6 +236,7 @@ static-analysis:
...
@@ -236,6 +236,7 @@ static-analysis:
extends
:
.dedicated-no-docs-no-db-pull-cache-job
extends
:
.dedicated-no-docs-no-db-pull-cache-job
dependencies
:
dependencies
:
-
compile-assets
-
compile-assets
-
compile-assets pull-cache
-
setup-test-env
-
setup-test-env
script
:
script
:
-
scripts/static-analysis
-
scripts/static-analysis
...
...
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