Skip to content

Commit

Permalink
Merge branch 'develop' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
cqbanh committed Jun 14, 2024
2 parents fc25ed1 + a8ef097 commit 020cfc3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 10 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@ name: Build 'n Deploy
on:
push:
branches:
- main
- develop
- 'release/**'
- 'feature/**'
- 'issue/**'
- 'issues/**'
- 'dependabot/**'
- '*'
tags-ignore:
- '*'
paths-ignore:
Expand Down
8 changes: 7 additions & 1 deletion CHANGE
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
Version 1.0.1
<<<<<<< main
Version 1.0.1
=======
podaac/swodlr-ingest-to-sds deployment
podaac/swodlr-ingest-to-sds deployment
podaac/swodlr-ingest-to-sds deployment
>>>>>>> develop
4 changes: 4 additions & 0 deletions bumpver.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
[bumpver]
<<<<<<< main
current_version = "1.0.1"
=======
current_version = "1.0.2-alpha0"
>>>>>>> develop
version_pattern = "MAJOR.MINOR.PATCH[-TAGNUM]"
commit = true
tag = true
Expand Down
9 changes: 7 additions & 2 deletions podaac/swodlr_ingest_to_sds/submit_to_sds.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def lambda_handler(event, _context):
)
# Otello throws generic Exceptions
except Exception: # pylint: disable=broad-exception-caught
logger.exception('Failed to ingest granule')
logger.exception(
'Failed to ingest granule id: %s', granule['id']
)

return {'jobs': jobs}

Expand Down Expand Up @@ -107,7 +109,10 @@ def _ingest_granule(granule):
ingest_job_type.set_input_params(job_params)
job = ingest_job_type.submit_job(tag=tag)
timestamp = datetime.now().isoformat()
logger.info('Submitted to sds: %s', granule['id'])
logger.info(
'Submitted to sds - granule id: %s, job id: %s',
granule['id'], job.job_id
)

return {
'job_id': job.job_id,
Expand Down

0 comments on commit 020cfc3

Please sign in to comment.