Launch with optimization turned off
Description
Closes #393
This PR adds support for disabling the optimized configuration when launching a pipeline by setting the --disable-optimization flag.
Guidelines for testing
- Create a new pipeline inside an organization workspace (optimization is available in non-personal workspaces only).
- Launch the pipeline once so the optimization becomes available.
- Click on the light bulb and save the default optimization targets and values.
- Verify that the pipeline is shown as optimized.
- Launch the optimized pipeline and check that the configuration contains the optimized parameters.
- Launch the optimized pipeline using
./twwith optimization turned off and check that the configuration does NOT contain the optimized parameters.
./tw launch HelloOptimization -w JaimeInc/Wsp --name=ThisShouldNotHaveOptimizations --disable-optimization
Do I need to do anything special to get the optimization available?
I created a pipeline inside a workspace and ran it, but still can't see the lamp.
I'm assuming you are running the pipeline in Seqera Platform (not in a local dev env)
Did the pipeline finish successfully?
I created a pipeline inside a workspace and ran it, but still can't see the lamp.
Is the lamp icon shown as unavailable or is it not shown at all?
I'm assuming you are running the pipeline in Seqera Platform (not in a local dev env)
It can't be ran locally?
It can't be ran locally?
It can, of course. But, given that tower-cli is a public repo, the test should be expected to run against prod so everyone can try it.
We can discuss offline the setup for the local instance.
tested! works fine!