balena-os / leviathan

A distributed hardware testing framework
https://balena-os.github.io/leviathan
Apache License 2.0
22 stars 6 forks source link

Modify Jenkins to upload balenaOS images after build to S3 #963

Open vipulgupta2048 opened 1 year ago

vipulgupta2048 commented 1 year ago

Right now, only merged images that have completed automation testing are uploaded to S3. Make sure for the logic to upload S3 images is also smart enough to delete old ones and overwrite existing copies of balenaOS image when PR gets rebased.

Additionally, we need each Jenkins job to provide a balenaOS URL for us to pull from as output.

vipulgupta2048 commented 1 year ago

For PoC, we will be first pulling the images that are already available on Jenkins ready to be downloaded. The authentication will be handled by a service account and the images will be pulled that way.

https://balena.zulipchat.com/#narrow/stream/345889-balena-io.2Fos/topic/.5BJenkins.5D.20Pass.20URL.20to.20yocto-build.20artifacts.20to.20leviathan.20job