Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
pull-requests: write
packages: write

jobs:
pipeline:
Expand All @@ -26,6 +27,7 @@ jobs:
OVERRIDE_GITHUB_REF_NAME: ${{ github.event_name == 'push' && github.ref_name || github.event.pull_request.head.ref }}
env:
GLPA_C0_GH_REF: ${{ github.ref }}
GLPA_C0_GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Find existing comment
uses: peter-evans/find-comment@v4
Expand Down
19 changes: 0 additions & 19 deletions .github/workflows/test.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,49 @@
stages:
- test
- build

include:
- project: code0-tech/development/telescopium
ref: build-branch
file: ci-template.gitlab-ci.yml

.dind:
variables:
DOCKER_MIRROR: https://mirror.gcr.io
DOCKER_OPTIONS: "--registry-mirror ${DOCKER_MIRROR}"
DOCKER_DRIVER: overlay2
DOCKER_HOST: tcp://docker:2376
DOCKER_TLS_CERTDIR: /certs
services:
- name: docker:29.4.1-dind
alias: docker
entrypoint: [ "sh", "-c", "dockerd-entrypoint.sh $DOCKER_OPTIONS" ]

.node-actions:
- gls-action

test-node:
image: node:24.10.0
stage: test
parallel:
matrix:
- C0_ACTION: !reference [.node-actions]
script:
- cd actions/$C0_ACTION
- npm ci
- npm run typecheck
- npm run test

build-docker:
extends:
- .dind
image: docker:29.4.1
stage: build
parallel:
matrix:
- C0_ACTION: !reference [.node-actions]
script:
- cd actions/$C0_ACTION
- echo $C0_GH_TOKEN | docker login -u $ --password-stdin ghcr.io
- docker build -t ghcr.io/code0-tech/centaurus/ci-builds/$C0_ACTION:0.0.0-experimental-$CI_PIPELINE_ID-$CI_COMMIT_SHA .
- docker push ghcr.io/code0-tech/centaurus/ci-builds/$C0_ACTION:0.0.0-experimental-$CI_PIPELINE_ID-$CI_COMMIT_SHA
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 24.10.0
2 changes: 1 addition & 1 deletion actions/gls-action/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:24-alpine
FROM node:24.10.0-alpine

WORKDIR /app

Expand Down