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

Add max file upload argument to test-reporting step #698

Merged
merged 9 commits into from
Sep 5, 2024

Conversation

scme0
Copy link
Contributor

@scme0 scme0 commented Aug 28, 2024

What

The Max File Upload is currently hardcoded to 1000MB which can sometimes not be enough in certain circumstances.

Why

Sometimes the upload can be over 1000MB which makes the step fail. Making it an argument allows users to specify the upload limit so it can be increased. It also allows users to reduce the value to ensure they don't upload too much by mistake.

Notes

I noticed that the docker image tag used on this step is ~4 years old so updating to my new tag includes some other changes to the cf-docker-test-reporting image. I've added cf_api_retries and report_path arguments as they were added to the docker test reporting executable. I've also added the image_tag argument as an escape hatch just in case it's necessary to target a specific image tag in the future.

Testing

I've tested this locally against a pre-release build of the docker image and it works as expected.

@scme0 scme0 marked this pull request as draft September 3, 2024 09:20
@scme0 scme0 marked this pull request as ready for review September 5, 2024 02:04
"image_tag": {
"type": "string",
"description": "The version of test reporting image",
"default": "1.2.0"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self-reminder: make sure the cf-docker-test-reporting:1.2.0 image is published before merging this PR.

@scme0 scme0 merged commit 1649290 into master Sep 5, 2024
1 check passed
@scme0 scme0 deleted the scme/cr-19339/add-max-file-upload-argument branch September 5, 2024 23:50
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.

2 participants