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
4c0ee6b2
Commit
4c0ee6b2
authored
Dec 09, 2020
by
Sofia Vistas
Committed by
Ramya Authappan
Dec 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add install package check to conan test
parent
d5edc1b6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
qa/qa/specs/features/browser_ui/5_package/conan_repository_spec.rb
...cs/features/browser_ui/5_package/conan_repository_spec.rb
+4
-3
No files found.
qa/qa/specs/features/browser_ui/5_package/conan_repository_spec.rb
View file @
4c0ee6b2
...
@@ -31,7 +31,7 @@ module QA
...
@@ -31,7 +31,7 @@ module QA
runner
.
remove_via_api!
runner
.
remove_via_api!
end
end
it
'publishes
a conan package and deletes it
'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1077'
do
it
'publishes
, installs, and deletes a Conan package
'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1077'
do
Flow
::
Login
.
sign_in
Flow
::
Login
.
sign_in
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
Resource
::
Repository
::
Commit
.
fabricate_via_api!
do
|
commit
|
...
@@ -43,13 +43,14 @@ module QA
...
@@ -43,13 +43,14 @@ module QA
<<~
YAML
<<~
YAML
image: conanio/gcc7
image: conanio/gcc7
create
_package:
test
_package:
stage: deploy
stage: deploy
script:
script:
- "conan remote add gitlab
#{
gitlab_address_with_port
}
/api/v4/projects/
#{
project
.
id
}
/packages/conan"
- "conan remote add gitlab
#{
gitlab_address_with_port
}
/api/v4/projects/
#{
project
.
id
}
/packages/conan"
- "conan new
#{
package_name
}
/0.1 -t"
- "conan new
#{
package_name
}
/0.1 -t"
- "conan create . mycompany/stable"
- "conan create . mycompany/stable"
- "CONAN_LOGIN_USERNAME=ci_user CONAN_PASSWORD=${CI_JOB_TOKEN} conan upload
#{
package_name
}
/0.1@mycompany/stable --all --remote=gitlab"
- "CONAN_LOGIN_USERNAME=ci_user CONAN_PASSWORD=${CI_JOB_TOKEN} conan upload
#{
package_name
}
/0.1@mycompany/stable --all --remote=gitlab"
- "conan install conantest/0.1@mycompany/stable --remote=gitlab"
tags:
tags:
- "runner-for-
#{
project
.
name
}
"
- "runner-for-
#{
project
.
name
}
"
YAML
YAML
...
@@ -60,7 +61,7 @@ module QA
...
@@ -60,7 +61,7 @@ module QA
Flow
::
Pipeline
.
visit_latest_pipeline
Flow
::
Pipeline
.
visit_latest_pipeline
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
pipeline
|
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
pipeline
|
pipeline
.
click_job
(
'
create
_package'
)
pipeline
.
click_job
(
'
test
_package'
)
end
end
Page
::
Project
::
Job
::
Show
.
perform
do
|
job
|
Page
::
Project
::
Job
::
Show
.
perform
do
|
job
|
...
...
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