Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
ssa
workspaces
Merge requests
!52
passing the destination link back via stdout on completion
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
passing the destination link back via stdout on completion
SSA-6398-post-delivery
into
main
Overview
1
Commits
2
Pipelines
3
Changes
1
All threads resolved!
Hide all comments
Merged
Reid Givens
requested to merge
SSA-6398-post-delivery
into
main
4 years ago
Overview
1
Commits
2
Pipelines
3
Changes
1
All threads resolved!
Hide all comments
Expand
Pretty sure all we needed to have the results passed back to stdout
0
0
Merge request reports
Viewing commit
7d9c38f9
Prev
Next
Show latest version
1 file
+
12
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
7d9c38f9
passing the destination link back via stdout on completion
· 7d9c38f9
Reid Givens
authored
4 years ago
apps/cli/executables/delivery/delivery/delivery.py
+
12
−
2
Options
import
pathlib
import
sys
from
.context
import
DeliveryContext
from
.finder
import
HeuristicProductFinder
,
ProductFinder
@@ -50,5 +52,13 @@ class Delivery:
def
main
(
args
=
None
):
"""
CLI entry point
"""
context
=
DeliveryContext
.
parse_commandline
(
args
)
#print(context)
Delivery
().
deliver
(
context
)
response
=
""
try
:
link
=
Delivery
().
deliver
(
context
)
if
link
!=
""
:
response
=
link
except
Exception
as
err
:
response
=
"
ERROR:
"
+
str
(
err
)
sys
.
stdout
.
write
(
response
)
Loading