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
abc89788
Commit
abc89788
authored
Feb 13, 2020
by
Rémy Coutable
Committed by
Albert Salim
Feb 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Test against PG11 in nightly scheduled pipelines
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
312aa401
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
63 additions
and
0 deletions
+63
-0
.gitlab/ci/global.gitlab-ci.yml
.gitlab/ci/global.gitlab-ci.yml
+19
-0
.gitlab/ci/rails.gitlab-ci.yml
.gitlab/ci/rails.gitlab-ci.yml
+34
-0
.gitlab/ci/rules.gitlab-ci.yml
.gitlab/ci/rules.gitlab-ci.yml
+9
-0
doc/development/pipelines.md
doc/development/pipelines.md
+1
-0
No files found.
.gitlab/ci/global.gitlab-ci.yml
View file @
abc89788
...
@@ -50,6 +50,15 @@
...
@@ -50,6 +50,15 @@
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg11
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
services
:
-
name
:
postgres:11.6
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
-
name
:
redis:alpine
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg9-ee
:
.use-pg9-ee
:
services
:
services
:
-
name
:
postgres:9.6.17
-
name
:
postgres:9.6.17
...
@@ -69,6 +78,16 @@
...
@@ -69,6 +78,16 @@
variables
:
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
POSTGRES_HOST_AUTH_METHOD
:
trust
.use-pg11-ee
:
image
:
"
registry.gitlab.com/gitlab-org/gitlab-build-images:ruby-2.6.5-golang-1.12-git-2.24-lfs-2.9-chrome-73.0-node-12.x-yarn-1.21-postgresql-11-graphicsmagick-1.3.34"
services
:
-
name
:
postgres:11.6
command
:
[
"
postgres"
,
"
-c"
,
"
fsync=off"
,
"
-c"
,
"
synchronous_commit=off"
,
"
-c"
,
"
full_page_writes=off"
]
-
name
:
redis:alpine
-
name
:
elasticsearch:6.4.2
variables
:
POSTGRES_HOST_AUTH_METHOD
:
trust
.as-if-foss
:
.as-if-foss
:
variables
:
variables
:
FOSS_ONLY
:
'
1'
FOSS_ONLY
:
'
1'
.gitlab/ci/rails.gitlab-ci.yml
View file @
abc89788
...
@@ -238,6 +238,12 @@ rspec quarantine pg9:
...
@@ -238,6 +238,12 @@ rspec quarantine pg9:
-
.rails:rules:master-refs-code-backstage
-
.rails:rules:master-refs-code-backstage
-
.use-pg10
-
.use-pg10
rspec migration pg10
:
extends
:
-
.rspec-base-pg10
-
.rspec-base-migration
parallel
:
2
rspec unit pg10
:
rspec unit pg10
:
extends
:
.rspec-base-pg10
extends
:
.rspec-base-pg10
parallel
:
20
parallel
:
20
...
@@ -252,6 +258,34 @@ rspec system pg10:
...
@@ -252,6 +258,34 @@ rspec system pg10:
# master-only jobs #
# master-only jobs #
####################
####################
############################
# nightly master-only jobs #
.rspec-base-pg11
:
extends
:
-
.rspec-base
-
.rails:rules:nightly-master-refs-code-backstage
-
.use-pg11
rspec migration pg11
:
extends
:
-
.rspec-base-pg11
-
.rspec-base-migration
parallel
:
2
rspec unit pg11
:
extends
:
.rspec-base-pg11
parallel
:
20
rspec integration pg11
:
extends
:
.rspec-base-pg11
parallel
:
8
rspec system pg11
:
extends
:
.rspec-base-pg11
parallel
:
24
# nightly master-only jobs #
############################
#########################
#########################
# ee + master-only jobs #
# ee + master-only jobs #
rspec-ee quarantine pg9
:
rspec-ee quarantine pg9
:
...
...
.gitlab/ci/rules.gitlab-ci.yml
View file @
abc89788
...
@@ -22,6 +22,9 @@
...
@@ -22,6 +22,9 @@
.if-merge-request
:
&if-merge-request
.if-merge-request
:
&if-merge-request
if
:
'
$CI_MERGE_REQUEST_IID'
if
:
'
$CI_MERGE_REQUEST_IID'
.if-nightly-master-schedule
:
&if-nightly-master-schedule
if
:
'
$NIGHTLY
&&
$CI_COMMIT_REF_NAME
==
"master"
&&
$CI_PIPELINE_SOURCE
==
"schedule"'
.if-dot-com-gitlab-org-schedule
:
&if-dot-com-gitlab-org-schedule
.if-dot-com-gitlab-org-schedule
:
&if-dot-com-gitlab-org-schedule
if
:
'
$CI_SERVER_HOST
==
"gitlab.com"
&&
$CI_PROJECT_NAMESPACE
==
"gitlab-org"
&&
$CI_PIPELINE_SOURCE
==
"schedule"'
if
:
'
$CI_SERVER_HOST
==
"gitlab.com"
&&
$CI_PROJECT_NAMESPACE
==
"gitlab-org"
&&
$CI_PIPELINE_SOURCE
==
"schedule"'
...
@@ -343,6 +346,12 @@
...
@@ -343,6 +346,12 @@
changes
:
*code-backstage-patterns
changes
:
*code-backstage-patterns
when
:
on_success
when
:
on_success
.rails:rules:nightly-master-refs-code-backstage:
rules
:
-
<<
:
*if-nightly-master-schedule
changes
:
*code-backstage-patterns
when
:
on_success
.rails:rules:ee-only:
.rails:rules:ee-only:
rules
:
rules
:
-
<<
:
*if-not-ee
-
<<
:
*if-not-ee
...
...
doc/development/pipelines.md
View file @
abc89788
...
@@ -100,6 +100,7 @@ and included in `rules` definitions via [YAML anchors](../ci/yaml/README.md#anch
...
@@ -100,6 +100,7 @@ and included in `rules` definitions via [YAML anchors](../ci/yaml/README.md#anch
|
`if-master-refs`
| Matches if the current branch is
`master`
. | |
|
`if-master-refs`
| Matches if the current branch is
`master`
. | |
|
`if-master-or-tag`
| Matches if the pipeline is for the
`master`
branch or for a tag. | |
|
`if-master-or-tag`
| Matches if the pipeline is for the
`master`
branch or for a tag. | |
|
`if-merge-request`
| Matches if the pipeline is for a merge request. | |
|
`if-merge-request`
| Matches if the pipeline is for a merge request. | |
|
`if-nightly-master-schedule`
| Matches if the pipeline is for a
`master`
scheduled pipeline with
`$NIGHTLY`
set. | |
|
`if-dot-com-gitlab-org-schedule`
| Limits jobs creation to scheduled pipelines for the
`gitlab-org`
group on GitLab.com. | |
|
`if-dot-com-gitlab-org-schedule`
| Limits jobs creation to scheduled pipelines for the
`gitlab-org`
group on GitLab.com. | |
|
`if-dot-com-gitlab-org-master`
| Limits jobs creation to the
`master`
branch for the
`gitlab-org`
group on GitLab.com. | |
|
`if-dot-com-gitlab-org-master`
| Limits jobs creation to the
`master`
branch for the
`gitlab-org`
group on GitLab.com. | |
|
`if-dot-com-gitlab-org-merge-request`
| Limits jobs creation to merge requests for the
`gitlab-org`
group on GitLab.com. | |
|
`if-dot-com-gitlab-org-merge-request`
| Limits jobs creation to merge requests for the
`gitlab-org`
group on GitLab.com. | |
...
...
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