Compare commits

...

31 Commits

Author SHA1 Message Date
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
d8bdab5b8d 5.0.116 2024-05-16 14:06:03 +02:00
7a6f2f319e fix(core): update 2024-05-16 14:06:03 +02:00
5160ed1348 update description 2024-05-14 23:09:32 +02:00
b5e8ac3b59 5.0.115 2024-04-23 08:57:55 +02:00
bfb1b80180 5.0.114 2024-04-23 08:52:16 +02:00
3e0006f243 fix(core): update 2024-04-23 08:52:15 +02:00
60e9a2a207 5.0.113 2023-04-02 13:22:12 +02:00
7422d9c146 fix(core): update 2023-04-02 13:22:11 +02:00
15 changed files with 221 additions and 11 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 @shipzone/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 @shipzone/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 @shipzone/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 @shipzone/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 @shipzone/npmci
- name: Release
run: |
npmci docker login
npmci docker build
npmci docker test
# npmci docker push gitea.lossless.digital
npmci docker push dockerregistry.lossless.digital
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"
before_script:
- pnpm uninstall -g @shipzone/npmci
- pnpm install -g @ship.zone/npmci
- npmci npm prepare
stages:

View File

@ -1,9 +1,9 @@
FROM ubuntu:20.04
LABEL author="Lossless GmbH <hello@lossless.com>"
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
WORKDIR /workspace
# important environment variables
ENV NODE_VERSION_LTS="18.15.0" NODE_VERSION_STABLE="18.15.0" NVM_DIR="/usr/local/nvm"
ENV NODE_VERSION_LTS="20.12.2" NODE_VERSION_STABLE="20.12.2" NVM_DIR="/usr/local/nvm"
# Set debconf to run non-interactively and install packages
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections \

View File

@ -1,5 +1,5 @@
FROM node:19.0.0-alpine
LABEL author="Lossless GmbH <hello@lossless.com>"
FROM node:18.15.0-alpine
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
#pnpm
ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"

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,5 +1,5 @@
FROM hosttoday/ht-docker-node:latest as stage1
LABEL author="Lossless GmbH <hello@lossless.com>"
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
RUN apt-get update && apt-get install -y --no-install-recommends qemu-user-static binfmt-support
# the following lines need to be run on a system that supports both architectures
# update-binfmts --enable qemu-arm \

View File

@ -1,5 +1,5 @@
FROM hosttoday/ht-docker-node:latest
LABEL author="Lossless GmbH <hello@lossless.com>"
LABEL author="Task Venture Capital GmbH <hello@task.vc>"
RUN bash -c "source $NVM_DIR/nvm.sh \
&& nvm install $NODE_VERSION_LTS"

View File

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

View File

@ -1,7 +1,7 @@
{
"gitzone": {
"module": {
"githost": "gitlab.com",
"githost": "code.foss.global",
"gitscope": "hosttoday",
"gitrepo": "ht-docker-node",
"shortDescription": "docker image with nodejs and shipzone.io support",
@ -14,5 +14,8 @@
"docker.io",
"registry.gitlab.com"
]
},
"tsdoc": {
"legal": "\n## License and Legal Information\n\nThis repository contains open-source code that is licensed under the MIT License. A copy of the MIT License can be found in the [license](license) file within this repository. \n\n**Please note:** The MIT License does not grant permission to use the trade names, trademarks, service marks, or product names of the project, except as required for reasonable and customary use in describing the origin of the work and reproducing the content of the NOTICE file.\n\n### Trademarks\n\nThis project is owned and maintained by Task Venture Capital GmbH. The names and logos associated with Task Venture Capital GmbH and any related products or services are trademarks of Task Venture Capital GmbH and are not included within the scope of the MIT license granted herein. Use of these trademarks must comply with Task Venture Capital GmbH's Trademark Guidelines, and any usage must be approved in writing by Task Venture Capital GmbH.\n\n### Company Information\n\nTask Venture Capital GmbH \nRegistered at District court Bremen HRB 35230 HB, Germany\n\nFor any legal inquiries or if you require further information, please contact us via email at hello@task.vc.\n\nBy using this repository, you acknowledge that you have read this section, agree to comply with its terms, and understand that the licensing of the code does not imply endorsement by Task Venture Capital GmbH of any derivative works.\n"
}
}

2
package-lock.json generated
View File

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

View File

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

1
readme.hints.md Normal file
View File

@ -0,0 +1 @@

14
tsconfig.json Normal file
View File

@ -0,0 +1,14 @@
{
"compilerOptions": {
"experimentalDecorators": true,
"useDefineForClassFields": false,
"target": "ES2022",
"module": "NodeNext",
"moduleResolution": "NodeNext",
"esModuleInterop": true,
"verbatimModuleSyntax": true
},
"exclude": [
"dist_*/**/*.d.ts"
]
}