start Dockerfile for tests
This commit is contained in:
parent
198d823f01
commit
6aed9e98e5
54
.gitlab-ci.yml
Normal file
54
.gitlab-ci.yml
Normal file
@ -0,0 +1,54 @@
|
||||
image: hosttoday/ht-docker-dbase
|
||||
services:
|
||||
- docker:dind
|
||||
|
||||
stages:
|
||||
- build
|
||||
- test
|
||||
- release
|
||||
- trigger
|
||||
|
||||
before_script:
|
||||
- npm uninstall -g npmci
|
||||
- npm install -g npmci
|
||||
- npmci prepare docker
|
||||
|
||||
|
||||
build:
|
||||
stage: build
|
||||
script:
|
||||
- npmci build docker
|
||||
tags:
|
||||
- lossless
|
||||
- priv
|
||||
|
||||
|
||||
test:
|
||||
stage: test
|
||||
script:
|
||||
- npmci test docker
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- lossless
|
||||
- priv
|
||||
|
||||
release:
|
||||
stage: release
|
||||
script:
|
||||
- npmci publish npm
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- lossless
|
||||
- priv
|
||||
|
||||
trigger:
|
||||
stage: trigger
|
||||
script:
|
||||
- npmci trigger
|
||||
only:
|
||||
- master
|
||||
tags:
|
||||
- lossless
|
||||
- priv
|
3
.npmignore
Normal file
3
.npmignore
Normal file
@ -0,0 +1,3 @@
|
||||
Dockerfile
|
||||
coverage/
|
||||
docs/
|
1
Dockerfile
Normal file
1
Dockerfile
Normal file
@ -0,0 +1 @@
|
||||
FROM hosttoday/ht-docker-node:lts
|
Loading…
Reference in New Issue
Block a user