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:
# in cases where jobs require Docker-in-Docker, the job
# definition must be extended with `.use-docker-in-docker`
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
:
-
gitlab-org
# All jobs are interruptible by default
...
...
@@ -96,6 +96,9 @@ variables:
# Default latest tag for particular branch
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
# on GitLab.com's Shared Runners. Our main forks - especially the security
# 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 @@
-
.default-retry
-
.default-before_script
-
.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
:
SETUP_DB
:
"
false"
WEBPACK_VENDOR_DLL
:
"
true"
...
...
@@ -331,7 +331,7 @@ bundle-size-review:
extends
:
-
.default-retry
-
.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
needs
:
[
"
compile-production-assets"
]
script
:
...
...
.gitlab/ci/global.gitlab-ci.yml
View file @
e533d093
...
...
@@ -213,7 +213,7 @@
-
*storybook-node-modules-cache-push
.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
:
-
name
:
postgres:11.6
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
...
@@ -222,7 +222,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
.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
:
-
name
:
postgres:12
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
...
@@ -231,7 +231,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
.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
:
-
name
:
postgres:13
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
...
@@ -240,7 +240,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
.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
:
-
name
:
postgres:11.6
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
...
@@ -251,7 +251,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
.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
:
-
name
:
postgres:12
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
...
@@ -262,7 +262,7 @@
POSTGRES_HOST_AUTH_METHOD
:
trust
.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
:
-
name
:
postgres:13
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
...
...
@@ -274,7 +274,7 @@
.use-kaniko
:
image
:
name
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:kaniko
name
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:kaniko
entrypoint
:
[
"
"
]
before_script
:
-
source scripts/utils.sh
...
...
.gitlab/ci/review-apps/main.gitlab-ci.yml
View file @
e533d093
...
...
@@ -34,7 +34,7 @@ review-build-cng:
.review-workflow-base
:
extends
:
-
.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}"
variables
:
HOST_SUFFIX
:
"
${CI_ENVIRONMENT_SLUG}"
...
...
.gitlab/ci/review.gitlab-ci.yml
View file @
e533d093
...
...
@@ -2,7 +2,7 @@ review-cleanup:
extends
:
-
.default-retry
-
.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
environment
:
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:
-
.static-analysis-base
-
.frontend:rules:default-frontend-jobs
image
:
name
:
registry.gitlab.com/gitlab-org
/gitlab-build-images:apollo
name
:
${REGISTRY_HOST}/${REGISTRY_GROUP}
/gitlab-build-images:apollo
entrypoint
:
[
"
"
]
needs
:
[
'
graphql-schema-dump'
]
variables
:
...
...
.gitlab/ci/workhorse.gitlab-ci.yml
View file @
e533d093
...
...
@@ -22,8 +22,8 @@ workhorse:verify:
workhorse:test using go 1.16
:
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
:
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