Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
c5365798b6 | |||
184e13b91e | |||
a1f5bbb6f0 | |||
21189adb66 | |||
4bd28a3a54 | |||
b48aa0e077 | |||
95f4b0b8e4 | |||
bb1db7e9a8 | |||
12a9413444 | |||
69d937edb0 | |||
4953e7b345 | |||
c04e941274 | |||
dfadb7e1f2 | |||
1932695c81 |
@ -5,8 +5,7 @@ services:
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- buildAndTest
|
- buildAndTest
|
||||||
- trigger
|
- triggerPagesVerify
|
||||||
- pages
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- yarn global add npmci
|
- yarn global add npmci
|
||||||
@ -40,7 +39,7 @@ buildTestRelase:
|
|||||||
- priv
|
- priv
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
stage: trigger
|
stage: triggerPagesVerify
|
||||||
script:
|
script:
|
||||||
- npmci trigger
|
- npmci trigger
|
||||||
only:
|
only:
|
||||||
@ -51,10 +50,10 @@ trigger:
|
|||||||
- priv
|
- priv
|
||||||
|
|
||||||
pages:
|
pages:
|
||||||
|
stage: triggerPagesVerify
|
||||||
before_script:
|
before_script:
|
||||||
- 'npmci -v'
|
- 'npmci -v'
|
||||||
image: hosttoday/ht-docker-node:npmci
|
image: hosttoday/ht-docker-node:npmci
|
||||||
stage: pages
|
|
||||||
script:
|
script:
|
||||||
- npmci command yarn global add npmpage
|
- npmci command yarn global add npmpage
|
||||||
- npmci command npmpage
|
- npmci command npmpage
|
||||||
@ -66,3 +65,12 @@ pages:
|
|||||||
expire_in: 1 week
|
expire_in: 1 week
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
|
|
||||||
|
verify:
|
||||||
|
stage: triggerPagesVerify
|
||||||
|
script:
|
||||||
|
- npmci docker pull registry.gitlab.com test
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
tags:
|
||||||
|
- docker
|
@ -15,4 +15,4 @@ RUN apt-get update && apt-get install -y wget --no-install-recommends \
|
|||||||
&& apt-get install -y google-chrome-unstable \
|
&& apt-get install -y google-chrome-unstable \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
&& rm -rf /var/lib/apt/lists/* \
|
||||||
&& rm -rf /src/*.deb
|
&& rm -rf /src/*.deb
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
FROM hosttoday/ht-docker-node:stable
|
||||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
LABEL author="Lossless GmbH <office@lossless.com>"
|
||||||
|
|
||||||
RUN yarn global add npmci
|
RUN yarn global add @shipzone/npmci
|
||||||
|
@ -1,21 +0,0 @@
|
|||||||
FROM hosttoday/ht-docker-node:stable
|
|
||||||
LABEL author="Lossless GmbH <office@lossless.com>"
|
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y python-pip
|
|
||||||
RUN yarn global add npmpage
|
|
||||||
RUN pip install --upgrade pip \
|
|
||||||
&& pip install mkdocs \
|
|
||||||
&& mkdocs --version \
|
|
||||||
&& pip install mkdocs-material \
|
|
||||||
&& pip install pygments \
|
|
||||||
&& pip install pymdown-extensions
|
|
||||||
|
|
||||||
# Set working directory
|
|
||||||
WORKDIR /docs
|
|
||||||
|
|
||||||
# Expose MkDocs development server port
|
|
||||||
EXPOSE 8000
|
|
||||||
|
|
||||||
# Start development server by default
|
|
||||||
ENTRYPOINT ["mkdocs"]
|
|
||||||
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ht-docker-node",
|
"name": "ht-docker-node",
|
||||||
"version": "4.3.55",
|
"version": "4.3.62",
|
||||||
"description": "docker image with nodejs with shipzone.io support",
|
"description": "docker image with nodejs with shipzone.io support",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Reference in New Issue
Block a user