test runner

This commit is contained in:
tuanvu
2026-02-16 16:06:49 +01:00
parent f0b852d5cd
commit 4485ce3f04

View File

@@ -16,6 +16,8 @@ variables:
check_app_update: check_app_update:
stage: check stage: check
image: debian:latest image: debian:latest
tags:
- docker
before_script: before_script:
- apt-get update && apt-get install -y git ssh - apt-get update && apt-get install -y git ssh
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
@@ -41,11 +43,12 @@ check_app_update:
# Build Frontend (Angular) # Build Frontend (Angular)
build_frontend: build_frontend:
stage: build stage: build
image: node:current-alpine3.23
tags:
- docker
dependencies: dependencies:
- check_app_update - check_app_update
script: script:
- sudo apt-get update
- sudo apt-get install -y nodejs npm
- source variables.env || true - source variables.env || true
- if [ "$NEW_COMMIT" != "true" ]; then - if [ "$NEW_COMMIT" != "true" ]; then
echo "No new commit, skipping build"; echo "No new commit, skipping build";