mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-11 01:30:08 +01:00
chore: alias original pipeline source & document component issue
Closes #27
This commit is contained in:
parent
7cb73d2319
commit
fa33f6e0b7
2 changed files with 8 additions and 0 deletions
|
|
@ -2,6 +2,13 @@
|
|||
|
||||
The CI/CD Component has some inputs which configure defaults for Nix GitLab CI.
|
||||
|
||||
!!! WARNING
|
||||
|
||||
If you get errors like `the component path is not supported` it might be related to
|
||||
[this issue](https://gitlab.com/gitlab-org/gitlab/-/issues/437996#note_1775337668).
|
||||
|
||||
See [here](https://gitlab.com/TECHNOFAB/nix-gitlab-ci/-/issues/27) for more.
|
||||
|
||||
## `version`
|
||||
|
||||
- Type: `string`
|
||||
|
|
|
|||
|
|
@ -62,6 +62,7 @@ nix-ci:build:
|
|||
|| NIX_CI_PIPELINE_NAME="$CI_PIPELINE_SOURCE";
|
||||
fi
|
||||
echo "NIX_CI_GENERATED_PIPELINE_NAME=$NIX_CI_PIPELINE_NAME" >> trigger.env
|
||||
echo "ORIGINAL_CI_PIPELINE_SOURCE=$CI_PIPELINE_SOURCE" >> trigger.env
|
||||
# inheritance of pipeline variables is a bit weird, so explicitly override them
|
||||
# (ctx: setting any of these in the project variables would only apply correctly
|
||||
# in this pipeline, not the child pipeline, instead weirdly enough the default
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue