Compare commits

..

31 Commits

Author SHA1 Message Date
ca92e81fae 5.0.132
Some checks failed
Docker (tags) / security (push) Successful in 37s
Docker (tags) / test (push) Successful in 47s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Failing after 59s
2024-05-24 13:15:38 +02:00
47a7b99e55 fix(core): update 2024-05-24 13:15:37 +02:00
f945921591 5.0.131
Some checks failed
Docker (tags) / security (push) Successful in 29s
Docker (tags) / test (push) Successful in 54s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Failing after 7m26s
2024-05-24 13:05:17 +02:00
c0aaf75f4f fix(core): update 2024-05-24 13:05:16 +02:00
5f64057cdb 5.0.130
Some checks failed
Docker (tags) / security (push) Successful in 33s
Docker (tags) / test (push) Successful in 47s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Failing after 21s
2024-05-24 13:02:38 +02:00
d84919c3e6 fix(core): update 2024-05-24 13:02:37 +02:00
1db9b7978a 5.0.129
Some checks failed
Docker (tags) / security (push) Successful in 26s
Docker (tags) / test (push) Successful in 44s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Failing after 23s
2024-05-24 12:59:19 +02:00
ba19c565f6 fix(core): update 2024-05-24 12:59:19 +02:00
bcdd4d2acb 5.0.128
Some checks failed
Docker (tags) / security (push) Successful in 27s
Docker (tags) / test (push) Successful in 44s
Docker (tags) / metadata (push) Successful in 5s
Docker (tags) / release (push) Failing after 26s
2024-05-24 12:59:00 +02:00
662b888a35 fix(core): update 2024-05-24 12:58:59 +02:00
004ce39822 5.0.127
Some checks failed
Docker (tags) / security (push) Failing after 22s
Docker (tags) / test (push) Has been skipped
Docker (tags) / release (push) Has been skipped
Docker (tags) / metadata (push) Has been skipped
2024-05-24 12:57:16 +02:00
c1fb329671 fix(core): update 2024-05-24 12:57:15 +02:00
c2813373aa 5.0.126 2024-05-23 21:59:57 +02:00
617fa0f082 fix(core): update 2024-05-23 21:59:56 +02:00
1a6c1fcdf3 5.0.125 2024-05-23 21:54:51 +02:00
5f5f24d07d fix(core): update 2024-05-23 21:54:51 +02:00
2973032ead 5.0.124 2024-05-23 21:48:25 +02:00
05f2b58bdf 5.0.123 2024-05-17 20:24:59 +02:00
2c30a475a0 fix(core): update 2024-05-17 20:24:58 +02:00
944d2b4407 5.0.122 2024-05-16 16:35:19 +02:00
2a4cd64634 fix(core): update 2024-05-16 16:35:19 +02:00
0eb5bb0723 5.0.121 2024-05-16 16:25:50 +02:00
fefd97be8d fix(core): update 2024-05-16 16:25:49 +02:00
2b65b6b1fe 5.0.120 2024-05-16 16:24:33 +02:00
d76ea8564a fix(core): update 2024-05-16 16:24:33 +02:00
f476d6c897 5.0.119 2024-05-16 14:59:21 +02:00
7a7aafec13 fix(core): update 2024-05-16 14:59:20 +02:00
4184c17f2e 5.0.118 2024-05-16 14:29:32 +02:00
af4ceea6d0 fix(core): update 2024-05-16 14:29:31 +02:00
53962dc4c4 5.0.117 2024-05-16 14:13:16 +02:00
1687273fd2 fix(core): update 2024-05-16 14:13:15 +02:00
9 changed files with 196 additions and 9 deletions

View File

@ -0,0 +1,71 @@
name: Docker (tags)
on:
push:
tags-ignore:
- '**'
env:
IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:npmci
NPMCI_COMPUTED_REPOURL: https://${{gitea.repository_owner}}:${{secrets.GITEA_TOKEN}}@gitea.lossless.digital/${{gitea.repository}}.git
NPMCI_TOKEN_NPM: ${{secrets.NPMCI_TOKEN_NPM}}
NPMCI_TOKEN_NPM2: ${{secrets.NPMCI_TOKEN_NPM2}}
NPMCI_GIT_GITHUBTOKEN: ${{secrets.NPMCI_GIT_GITHUBTOKEN}}
NPMCI_LOGIN_DOCKER_GITEA: ${{ github.server_url }}|${{ gitea.repository_owner }}|${{ secrets.GITEA_TOKEN }}
NPMCI_LOGIN_DOCKER_DOCKERREGISTRY: ${{ secrets.NPMCI_LOGIN_DOCKER_DOCKERREGISTRY }}
jobs:
security:
runs-on: ubuntu-latest
container:
image: ${{ env.IMAGE }}
continue-on-error: true
steps:
- uses: actions/checkout@v3
- name: Install pnpm and npmci
run: |
pnpm install -g pnpm
pnpm install -g @ship.zone/npmci
npmci npm prepare
- name: Audit production dependencies
run: |
npmci command npm config set registry https://registry.npmjs.org
npmci command pnpm audit --audit-level=high --prod
continue-on-error: true
- name: Audit development dependencies
run: |
npmci command npm config set registry https://registry.npmjs.org
npmci command pnpm audit --audit-level=high --dev
continue-on-error: true
test:
needs: security
runs-on: ubuntu-latest
container:
image: ${{ env.IMAGE }}
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
pnpm install -g pnpm
pnpm install -g @ship.zone/npmci
npmci npm prepare
- name: Test stable
run: |
npmci node install stable
npmci npm install
npmci npm test
- name: Test build
run: |
npmci npm prepare
npmci node install stable
npmci npm install
npmci command npm run build

View File

@ -0,0 +1,106 @@
name: Docker (tags)
on:
push:
tags:
- '*'
env:
IMAGE: registry.gitlab.com/hosttoday/ht-docker-node:npmci
NPMCI_COMPUTED_REPOURL: https://${{gitea.repository_owner}}:${{secrets.GITEA_TOKEN}}@gitea.lossless.digital/${{gitea.repository}}.git
# NPMCI_TOKEN_NPM: ${{secrets.NPMCI_TOKEN_NPM}}
# NPMCI_TOKEN_NPM2: ${{secrets.NPMCI_TOKEN_NPM2}}
# NPMCI_GIT_GITHUBTOKEN: ${{secrets.NPMCI_GIT_GITHUBTOKEN}}
NPMCI_LOGIN_DOCKER_GITEA: ${{ github.server_url }}|${{ gitea.repository_owner }}|${{ secrets.GITEA_TOKEN }}
# NPMCI_LOGIN_DOCKER_DOCKERREGISTRY: ${{ secrets.NPMCI_LOGIN_DOCKER_DOCKERREGISTRY }}
jobs:
security:
runs-on: ubuntu-latest
container:
image: ${{ env.IMAGE }}
continue-on-error: true
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
pnpm install -g pnpm
pnpm install -g @ship.zone/npmci
npmci npm prepare
- name: Audit production dependencies
run: |
npmci command npm config set registry https://registry.npmjs.org
npmci command pnpm audit --audit-level=high --prod
continue-on-error: true
- name: Audit development dependencies
run: |
npmci command npm config set registry https://registry.npmjs.org
npmci command pnpm audit --audit-level=high --dev
continue-on-error: true
test:
needs: security
runs-on: ubuntu-latest
container:
image: ${{ env.IMAGE }}
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
pnpm install -g pnpm
pnpm install -g @ship.zone/npmci
npmci npm prepare
- name: Test stable
run: |
npmci node install stable
npmci npm install
npmci npm test
- name: Test build
run: |
npmci node install stable
npmci npm install
npmci command npm run build
release:
needs: test
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
container:
image: registry.gitlab.com/hosttoday/ht-docker-dbase:npmci
steps:
- uses: actions/checkout@v3
- name: Prepare
run: |
pnpm install -g pnpm
pnpm install -g @ship.zone/npmci
- name: Release
run: |
npmci docker login
npmci docker build
npmci docker test
# npmci docker push gitea.lossless.digital
npmci docker push code.foss.global
metadata:
needs: test
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-latest
container:
image: ${{ env.IMAGE }}
steps:
- uses: actions/checkout@v3
- name: Trigger
run: npmci trigger

View File

@ -7,6 +7,8 @@ cache:
key: "$CI_BUILD_STAGE" key: "$CI_BUILD_STAGE"
before_script: before_script:
- pnpm uninstall -g @ship.zone/npmci
- pnpm install -g @ship.zone/npmci
- npmci npm prepare - npmci npm prepare
stages: stages:

View File

@ -7,4 +7,4 @@ RUN pip3 install --no-cache --upgrade pip setuptools
RUN apk add --update alpine-sdk && \ RUN apk add --update alpine-sdk && \
apk add libffi-dev openssl-dev && \ apk add libffi-dev openssl-dev && \
apk add python3-dev && \ apk add python3-dev && \
pnpm install -g @shipzone/npmci node-gyp pnpm install -g @ship.zone/npmci node-gyp

View File

@ -1,5 +0,0 @@
FROM hosttoday/ht-docker-node:npmci
WORKDIR /
RUN npm init -y
RUN npm install @git.zone/tsrun @git.zone/tstest @push.rocks/qenv @push.rocks/smartfile @push.rocks/smartpath @push.rocks/smartshell @push.rocks/tapbundle axios @push.rocks/smartdelay @push.rocks/smartjson

View File

@ -0,0 +1,13 @@
FROM hosttoday/ht-docker-node:npmci
RUN npm install -g \
@git.zone/tsrun \
@git.zone/tstest \
@push.rocks/qenv \
@push.rocks/smartfile \
@push.rocks/smartpath \
@push.rocks/smartshell \
@push.rocks/tapbundle \
axios \
@push.rocks/smartdelay \
@push.rocks/smartjson \
@push.rocks/tapbundle

View File

@ -1,4 +1,4 @@
FROM hosttoday/ht-docker-node:latest FROM hosttoday/ht-docker-node:latest
LABEL author="Task Venture Capital GmbH <hello@task.vc>" LABEL author="Task Venture Capital GmbH <hello@task.vc>"
RUN pnpm install -g @shipzone/npmci RUN pnpm install -g @ship.zone/npmci

2
package-lock.json generated
View File

@ -1,5 +1,5 @@
{ {
"name": "ht-docker-node", "name": "ht-docker-node",
"version": "5.0.116", "version": "5.0.132",
"lockfileVersion": 1 "lockfileVersion": 1
} }

View File

@ -1,6 +1,6 @@
{ {
"name": "ht-docker-node", "name": "ht-docker-node",
"version": "5.0.116", "version": "5.0.132",
"description": "docker image with nodejs and shipzone.io support", "description": "docker image with nodejs and shipzone.io support",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {