Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
mrhlpr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anjan Momi
mrhlpr
Commits
3e099e4a
Commit
3e099e4a
authored
6 months ago
by
Robert Eckelmann
Browse files
Options
Downloads
Patches
Plain Diff
metest/add_packages.py: add explanation why there might be no artifacts
Signed-off-by:
Robert Eckelmann
<
longnoserob@gmail.com
>
parent
b5cc8829
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mrtest/add_packages.py
+7
-7
7 additions, 7 deletions
mrtest/add_packages.py
with
7 additions
and
7 deletions
mrtest/add_packages.py
+
7
−
7
View file @
3e099e4a
...
...
@@ -115,13 +115,13 @@ def add_packages(origin, mr_id, no_cache):
try
:
zip_path
=
mrhlpr
.
mr
.
get_artifacts_zip
(
mr_id
,
no_cache
,
origin
)
except
HTTPError
:
print
(
"""
Remote server does not have any packages to download.
Please trigger again the MR {} to generate the packages.
"""
.
format
(
mr_id
)
)
except
(
HTTPError
,
AttributeError
)
:
print
(
f
"
\r\n
Remote server does not have any packages to download for MR
{
mr_id
}
!
"
)
print
(
"
\r\n
This could be caused by:
"
)
print
(
"
* use of [CI:skip-build] in the last commit
"
)
print
(
"
* CI pipeline failure
"
)
print
(
"
* MR is in draft status and pipelines have not run yet.
"
)
print
(
f
"
Please trigger again the MR
{
mr_id
}
to generate the packages.
\r\n
"
)
exit
(
0
)
selection
=
mrtest
.
select_package
.
ask
(
zip_path
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment