Skip to content
This repository was archived by the owner on Feb 8, 2024. It is now read-only.
This repository was archived by the owner on Feb 8, 2024. It is now read-only.

Conditions should allow operators #59

@raine

Description

@raine

I'm trying to use the conditional workflows addition proposed here in a real project but I'm finding that it is really inflexible due to only allowing single value truthiness evaluation.

I would really like to be able to do equality comparisons and use logical operators.

It looks like you basically have to introduce lots of extra pipeline parameters because you can't write expressions that would capture the same condition more simply.

when: << pipeline.parameters.build_project >> == "subproject" || << pipeline.parameters.build_always >>

Something like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions