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
e8acb3f1
Commit
e8acb3f1
authored
Jan 04, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copy-edit end-to-end testing guide documentation
parent
124ffb21
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
16 deletions
+18
-16
doc/development/testing_guide/end_to_end_tests.md
doc/development/testing_guide/end_to_end_tests.md
+18
-16
No files found.
doc/development/testing_guide/end_to_end_tests.md
View file @
e8acb3f1
...
@@ -23,24 +23,25 @@ You can find these nightly pipelines at [GitLab QA pipelines page][gitlab-qa-pip
...
@@ -23,24 +23,25 @@ You can find these nightly pipelines at [GitLab QA pipelines page][gitlab-qa-pip
It is also possible to trigger build of GitLab packages and then pass these
It is also possible to trigger build of GitLab packages and then pass these
package to GitLab QA to run tests in a
[
pipeline
][
gitlab-qa-pipelines
]
.
package to GitLab QA to run tests in a
[
pipeline
][
gitlab-qa-pipelines
]
.
Developers can trigger
a
`package-qa`
manual action, that should be present in
Developers can trigger
the
`package-qa`
manual action, that should be present in
the merge request widget
in your merge request
.
the merge request widget.
It is
possible to trigger Gitlab QA pipeline from merge requests in GitLab CE
It is
also possible to trigger Gitlab QA pipeline from merge requests in
and GitLab EE, but QA triggering manual action is also available in the Omnibus
Omnibus GitLab project. You can find a manual action that is similar to
GitLab project
as well.
`package-qa`
, mentioned above, in your Omnibus-related merge requests
as well.
Below you can read more about how to use it and how does it work.
Below you can read more about how to use it and how does it work.
#### How does it work?
#### How does it work?
Currently, we are _multi-project pipeline_-like approach to run QA pipelines.
Currently, we are using _multi-project pipeline_-like approach to run QA
pipelines.
1.
Developer triggers a manual action, that can be found in CE and EE merge
1.
Developer triggers a manual action, that can be found in CE and EE merge
requests
, what starts a chain of pipeline
s.
requests
. This starts a chain of pipelines in multiple project
s.
1.
The script
, that is being executed, triggers a pipeline in GitLab Omnibu
s
1.
The script
being executed triggers a pipeline in GitLab Omnibus and wait
s
projects, and waits
for the resulting status. We call this a _status attribution_.
for the resulting status. We call this a _status attribution_.
1.
GitLab packages are being built in Omnibus pipeline. Packages are going to be
1.
GitLab packages are being built in Omnibus pipeline. Packages are going to be
pushed to Container Registry.
pushed to Container Registry.
...
@@ -50,24 +51,25 @@ pipeline, that is now running in Omnibus, triggers a new pipeline in the GitLab
...
@@ -50,24 +51,25 @@ pipeline, that is now running in Omnibus, triggers a new pipeline in the GitLab
QA project. It also waits for a resulting status.
QA project. It also waits for a resulting status.
1.
GitLab QA pulls images from the registry, spins-up containers and runs tests
1.
GitLab QA pulls images from the registry, spins-up containers and runs tests
against a test environment that has been just orchestrated by
`gitlab-qa`
tool.
against a test environment that has been just orchestrated by the
`gitlab-qa`
tool.
1.
The result of GitLab QA pipeline is being propagated upstream, through
1.
The result of
the
GitLab QA pipeline is being propagated upstream, through
Omnibus, back to CE / EE merge request.
Omnibus, back to CE / EE merge request.
#### How do I write tests?
#### How do I write tests?
In order to write new tests, you first need to learn more about GitLab QA
In order to write new tests, you first need to learn more about GitLab QA
architecture.
There is some documentation about it in GitLab QA project
architecture.
See the
[
documentation about it
][
gitlab-qa-architecture
]
in
[
here
][
gitlab-qa-architecture
]
.
GitLab QA project
.
Once you decided were to put test environment orchestration scenarios and
Once you decided w
h
ere to put test environment orchestration scenarios and
instance specs, take a look
s at
[
relevant documentation
][
instance-qa-readme
]
instance specs, take a look
at the
[
relevant documentation
][
instance-qa-readme
]
and examples in
[
the `qa/` directory
][
instance-qa-examples
]
.
and examples in
[
the `qa/` directory
][
instance-qa-examples
]
.
## Where can I ask for help?
## Where can I ask for help?
You can ask question in
`#qa`
channel on Slack (GitLab internal) or you can
You can ask question in
the
`#qa`
channel on Slack (GitLab internal) or you can
find an issue you would like to work on in
[
the issue tracker
][
gitlab-qa-issues
]
find an issue you would like to work on in
[
the issue tracker
][
gitlab-qa-issues
]
and start a new discussion there.
and start a new discussion there.
...
...
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