Skip to content

Commit 7c4e4ba

Browse files
authored
[patch] Add skipPreCheck to launchUpgradePipeline (#8)
1 parent e946b05 commit 7c4e4ba

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/mas/devops/tekton.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ def testCLI() -> None:
241241

242242
def launchUpgradePipeline(dynClient: DynamicClient,
243243
instanceId: str,
244+
skipPreCheck: bool = False,
244245
masChannel: str = "") -> str:
245246
"""
246247
Create a PipelineRun to upgrade the chosen MAS instance
@@ -257,6 +258,7 @@ def launchUpgradePipeline(dynClient: DynamicClient,
257258
renderedTemplate = template.render(
258259
timestamp=timestamp,
259260
mas_instance_id=instanceId,
261+
skip_pre_check=skipPreCheck,
260262
mas_channel=masChannel
261263
)
262264
pipelineRun = yaml.safe_load(renderedTemplate)

0 commit comments

Comments
 (0)