fix(core): update

This commit is contained in:
Philipp Kunz 2022-06-16 15:42:39 +02:00
parent b415fae612
commit c1facb72c2

View File

@ -1,75 +1,51 @@
# gitzone docker # gitzone ci_docker
image: hosttoday/ht-docker-dbase:npmci image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
services:
- docker:dind
stages: cache:
- buildAndTest paths:
- triggerPagesVerify - .npmci-cache/
key: "$CI_BUILD_STAGE"
before_script: before_script:
- yarn global add npmci - npmci npm prepare
- npmci docker login
buildTest: stages:
stage: buildAndTest - test
- release
- trigger
- pages
testStable:
stage: test
script: script:
- npmci docker build - npmci node install stable
- npmci docker test - npmci npm install
except: - npmci npm test
- tags coverage: /\d+.?\d+?\%\s*coverage/
- triggers
tags: tags:
- lossless - docker
- priv
buildTestRelease: release:
stage: buildAndTest image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
services:
- docker:stable-dind
stage: release
script: script:
- npmci node install lts
- npmci docker login
- npmci docker build - npmci docker build
- npmci docker test - npmci docker test
- npmci docker push registry.gitlab.com test
- npmci docker push registry.gitlab.com - npmci docker push registry.gitlab.com
- npmci docker push docker.io
only: only:
- tags - tags
- triggers
tags: tags:
- lossless - docker
- priv - priv
trigger: trigger:
stage: triggerPagesVerify stage: trigger
script: script:
- npmci trigger - npmci trigger
only:
- tags
- triggers
tags:
- lossless
- priv
pages:
stage: triggerPagesVerify
before_script:
- 'npmci -v'
image: hosttoday/ht-docker-node:npmci
script:
- npmci command yarn global add npmpage
- npmci command npmpage
only:
- tags
tags:
- docker
artifacts:
expire_in: 1 week
paths:
- public
verify:
stage: triggerPagesVerify
script:
- npmci docker pull registry.gitlab.com test
only: only:
- tags - tags
tags: tags: