You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While answering this updatecli/updatecli#1137
I noticed that it's not obvious how to revert condition result
Basic example
conditions:
jenkinsexist:
name: Expect condition to succeed as Jenkins version exist
kind: jenkins
spec:
version: '2.235'
release: weekly
failwhen: false
jenkindonotexist:
name: Expect condition to fail due to failwhen even if Jenkins version exist
kind: jenkins
spec:
version: '2.235'
release: weekly
failwhen: true
wrongjenkinsexist:
name: Expect condition to fail as Jenkins version do not exist
kind: jenkins
spec:
version: '2.999'
release: weekly
failwhen: false
wrongjenkindonotexist:
name: Expect condition to success due to failwhen even if Jenkins version do not exist
kind: jenkins
spec:
version: '2.999'
release: weekly
failwhen: true
Motivation
Why are we doing this? What use cases does it support? What is the expected outcome?
The text was updated successfully, but these errors were encountered:
Summary
While answering this updatecli/updatecli#1137
I noticed that it's not obvious how to revert condition result
Basic example
Motivation
Why are we doing this? What use cases does it support? What is the expected outcome?
The text was updated successfully, but these errors were encountered: