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
4b27106e
Commit
4b27106e
authored
Oct 10, 2019
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Introduce a new 'qa:selectors-foss' job
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
d8b78f24
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
26 deletions
+44
-26
.gitlab/ci/frontend.gitlab-ci.yml
.gitlab/ci/frontend.gitlab-ci.yml
+0
-23
.gitlab/ci/qa.gitlab-ci.yml
.gitlab/ci/qa.gitlab-ci.yml
+34
-0
doc/development/pipelines.md
doc/development/pipelines.md
+10
-3
No files found.
.gitlab/ci/frontend.gitlab-ci.yml
View file @
4b27106e
...
...
@@ -188,29 +188,6 @@ jest-foss:
cache
:
policy
:
pull
.qa-job-base
:
extends
:
-
.default-tags
-
.default-retry
-
.default-cache
-
.default-only
-
.only-code-qa-changes
dependencies
:
[]
stage
:
test
before_script
:
-
cd qa/
-
bundle install
qa:internal:
extends
:
.qa-job-base
script
:
-
bundle exec rspec
qa:selectors:
extends
:
.qa-job-base
script
:
-
bundle exec bin/qa Test::Sanity::Selectors
.qa-frontend-node
:
extends
:
-
.default-tags
...
...
.gitlab/ci/qa.gitlab-ci.yml
View file @
4b27106e
.qa-job-base
:
extends
:
-
.default-tags
-
.default-retry
-
.default-only
-
.only-code-qa-changes
stage
:
test
dependencies
:
[]
# It's currently impossible to specify `needs: []` so we depend on `build-qa-image` which also has `.only-code-qa-changes`
needs
:
[
"
build-qa-image"
]
cache
:
key
:
"
qa-framework-jobs:v1"
paths
:
-
vendor/ruby
before_script
:
-
cd qa/
-
bundle install --clean --jobs=$(nproc) --path=vendor --retry=3 --quiet
-
bundle check
qa:internal:
extends
:
.qa-job-base
script
:
-
bundle exec rspec
qa:selectors:
extends
:
.qa-job-base
script
:
-
bundle exec bin/qa Test::Sanity::Selectors
qa:selectors-foss:
extends
:
-
qa:selectors
-
.only-ee-as-if-foss
.package-and-qa-base
:
extends
:
.default-only
image
:
ruby:2.6-alpine
...
...
doc/development/pipelines.md
View file @
4b27106e
...
...
@@ -62,7 +62,6 @@ each pipeline includes the following [variables](../ci/variables/README.md):
-
`GIT_SUBMODULE_STRATEGY: "none"`
-
`GET_SOURCES_ATTEMPTS: "3"`
-
`KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master.json`
-
`EE_KNAPSACK_RSPEC_SUITE_REPORT_PATH: knapsack/${CI_PROJECT_NAME}/rspec_report-master-ee.json`
-
`FLAKY_RSPEC_SUITE_REPORT_PATH: rspec_flaky/report-suite.json`
-
`BUILD_ASSETS_IMAGE: "false"`
-
`ES_JAVA_OPTS: "-Xms256m -Xmx256m"`
...
...
@@ -93,9 +92,17 @@ These common definitions are:
for
`master`
and auto-deploy branches.
-
`.only-review-schedules`
: Same as
`.only-review`
but also restrict a job to
only run for
[
schedules
](
../user/project/pipelines/schedules.md
)
.
-
`.use-pg`
: Allows a job to use the
`postgres:9.6.14`
and
`redis:alpine`
services.
-
`.use-pg-10`
: Allows a job to use the
`postgres:10.9`
and
`redis:alpine`
services.
-
`.only-canonical-schedules`
: Only creates a job for scheduled pipelines in
the
`gitlab-org/gitlab`
and
`gitlab-org/gitlab-foss`
projects
-
`.use-pg9`
: Allows a job to use the
`postgres:9.6`
and
`redis:alpine`
services.
-
`.use-pg10`
: Allows a job to use the
`postgres:10.9`
and
`redis:alpine`
services.
-
`.use-pg9-ee`
: Same as
`.use-pg9`
but also use the
`docker.elastic.co/elasticsearch/elasticsearch:5.6.12`
services.
-
`.use-pg10-ee`
: Same as
`.use-pg10`
but also use the
`docker.elastic.co/elasticsearch/elasticsearch:5.6.12`
services.
-
`.only-ee`
: Only creates a job for the
`gitlab`
project.
-
`.only-ee-as-if-foss`
: Same as
`.only-ee`
but simulate the FOSS project by
setting the
`IS_GITLAB_EE='0'`
environment variable.
## Changes detection
...
...
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