mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 02:00:13 +01:00
fix(ci): only specify component version once
This commit is contained in:
parent
c4a439b839
commit
6cd05e503a
2 changed files with 2 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ deploy:image:
|
||||||
\ localhost/nix-ci docker://${CI_REGISTRY_IMAGE}/nix-ci:${CI_COMMIT_TAG}\nfi\n"
|
\ localhost/nix-ci docker://${CI_REGISTRY_IMAGE}/nix-ci:${CI_COMMIT_TAG}\nfi\n"
|
||||||
stage: build-images
|
stage: build-images
|
||||||
include:
|
include:
|
||||||
- component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/nix-gitlab-ci@$CI_COMMIT_SHA@$CI_COMMIT_SHORT_SHA
|
- component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/nix-gitlab-ci@$CI_COMMIT_SHORT_SHA
|
||||||
inputs:
|
inputs:
|
||||||
version: $CI_COMMIT_SHORT_SHA
|
version: $CI_COMMIT_SHORT_SHA
|
||||||
stages:
|
stages:
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
in
|
in
|
||||||
cilib.mkCI {
|
cilib.mkCI {
|
||||||
config.soonix = {
|
config.soonix = {
|
||||||
componentUrl = "$CI_SERVER_FQDN/$CI_PROJECT_PATH/nix-gitlab-ci@$CI_COMMIT_SHA";
|
componentUrl = "$CI_SERVER_FQDN/$CI_PROJECT_PATH/nix-gitlab-ci";
|
||||||
componentVersion = "$CI_COMMIT_SHORT_SHA";
|
componentVersion = "$CI_COMMIT_SHORT_SHA";
|
||||||
# bootstrapping still needs to be done in the gitlab-ci.yml directly,
|
# bootstrapping still needs to be done in the gitlab-ci.yml directly,
|
||||||
# the child pipeline can then use the built images to test them
|
# the child pipeline can then use the built images to test them
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue