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
b6591b9c
Commit
b6591b9c
authored
Mar 30, 2022
by
Rémy Coutable
Committed by
Lin Jen-Shin
Apr 07, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: Reduce duplication in the default CI image names
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
daa46551
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
17 deletions
+19
-17
.gitlab-ci.yml
.gitlab-ci.yml
+3
-1
.gitlab/ci/global.gitlab-ci.yml
.gitlab/ci/global.gitlab-ci.yml
+16
-16
No files found.
.gitlab-ci.yml
View file @
b6591b9c
...
@@ -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_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-yarn-1.22-postgresql-11-graphicsmagick-1.3.36
image
:
$
DEFAULT_CI_IMAGE
tags
:
tags
:
-
gitlab-org
-
gitlab-org
# All jobs are interruptible by default
# All jobs are interruptible by default
...
@@ -58,6 +58,8 @@ workflow:
...
@@ -58,6 +58,8 @@ workflow:
-
if
:
'
$CI_COMMIT_BRANCH
=~
/^security\//'
-
if
:
'
$CI_COMMIT_BRANCH
=~
/^security\//'
variables
:
variables
:
PG_VERSION
:
"
12"
DEFAULT_CI_IMAGE
:
"
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-yarn-1.22-postgresql-${PG_VERSION}-graphicsmagick-1.3.36"
RAILS_ENV
:
"
test"
RAILS_ENV
:
"
test"
NODE_ENV
:
"
test"
NODE_ENV
:
"
test"
BUNDLE_WITHOUT
:
"
production:development"
BUNDLE_WITHOUT
:
"
production:development"
...
...
.gitlab/ci/global.gitlab-ci.yml
View file @
b6591b9c
...
@@ -44,16 +44,16 @@
...
@@ -44,16 +44,16 @@
-
lib/gitlab/setup_helper.rb
-
lib/gitlab/setup_helper.rb
prefix
:
"
gitaly-binaries-${DEBIAN-VERSION}"
prefix
:
"
gitaly-binaries-${DEBIAN-VERSION}"
paths
:
paths
:
-
tmp/tests
/gitaly/_build/bin/
-
${TMP_TEST_FOLDER}
/gitaly/_build/bin/
-
tmp/tests
/gitaly/_build/deps/git/install/
-
${TMP_TEST_FOLDER}
/gitaly/_build/deps/git/install/
-
tmp/tests
/gitaly/config.toml
-
${TMP_TEST_FOLDER}
/gitaly/config.toml
-
tmp/tests
/gitaly/gitaly2.config.toml
-
${TMP_TEST_FOLDER}
/gitaly/gitaly2.config.toml
-
tmp/tests
/gitaly/internal/
-
${TMP_TEST_FOLDER}
/gitaly/internal/
-
tmp/tests
/gitaly/run/
-
${TMP_TEST_FOLDER}
/gitaly/run/
-
tmp/tests
/gitaly/run2/
-
${TMP_TEST_FOLDER}
/gitaly/run2/
-
tmp/tests
/gitaly/Makefile
-
${TMP_TEST_FOLDER}
/gitaly/Makefile
-
tmp/tests
/gitaly/praefect.config.toml
-
${TMP_TEST_FOLDER}
/gitaly/praefect.config.toml
-
tmp/tests
/gitaly/ruby/
-
${TMP_TEST_FOLDER}
/gitaly/ruby/
policy
:
pull
policy
:
pull
.go-pkg-cache
:
&go-pkg-cache
.go-pkg-cache
:
&go-pkg-cache
...
@@ -214,34 +214,33 @@
...
@@ -214,34 +214,33 @@
-
*storybook-node-modules-cache-push
-
*storybook-node-modules-cache-push
.use-pg11
:
.use-pg11
:
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-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"
]
-
name
:
redis:5.0-alpine
-
name
:
redis:5.0-alpine
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
PG_VERSION
:
"
11"
.use-pg12
:
.use-pg12
:
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-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"
]
-
name
:
redis:6.0-alpine
-
name
:
redis:6.0-alpine
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
PG_VERSION
:
"
12"
.use-pg13
:
.use-pg13
:
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-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"
]
-
name
:
redis:5.0-alpine
-
name
:
redis:5.0-alpine
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
PG_VERSION
:
"
13"
.use-pg11-ee
:
.use-pg11-ee
:
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-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"
]
...
@@ -250,9 +249,9 @@
...
@@ -250,9 +249,9 @@
command
:
[
"
elasticsearch"
,
"
-E"
,
"
discovery.type=single-node"
]
command
:
[
"
elasticsearch"
,
"
-E"
,
"
discovery.type=single-node"
]
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
PG_VERSION
:
"
11"
.use-pg12-ee
:
.use-pg12-ee
:
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-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"
]
...
@@ -261,9 +260,9 @@
...
@@ -261,9 +260,9 @@
command
:
[
"
elasticsearch"
,
"
-E"
,
"
discovery.type=single-node"
]
command
:
[
"
elasticsearch"
,
"
-E"
,
"
discovery.type=single-node"
]
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
PG_VERSION
:
"
12"
.use-pg13-ee
:
.use-pg13-ee
:
image
:
${REGISTRY_HOST}/${REGISTRY_GROUP}/gitlab-build-images:debian-${DEBIAN_VERSION}-ruby-2.7.patched-golang-1.16-git-2.33-lfs-2.9-chrome-97-node-16.14-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"
]
...
@@ -272,6 +271,7 @@
...
@@ -272,6 +271,7 @@
command
:
[
"
elasticsearch"
,
"
-E"
,
"
discovery.type=single-node"
]
command
:
[
"
elasticsearch"
,
"
-E"
,
"
discovery.type=single-node"
]
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
PG_VERSION
:
"
13"
.use-kaniko
:
.use-kaniko
:
image
:
image
:
...
...
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