Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release V 0.14.2 #250

Merged
merged 34 commits into from
Mar 25, 2024
Merged

Release V 0.14.2 #250

merged 34 commits into from
Mar 25, 2024

Conversation

cirrusasf
Copy link
Contributor

This release does followings:

  • --publish-bucket option has been added to the HyP3 entry point to publish product to the ITS_LIVE AWS Open Data bucket, s3://its-live-data or the test bucket s3://its-live-data-test.
  • upload_file_to_s3_with_upload_access_keys to perform S3 uploads with credentialed S3 clients.
  • use of UPLOAD_ACCESS_KEY_ID and UPLOAD_ACCESS_KEY_SECRET to upload products to write-protected bucket.

dependabot bot and others added 30 commits January 17, 2024 16:53
Bumps [ASFHyP3/actions](https://github.com/asfhyp3/actions) from 0.10.0 to 0.11.0.
- [Release notes](https://github.com/asfhyp3/actions/releases)
- [Changelog](https://github.com/ASFHyP3/actions/blob/develop/CHANGELOG.md)
- [Commits](ASFHyP3/actions@v0.10.0...v0.11.0)

---
updated-dependencies:
- dependency-name: ASFHyP3/actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…3/actions-0.11.0

Bump ASFHyP3/actions from 0.10.0 to 0.11.0
Co-authored-by: Joseph H Kennedy <[email protected]>
Co-authored-by: Joseph H Kennedy <[email protected]>
…/hyp3-autorift into auto_upload_its_live_data_bucket
Set up access key use for open data upload
Change to a publish-bucket parameter to enable testing
Co-authored-by: Forrest Williams <[email protected]>
@cirrusasf cirrusasf added the patch Bump the patch version number of this project label Mar 20, 2024
Copy link

github-actions bot commented Mar 20, 2024

Developer checklist

  • Indicated the level of changes to this package by affixing one of these labels:
    • major -- Major changes to the API that may break current workflows
    • minor -- Minor changes to the API that do not break current workflows
    • patch -- Patches and bugfixes for the current version that do not break current workflows
    • bumpless -- Changes to documentation, CI/CD pipelines, etc. that don't affect the software's version
  • (If applicable) Updated the dependencies and indicated any downstream changes that are required
  • Added/updated documentation for these changes
  • Added/updated tests for these changes
  • Verified changes in test deployment and summarized results, e.g. in PR description or comments on the related issue(s)

Reviewer checklist

  • Have all dependencies been updated?
  • Is the level of changes labeled appropriately?
  • Are all the changes described appropriately in CHANGELOG.md?
  • Has the documentation been adequately updated?
  • Are the tests adequate?
  • Have the changes been verified in the test deployment?

@forrestfwilliams
Copy link
Contributor

To run the container, first pull the dev version:

docker pull ghcr.io/asfhyp3/hyp3-autorift:0.14.2.dev32_g0323fa6

Then run it specifying the test open data bucket!!!

docker run -it --rm \
    -e EARTHDATA_USERNAME=[YOUR_USERNAME_HERE] \
    -e EARTHDATA_PASSWORD=[YOUR_PASSWORD_HERE] \
    -e ESA_USERNAME=[YOUR_USERNAME_HERE] \
    -e ESA_PASSWORD=[YOUR_PASSWORD_HERE] \
    -e UPLOAD_ACCESS_KEY_ID=[YOUR_ACCESS_KEY_ID] \
    -e UPLOAD_ACCESS_KEY_SECRET=[YOUR_ACCESS_KEY_SECRET] \
    ghcr.io/asfhyp3/hyp3-autorift:0.14.2.dev32_g0323fa6 \
    LC09_L1GT_215109_20220125_20230430_02_T2 LC09_L1GT_215109_20220210_20230428_02_T2 \
    --publish-bucket its-live-data-test

@forrestfwilliams
Copy link
Contributor

You'll then need to check the test bucket to ensure that the data has been correctly uploaded.

@forrestfwilliams
Copy link
Contributor

Have confirmed that running:

hyp3_autorift LC09_L1GT_215109_20220125_20230430_02_T2 LC09_L1GT_215109_20220210_20230428_02_T2 --publish-bucket its-live-data-test

With the correct environment variables set runs and uploads data to the test bucket.

There is an issue with the docker command above, but I'm guessing it uses the wrong version of the docker container.

@forrestfwilliams forrestfwilliams marked this pull request as ready for review March 21, 2024 13:13
@forrestfwilliams forrestfwilliams requested a review from a team March 21, 2024 13:13
CHANGELOG.md Outdated Show resolved Hide resolved
@jhkennedy jhkennedy merged commit d25dfc3 into main Mar 25, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Bump the patch version number of this project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants