chore(gitlab-ci): remove demo docker

This commit is contained in:
Sarah Vaupel 2021-11-18 15:27:49 +01:00
parent d5a2dd07fc
commit 2aad0241bf

View File

@ -212,41 +212,41 @@ check:
retry: 2 retry: 2
interruptible: true interruptible: true
demo docker: # demo docker:
stage: docker # 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
- source .gitlab-ci/construct-flake-url.sh # - source .gitlab-ci/construct-flake-url.sh
- nix -L build -o result "${FLAKE}#uniworxDemoDocker" # - nix -L build -o result "${FLAKE}#uniworxDemoDocker"
- cp -pr --reflink=auto -L result uniworx-demo.tar.gz # - cp -pr --reflink=auto -L result uniworx-demo.tar.gz
before_script: *nix-before # before_script: *nix-before
needs: # needs:
- job: node dependencies # transitive # - job: node dependencies # transitive
artifacts: false # artifacts: false
- job: well known # transitive # - job: well known # transitive
artifacts: false # artifacts: false
- job: frontend # tranitive # - job: frontend # tranitive
artifacts: false # artifacts: false
- job: uniworx:lib:uniworx # transitive # - job: uniworx:lib:uniworx # transitive
artifacts: false # artifacts: false
- job: uniworx:exe:uniworx # - job: uniworx:exe:uniworx
artifacts: true # artifacts: true
- job: uniworx:exe:uniworxdb # - job: uniworx:exe:uniworxdb
artifacts: true # artifacts: true
- job: check # sanity # - job: check # sanity
artifacts: false # artifacts: false
artifacts: # artifacts:
paths: # paths:
- uniworx-demo.tar.gz # - uniworx-demo.tar.gz
name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}" # name: "${CI_JOB_NAME}-${CI_COMMIT_SHORT_SHA}"
expire_in: "1 day" # expire_in: "1 day"
retry: 2 # retry: 2
interruptible: true # interruptible: true
rules: # rules:
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/ # - if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
when: manual # when: manual
allow_failure: true # allow_failure: true
docker: docker:
stage: docker stage: docker
@ -331,32 +331,32 @@ upload docker:
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/ - if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
when: on_success when: on_success
upload demo docker: # upload demo docker:
stage: docker # 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
- source .gitlab-ci/construct-flake-url.sh # - source .gitlab-ci/construct-flake-url.sh
- nix -L run "${FLAKE}#pushUniworxDemoDocker" # - nix -L run "${FLAKE}#pushUniworxDemoDocker"
before_script: *nix-before # before_script: *nix-before
needs: # needs:
- job: node dependencies # transitive # - job: node dependencies # transitive
artifacts: false # artifacts: false
- job: well known # transitive # - job: well known # transitive
artifacts: false # artifacts: false
- job: frontend # tranitive # - job: frontend # tranitive
artifacts: false # artifacts: false
- job: uniworx:lib:uniworx # transitive # - job: uniworx:lib:uniworx # transitive
artifacts: false # artifacts: false
- job: uniworx:exe:uniworx # - job: uniworx:exe:uniworx
artifacts: true # artifacts: true
- job: uniworx:exe:uniworxdb # - job: uniworx:exe:uniworxdb
artifacts: true # artifacts: true
- job: check # sanity # - job: check # sanity
artifacts: false # artifacts: false
rules: # rules:
- if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/ # - if: $CI_COMMIT_REF_NAME =~ /^v[0-9].*/
when: on_success # when: on_success
release: release:
variables: variables: