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
e533d093
Commit
e533d093
authored
Dec 14, 2021
by
Fu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add REGISTRY_HOST and REGISTRY_GROUP vars in .gitlab-ci yml
parent
1d68034f
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
18 additions
and
15 deletions
+18
-15
.gitlab-ci.yml
.gitlab-ci.yml
+4
-1
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+2
-2
.gitlab/ci/global.gitlab-ci.yml
.gitlab/ci/global.gitlab-ci.yml
+7
-7
.gitlab/ci/review-apps/main.gitlab-ci.yml
.gitlab/ci/review-apps/main.gitlab-ci.yml
+1
-1
.gitlab/ci/review.gitlab-ci.yml
.gitlab/ci/review.gitlab-ci.yml
+1
-1
.gitlab/ci/static-analysis.gitlab-ci.yml
.gitlab/ci/static-analysis.gitlab-ci.yml
+1
-1
.gitlab/ci/workhorse.gitlab-ci.yml
.gitlab/ci/workhorse.gitlab-ci.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
e533d093
...
@@ -16,7 +16,7 @@ stages:
...
@@ -16,7 +16,7 @@ stages:
# in cases where jobs require Docker-in-Docker, the job
# in cases where jobs require Docker-in-Docker, the job
# definition must be extended with `.use-docker-in-docker`
# definition must be extended with `.use-docker-in-docker`
default
:
default
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.36"
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.36
tags
:
tags
:
-
gitlab-org
-
gitlab-org
# All jobs are interruptible by default
# All jobs are interruptible by default
...
@@ -96,6 +96,9 @@ variables:
...
@@ -96,6 +96,9 @@ variables:
# Default latest tag for particular branch
# Default latest tag for particular branch
QA_IMAGE_BRANCH
:
"
${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-ee-qa:${CI_COMMIT_REF_SLUG}"
QA_IMAGE_BRANCH
:
"
${CI_REGISTRY}/${CI_PROJECT_PATH}/gitlab-ee-qa:${CI_COMMIT_REF_SLUG}"
REGISTRY_HOST
:
"
registry.gitlab.com"
REGISTRY_GROUP
:
"
gitlab-org"
# Preparing custom clone path to reduce space used by all random forks
# Preparing custom clone path to reduce space used by all random forks
# on GitLab.com's Shared Runners. Our main forks - especially the security
# on GitLab.com's Shared Runners. Our main forks - especially the security
# ones - will have this variable overwritten in the project settings, so that
# ones - will have this variable overwritten in the project settings, so that
...
...
.gitlab/ci/frontend.gitlab-ci.yml
View file @
e533d093
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
-
.default-retry
-
.default-retry
-
.default-before_script
-
.default-before_script
-
.assets-compile-cache
-
.assets-compile-cache
image
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:ruby-2.7-git-2.33-lfs-2.9-node-14.15-yarn-1.22-graphicsmagick-1.3.36
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:ruby-2.7-git-2.33-lfs-2.9-node-14.15-yarn-1.22-graphicsmagick-1.3.36
variables
:
variables
:
SETUP_DB
:
"
false"
SETUP_DB
:
"
false"
WEBPACK_VENDOR_DLL
:
"
true"
WEBPACK_VENDOR_DLL
:
"
true"
...
@@ -331,7 +331,7 @@ bundle-size-review:
...
@@ -331,7 +331,7 @@ bundle-size-review:
extends
:
extends
:
-
.default-retry
-
.default-retry
-
.frontend:rules:bundle-size-review
-
.frontend:rules:bundle-size-review
image
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:danger
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:danger
stage
:
test
stage
:
test
needs
:
[
"
compile-production-assets"
]
needs
:
[
"
compile-production-assets"
]
script
:
script
:
...
...
.gitlab/ci/global.gitlab-ci.yml
View file @
e533d093
...
@@ -213,7 +213,7 @@
...
@@ -213,7 +213,7 @@
-
*storybook-node-modules-cache-push
-
*storybook-node-modules-cache-push
.use-pg11
:
.use-pg11
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.36"
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.36
services
:
services
:
-
name
:
postgres:11.6
-
name
:
postgres:11.6
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"
]
...
@@ -222,7 +222,7 @@
...
@@ -222,7 +222,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg12
:
.use-pg12
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36"
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36
services
:
services
:
-
name
:
postgres:12
-
name
:
postgres:12
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"
]
...
@@ -231,7 +231,7 @@
...
@@ -231,7 +231,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg13
:
.use-pg13
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-13-graphicsmagick-1.3.36"
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-13-graphicsmagick-1.3.36
services
:
services
:
-
name
:
postgres:13
-
name
:
postgres:13
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"
]
...
@@ -240,7 +240,7 @@
...
@@ -240,7 +240,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg11-ee
:
.use-pg11-ee
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.36"
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-11-graphicsmagick-1.3.36
services
:
services
:
-
name
:
postgres:11.6
-
name
:
postgres:11.6
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"
]
...
@@ -251,7 +251,7 @@
...
@@ -251,7 +251,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg12-ee
:
.use-pg12-ee
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36"
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-12-graphicsmagick-1.3.36
services
:
services
:
-
name
:
postgres:12
-
name
:
postgres:12
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"
]
...
@@ -262,7 +262,7 @@
...
@@ -262,7 +262,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg13-ee
:
.use-pg13-ee
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-13-graphicsmagick-1.3.36"
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-89-node-14.15-yarn-1.22-postgresql-13-graphicsmagick-1.3.36
services
:
services
:
-
name
:
postgres:13
-
name
:
postgres:13
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"
]
...
@@ -274,7 +274,7 @@
...
@@ -274,7 +274,7 @@
.use-kaniko
:
.use-kaniko
:
image
:
image
:
name
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:kaniko
name
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:kaniko
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
before_script
:
before_script
:
-
source scripts/utils.sh
-
source scripts/utils.sh
...
...
.gitlab/ci/review-apps/main.gitlab-ci.yml
View file @
e533d093
...
@@ -34,7 +34,7 @@ review-build-cng:
...
@@ -34,7 +34,7 @@ review-build-cng:
.review-workflow-base
:
.review-workflow-base
:
extends
:
extends
:
-
.default-retry
-
.default-retry
image
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:gitlab-helm3.5-kubectl1.17
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:gitlab-helm3.5-kubectl1.17
resource_group
:
"
review/${CI_COMMIT_REF_NAME}"
resource_group
:
"
review/${CI_COMMIT_REF_NAME}"
variables
:
variables
:
HOST_SUFFIX
:
"
${CI_ENVIRONMENT_SLUG}"
HOST_SUFFIX
:
"
${CI_ENVIRONMENT_SLUG}"
...
...
.gitlab/ci/review.gitlab-ci.yml
View file @
e533d093
...
@@ -2,7 +2,7 @@ review-cleanup:
...
@@ -2,7 +2,7 @@ review-cleanup:
extends
:
extends
:
-
.default-retry
-
.default-retry
-
.review:rules:review-cleanup
-
.review:rules:review-cleanup
image
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:gitlab-helm3-kubectl1.14
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:gitlab-helm3-kubectl1.14
stage
:
prepare
stage
:
prepare
environment
:
environment
:
name
:
review/${CI_COMMIT_REF_SLUG}${FREQUENCY}
name
:
review/${CI_COMMIT_REF_SLUG}${FREQUENCY}
...
...
.gitlab/ci/static-analysis.gitlab-ci.yml
View file @
e533d093
...
@@ -53,7 +53,7 @@ generate-apollo-graphl-schema:
...
@@ -53,7 +53,7 @@ generate-apollo-graphl-schema:
-
.static-analysis-base
-
.static-analysis-base
-
.frontend:rules:default-frontend-jobs
-
.frontend:rules:default-frontend-jobs
image
:
image
:
name
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:apollo
name
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:apollo
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
needs
:
[
'
graphql-schema-dump'
]
needs
:
[
'
graphql-schema-dump'
]
variables
:
variables
:
...
...
.gitlab/ci/workhorse.gitlab-ci.yml
View file @
e533d093
...
@@ -22,8 +22,8 @@ workhorse:verify:
...
@@ -22,8 +22,8 @@ workhorse:verify:
workhorse:test using go 1.16
:
workhorse:test using go 1.16
:
extends
:
.workhorse:test
extends
:
.workhorse:test
image
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:ruby-2.7-golang-1.16-git-2.31
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:ruby-2.7-golang-1.16-git-2.31
workhorse:test using go 1.17
:
workhorse:test using go 1.17
:
extends
:
.workhorse:test
extends
:
.workhorse:test
image
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:ruby-2.7-golang-1.17-git-2.31
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:ruby-2.7-golang-1.17-git-2.31
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