-
Notifications
You must be signed in to change notification settings - Fork 8
buildkite_pipeline_upload: make sure environment keys and values are Strings
#608
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
Conversation
lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_pipeline_upload_action.rb
Outdated
Show resolved
Hide resolved
| # Both keys and values need to be passed as strings | ||
| environment = params[:environment].to_h { |k, v| [k.to_s, v.to_s] } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
Co-authored-by: Olivier Halligon <[email protected]>
…ake the absolute vs. relative path handling
mokagio
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @iangmaia
| FastlaneCore::ConfigItem.new( | ||
| key: :pipeline_file, | ||
| description: 'The path to the YAML pipeline file to upload', | ||
| description: 'The path to the YAML pipeline file to upload. If a relative path is provided, it will be prefixed with the `.buildkite/` folder path. Absolute paths are used as-is', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving the option to pass an absolute path is excellent
lib/fastlane/plugin/wpmreleasetoolkit/actions/common/buildkite_pipeline_upload_action.rb
Outdated
Show resolved
Hide resolved
…_pipeline_upload_action.rb Co-authored-by: Gio Lodi <[email protected]>
What does it do?
Follow-up to the discussions in https://github.com/woocommerce/woocommerce-android/pull/12839/files#r1821331463. This PR:
environmentparameter are strings.buildkiteto thepipeline_fileparameter , enforcing our conventionsChecklist before requesting a review
bundle exec rubocopto test for code style violations and recommendationsspecs/*_spec.rb) if applicablebundle exec rspecto run the whole test suite and ensure all your tests passCHANGELOG.mdfile to describe your changes under the appropriate existing###subsection of the existing## Trunksection.MIGRATION.mdfile to describe how the changes will affect the migration from the previous major version and what the clients will need to change and consider.