fix(core): update

This commit is contained in:
Philipp Kunz 2022-06-16 15:43:43 +02:00
parent 62705a9bed
commit 3069db6cb8

View File

@ -1,75 +1,51 @@
# gitzone docker
image: hosttoday/ht-docker-dbase:npmci
services:
- docker:dind
# gitzone ci_docker
image: registry.gitlab.com/hosttoday/ht-docker-node:npmci
stages:
- buildAndTest
- triggerPagesVerify
cache:
paths:
- .npmci-cache/
key: "$CI_BUILD_STAGE"
before_script:
- yarn global add npmci
- npmci npm prepare
stages:
- test
- release
- trigger
- pages
testStable:
stage: test
script:
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- docker
release:
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
services:
- docker:stable-dind
stage: release
script:
- npmci node install lts
- npmci docker login
buildTest:
stage: buildAndTest
script:
- npmci docker build
- npmci docker test
except:
- tags
- triggers
tags:
- lossless
- priv
buildTestRelase:
stage: buildAndTest
script:
- npmci docker build
- npmci docker test
- npmci docker push registry.gitlab.com test
- npmci docker push registry.gitlab.com
- npmci docker push docker.io
- npmci docker build
- npmci docker test
- npmci docker push registry.gitlab.com
only:
- tags
- triggers
- tags
tags:
- lossless
- priv
- docker
- priv
trigger:
stage: triggerPagesVerify
stage: trigger
script:
- 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:
- tags
tags: