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
67ac3c78
Commit
67ac3c78
authored
Feb 15, 2022
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test case links to container registry omnibus e2e spec
parent
3488a9c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
96 additions
and
49 deletions
+96
-49
qa/qa/specs/features/browser_ui/5_package/container_registry/container_registry_omnibus_spec.rb
...age/container_registry/container_registry_omnibus_spec.rb
+96
-49
No files found.
qa/qa/specs/features/browser_ui/5_package/container_registry/container_registry_omnibus_spec.rb
View file @
67ac3c78
...
...
@@ -49,10 +49,63 @@ module QA
end
context
"when tls is disabled"
do
where
(
:authentication_token_type
,
:token_name
)
do
:personal_access_token
|
'Personal Access Token'
:project_deploy_token
|
'Deploy Token'
:ci_job_token
|
'Job Token'
where
do
{
'using docker:18.09.9 and a personal access token'
=>
{
docker_client_version:
'docker:18.09.9'
,
authentication_token_type: :personal_access_token
,
token_name:
'Personal Access Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348499'
},
'using docker:18.09.9 and a project deploy token'
=>
{
docker_client_version:
'docker:18.09.9'
,
authentication_token_type: :project_deploy_token
,
token_name:
'Deploy Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348852'
},
'using docker:18.09.9 and a ci job token'
=>
{
docker_client_version:
'docker:18.09.9'
,
authentication_token_type: :ci_job_token
,
token_name:
'Job Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348765'
},
'using docker:19.03.12 and a personal access token'
=>
{
docker_client_version:
'docker:19.03.12'
,
authentication_token_type: :personal_access_token
,
token_name:
'Personal Access Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348507'
},
'using docker:19.03.12 and a project deploy token'
=>
{
docker_client_version:
'docker:19.03.12'
,
authentication_token_type: :project_deploy_token
,
token_name:
'Deploy Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348859'
},
'using docker:19.03.12 and a ci job token'
=>
{
docker_client_version:
'docker:19.03.12'
,
authentication_token_type: :ci_job_token
,
token_name:
'Job Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348654'
},
'using docker:20.10 and a personal access token'
=>
{
docker_client_version:
'docker:20.10'
,
authentication_token_type: :personal_access_token
,
token_name:
'Personal Access Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348754'
},
'using docker:20.10 and a project deploy token'
=>
{
docker_client_version:
'docker:20.10'
,
authentication_token_type: :project_deploy_token
,
token_name:
'Deploy Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348856'
},
'using docker:20.10 and a ci job token'
=>
{
docker_client_version:
'docker:20.10'
,
authentication_token_type: :ci_job_token
,
token_name:
'Job Token'
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/348766'
}
}
end
with_them
do
...
...
@@ -78,12 +131,7 @@ module QA
end
end
where
(
:docker_client_version
)
do
%w[docker:18.09.9 docker:19.03.12 docker:20.10]
end
with_them
do
it
"pushes image and deletes tag"
,
:registry
do
it
"pushes image and deletes tag"
,
:registry
,
testcase:
params
[
:testcase
]
do
Support
::
Retrier
.
retry_on_exception
(
max_attempts:
3
,
sleep_interval:
2
)
do
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
commit
.
project
=
project
...
...
@@ -132,7 +180,6 @@ module QA
end
end
end
end
context
"when tls is enabled"
do
it
"pushes image and deletes tag"
,
:registry_tls
,
testcase:
'https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347591'
do
...
...
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