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

Allow relocating the signed RPM to a different path #4

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

endemics
Copy link
Contributor

This Pull Request introduces an optional LAMBDA_S3_TARGET_PATH.

When set, the signed RPM is copied to LAMBDA_S3_TARGET:/LAMBDA_S3_TARGET_PATH instead of the path of the uploaded RPM file that triggered the event calling the lambda.

This allows to copy the signed RPM to the same S3 bucket as the one where the file was uploaded. To facilitate this, LAMBDA_S3_TARGET can be unset if LAMBDA_S3_TARGET_PATH is set, in which case the S3 bucket of the event is used for the destination URL.

Gildas Le Nadan added 4 commits February 17, 2020 13:55
If set, its value will be used to replace the path of the unsigned RPM
(the RPM name will keep the same). This allows to upload the signed
RPM in the same bucket as the unsigned RPM.
…allows to use the bucket from the event directly
…allows to use the bucket from the event directly
@endemics endemics mentioned this pull request Mar 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant