Skip to content
Snippets Groups Projects
Commit 70713eae authored by Zygmunt Krynicki's avatar Zygmunt Krynicki
Browse files

ci: allow using custom interpreter for local manifest


Local manifests are mostly useful for various kinds of pipelines, e.g. for
merge requests and branch testing. They can use rules:if syntax to modify a
variable that is later used in shell. Due to the way variable interpolation
works in GitLab runners, the value itself cannot use further shell constructs,
like sub-shell substitution.

Introduce CI_ONIRO_REPO_WORKSPACE_LOCAL_MANIFEST_INTERPRETER variable, which
defaults to "echo" and allows using a custom interpreter. One possible use-case
is to use "eval" as interpreter and an arbitrary bash program, which is meant
to print the new local manifest, as value.

Signed-off-by: default avatarZygmunt Krynicki <zygmunt.krynicki@huawei.com>
parent b400ba6d
No related branches found
No related tags found
Loading
This commit is part of merge request !29. Comments created here will be created in the context of that merge request.
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment