From 6c7c6f80fb490d11f0bbdb422b996cc766b5452e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Sun, 19 Jan 2025 16:00:07 +0100 Subject: [PATCH] Test fix, parallel procesing of Node.js builds --- .github/workflows/release.yml | 6 +++--- .github/workflows/test.yml | 2 +- Dockerfile | 14 +++++++------- Taskfile.yml | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index abeeac4..0733662 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: run: echo "TAG_NAME=${{ github.event.inputs.version }}" >> $GITHUB_ENV - name: Final build run: | - docker login gitea.ceperka.net -u "${{ secrets.HARBOR_HQ_REPO_USERNAME }}" -p "${{ secrets.HARBOR_HQ_REPO_PASSWORD }}" - task squashed REPO=harbor.hq.rosti.cz/rosti/runtime VERSION=${{ env.TAG_NAME }} - task push REPO=harbor.hq.rosti.cz/rosti/runtime VERSION=${{ env.TAG_NAME }} + docker login gitea.ceperka.net -u "${{ secrets.HARBOR_REPO_USERNAME }}" -p "${{ secrets.HARBOR_REPO_PASSWORD }}" + task squashed REPO=harbor.rosti.cz/rosti/runtime VERSION=${{ env.TAG_NAME }} + task push REPO=harbor.rosti.cz/rosti/runtime VERSION=${{ env.TAG_NAME }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ed1533..e068081 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: run: | # echo "${{ secrets.repo_password }}" | podman login -u $USERNAME --password-stdin $REPO docker login gitea.ceperka.net -u "${{ secrets.REPO_USERNAME }}" -p "${{ secrets.REPO_PASSWORD }}" - task pipeline REPO=harbor.hq.rosti.cz/rosti/runtime/rosti/runtime VERSION=pipeline + task pipeline REPO=gitea.ceperka.net/rosti/runtime VERSION=pipeline diff --git a/Dockerfile b/Dockerfile index ee0e892..4e24aa9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,11 +51,11 @@ ENV TERM xterm # From https://nodejs.org/en/about/previous-releases WORKDIR /usr/src ADD build_node.sh /usr/local/bin/build_node.sh -RUN build_node.sh 18.20.5 -RUN build_node.sh 20.18.1 -RUN build_node.sh 21.7.3 -RUN build_node.sh 22.13.0 -RUN build_node.sh 23.6.0 +RUN build_node.sh 18.20.5 & \ + build_node.sh 20.18.1 & \ + build_node.sh 21.7.3 & \ + build_node.sh 22.13.0 & \ + build_node.sh 23.6.0 ## Python # https://www.python.org/downloads/ @@ -81,8 +81,8 @@ RUN build_ruby.sh 3.4.1 ## Deno # From: https://github.com/denoland/deno/releases ADD build_deno.sh /usr/local/bin/build_deno.sh -RUN build_deno.sh 1.46.3 -RUN build_deno.sh 2.1.6 +RUN build_deno.sh 1.46.3 & \ + build_deno.sh 2.1.6 # Bun # From here: https://bun.sh/ diff --git a/Taskfile.yml b/Taskfile.yml index 0f5e8f3..0cffe68 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -3,7 +3,7 @@ version: '3' vars: - REPO: harbor.hq.rosti.cz/rosti/runtime + REPO: harbor.hq.rosti.cz REPO_PUBLIC: rosti/runtime VERSION: 2025.01-1 BASEIMAGE: debian:bookworm