mirror of
https://gitlab.com/TECHNOFAB/nix-gitlab-ci.git
synced 2025-12-12 10:10:06 +01:00
Merge branch 'ci/improve-dogfood' into 'main'
ci: improve dogfooding by using the CI built images directly See merge request TECHNOFAB/nix-gitlab-ci!6
This commit is contained in:
commit
546eea3006
2 changed files with 4 additions and 4 deletions
|
|
@ -1,10 +1,13 @@
|
||||||
include:
|
include:
|
||||||
- component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/nix-gitlab-ci@$CI_COMMIT_SHA
|
- component: $CI_SERVER_FQDN/$CI_PROJECT_PATH/nix-gitlab-ci@$CI_COMMIT_SHA
|
||||||
|
inputs:
|
||||||
|
image_tag: $CI_COMMIT_SHORT_SHA
|
||||||
stages:
|
stages:
|
||||||
|
- build-images
|
||||||
- build
|
- build
|
||||||
- trigger
|
- trigger
|
||||||
build:image:
|
build:image:
|
||||||
stage: build
|
stage: build-images
|
||||||
parallel:
|
parallel:
|
||||||
matrix:
|
matrix:
|
||||||
- VARIANT: ["", "-cachix", "-attic"]
|
- VARIANT: ["", "-cachix", "-attic"]
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,6 @@
|
||||||
jobs = {
|
jobs = {
|
||||||
"test" = {
|
"test" = {
|
||||||
stage = "test";
|
stage = "test";
|
||||||
# wait an hour so the image builds
|
|
||||||
when = "delayed";
|
|
||||||
start_in = "1 hour";
|
|
||||||
nix = {
|
nix = {
|
||||||
deps = [pkgs.hello pkgs.curl];
|
deps = [pkgs.hello pkgs.curl];
|
||||||
disable-cache = false;
|
disable-cache = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue