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

Simple GH Action: upload tar, zip, msi into S3 bucket #99

Closed
5 of 6 tasks
brushknight opened this issue Jan 18, 2021 · 0 comments · Fixed by #106
Closed
5 of 6 tasks

Simple GH Action: upload tar, zip, msi into S3 bucket #99

brushknight opened this issue Jan 18, 2021 · 0 comments · Fixed by #106

Comments

@brushknight
Copy link
Contributor

brushknight commented Jan 18, 2021

Goal: be able to upload .tar.gz, .zip, .msi into test download.newrelic.com repo

Steps:

  • Create docker GHA inside of nri-redis repo documentation
  • Mount s3 inside docker container
  • Grab msi, zip, tag.gz from GH
  • Upload artifacts to right locations based on platform and OS
  • Add locking mechanism via s3 consistent read/write s3 feature
  • Request dedicated repo for github action in newrelic org (to be able to publish action and use in other projects)

Notes / ideas:

  • Create base image that contains all scripts and have different tags to run specific upload step (via entrypoint). ex: gha-upload:msi? for uploading msi only. If called with :latest run all upload steps. It will give us some flexibility. gha-upload is just example of name, name of action can be different
  • Make GHA in a way that it know what is our integration artifacts naming format and be able to overwrite it with a parameter if needed.
  • Pass integration name as a parameter.
  • Pass tag as a parameter.
  • List of file masks to upload
  • Grab release assets from corresponding to TAG release page.
@brushknight brushknight changed the title GH Action for S3 upload Simple GH Action: upload tar, zip, msi into S3 bucket Jan 18, 2021
@josemore josemore added this to Ready for Development in CAOS: Our Daily Bread Jan 18, 2021
@brushknight brushknight self-assigned this Jan 19, 2021
@brushknight brushknight moved this from Ready for Development to In Progress in CAOS: Our Daily Bread Jan 19, 2021
@brushknight brushknight linked a pull request Jan 21, 2021 that will close this issue
@josemore josemore added this to In progress in OHAI migration to GHA Jan 22, 2021
@brushknight brushknight moved this from In Progress to Ready For Review in CAOS: Our Daily Bread Jan 29, 2021
@brushknight brushknight moved this from Ready For Review to Ready For Release in CAOS: Our Daily Bread Feb 3, 2021
@brushknight brushknight moved this from Ready For Release to Done in CAOS: Our Daily Bread Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
4 participants