refactor: replace boto3-based upload with AWS CLI#10
refactor: replace boto3-based upload with AWS CLI#10doanac merged 1 commit intoqualcomm-linux:awsfrom
Conversation
51edc9c to
09954f8
Compare
lool
left a comment
There was a problem hiding this comment.
Looks good to me, thanks!
I see the unit tests ran, but against the main version of the action which uploads to GCP; I'll file a separate issue for that
|
@quic-viskuma If you add |
Simplifies the artifact upload process by removing Python dependencies and switching to AWS CLI. - Deleted publish_artifacts.py and requirements.txt - Updated action.yml to use aws s3 cp for uploading artifacts - Ensures compatibility with both Ubuntu and Debian environments Fixes: qualcomm-linux#9 Signed-off-by: Vishal Kumar <viskuma@qti.qualcomm.com>
doanac
left a comment
There was a problem hiding this comment.
looks good. this requires the workflow to run as root when aws-cli isn't installed. I think this is the case for our workflows, right?
I think we run as non-root on the runners, and as root in the containers; our images seem to have One possible improvement would be to use |
Yes, I have tested with AWS runners which we're using in our workflows and also with containers. I'm not sure if we should add sudo while installing, I can test this. We also need to consider the other OSes- like fedora in future. |
|
Let's land this now and add support for Fedora when that comes? |
|
I've merged this and tagged it as aws-v2 |
Simplifies the artifact upload process by removing Python dependencies and switching to AWS CLI.
Fixes: #9