Override pipeline default values #975
Open
+42
−10
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do and why?
Describe in detail what your merge request does and why.
This PR updates the pipeline.rb file to set two new hashes
default_params
which contains the default params formerly in the workflow executions create service and adefault_workflow_params
hash which contains any of the defaults required for the workflow.Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other pull requests.
These screenshots display the transformation type that the workflow execution ran with (removed hidden from property
transformation
for the pipelines for screenshot purposes)How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
pipelines.json
to include the following pipelines (remove thehidden:true
from the transformation properties for both pipelines so that you can view which transformation type was set for the workflow execution in the UI )Samples
table and select the rocket iconCalculate Age
pipeline and select the metadata fields and clickSubmit
Lock Metadata
Parameters
tab for the workflow executions launched abovePR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.