Skip to content

Off-topic - if instruction in rules - Jsonnet to YAML conversion #11

@TBG-FR

Description

@TBG-FR

Hello there, and sorry for the off-topic 😅

I've seen in your https://github.com/StackVista/helm-charts/blob/master/.gitlab-ci.jsonnet file that you suceeded to define rules: if rules for Gitlab CI/CD, by using the following syntax @'if': and I'm quite impressed because I've been struggling for a while with that one

Would you mind sharing the details of your pre-commit hooks jsonnet_format and jsonnet_to_yaml ? I can't get these rules to work from Jsonnet... (when I define them directly in YAML, they work well !)

Many and huge thanks in advance 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions