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
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 docker login
- npmci npm prepare
buildTest:
stage: buildAndTest
stages:
- test
- release
- trigger
- pages
testStable:
stage: test
script:
- npmci docker build
- npmci docker test
except:
- tags
- triggers
- npmci node install stable
- npmci npm install
- npmci npm test
coverage: /\d+.?\d+?\%\s*coverage/
tags:
- lossless
- priv
- docker
buildTestRelease:
stage: buildAndTest
release:
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
services:
- docker:stable-dind
stage: release
script:
- npmci node install lts
- npmci docker login
- npmci docker build
- npmci docker test
- npmci docker push registry.gitlab.com test
- npmci docker push registry.gitlab.com
- npmci docker push docker.io
only:
- tags
- triggers
tags:
- lossless
- 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: