UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Tools
ironbank-plugins-pipeline
Commits
3a0266c4
Commit
3a0266c4
authored
Dec 10, 2020
by
David Freeman
Browse files
log S3 repo_map download response code
parent
feeb0f64
Pipeline
#99184
passed with stages
in 2 minutes and 57 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
stages/publish/create_repo_map.py
stages/publish/create_repo_map.py
+2
-1
No files found.
stages/publish/create_repo_map.py
View file @
3a0266c4
#!/usr/bin/python3
#!/usr/bin/
env
python3
import
sys
import
json
import
os
...
...
@@ -26,6 +26,7 @@ def get_repomap(object_name, bucket="ironbank-pipeline-artifacts"):
print
(
object_name
)
try
:
response
=
s3_client
.
download_file
(
bucket
,
object_name
,
"repo_map.json"
)
logging
.
debug
(
f
"Repo Map download response:
{
response
}
"
)
except
ClientError
as
e
:
logging
.
error
(
e
)
print
(
"Existing repo_map.json not found, creating new repo_map.json"
)
...
...
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