chore(gitlab-ci): validity

This commit is contained in:
Gregor Kleen 2021-09-22 16:20:56 +02:00
parent 80f73eafb6
commit 335f93e6e9

View File

@ -16,9 +16,8 @@ stages:
- frontend:build - frontend:build
- backend:build - backend:build
- test - test
- docker:build - docker
- prepare release - prepare release
- upload
- release - release
node dependencies: node dependencies:
@ -228,7 +227,7 @@ check:
interruptible: true interruptible: true
demo docker: demo docker:
stage: docker:build stage: docker
script: script:
- xzcat uniworx:exe:uniworx.nar.xz | nix-store --import - xzcat uniworx:exe:uniworx.nar.xz | nix-store --import
- xzcat uniworx:exe:uniworxdb.nar.xz | nix-store --import - xzcat uniworx:exe:uniworxdb.nar.xz | nix-store --import
@ -259,11 +258,11 @@ demo docker:
interruptible: true interruptible: true
rules: rules:
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
when: manuel when: manual
allow_failure: true allow_failure: true
docker: docker:
stage: docker:build stage: docker
script: script:
- xzcat uniworx:exe:uniworx.nar.xz | nix-store --import - xzcat uniworx:exe:uniworx.nar.xz | nix-store --import
- nix -L build -o result .#uniworxDocker - nix -L build -o result .#uniworxDocker
@ -291,7 +290,7 @@ docker:
interruptible: true interruptible: true
rules: rules:
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
when: manuel when: manual
allow_failure: true allow_failure: true
parse changelog: parse changelog:
@ -317,7 +316,7 @@ parse changelog:
interruptible: true interruptible: true
upload docker: upload docker:
stage: upload stage: docker
script: script:
- xzcat uniworx:exe:uniworx.nar.xz | nix-store --import - xzcat uniworx:exe:uniworx.nar.xz | nix-store --import
- nix -L run .#pushUniworxDocker - nix -L run .#pushUniworxDocker
@ -340,7 +339,7 @@ upload docker:
when: on_success when: on_success
upload demo docker: upload demo docker:
stage: upload stage: docker
script: script:
- xzcat uniworx:exe:uniworx.nar.xz | nix-store --import - xzcat uniworx:exe:uniworx.nar.xz | nix-store --import
- xzcat uniworx:exe:uniworxdb.nar.xz | nix-store --import - xzcat uniworx:exe:uniworxdb.nar.xz | nix-store --import