From bf5e5c75428944b7f63687ab1714dd3894653a4a Mon Sep 17 00:00:00 2001 From: Armando Diaz Date: Thu, 16 Oct 2025 14:52:00 -0500 Subject: [PATCH 1/3] build container test --- .gitlab-ci.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e29d91..965f30f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,6 @@ stages: - test + - build-container # Test stage test: @@ -10,4 +11,17 @@ test: - npm config set registry https://deps.global.bsf.tools/artifactory/api/npm/registry.npmjs.org/ - npm config set strict-ssl false - npm config fix - - npm install \ No newline at end of file + - npm install + +build_container: + stage: build + image: deps.global.bsf.tools/quay.io/buildah/stable:latest + variables: + IMAGE_NAME: "$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG-$CI_COMMIT_SHORT_SHA" + before_script: + - mkdir -p /tmp/buildah-storage + - export BUILDAH_ROOT="/tmp/buildah-storage" + - echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY" + script: + - buildah bud --build-arg NPM_REGISTRY=https://deps.global.bsf.tools/artifactory/api/npm/registry.npmjs.org/ --storage-driver vfs --isolation chroot -t $IMAGE_NAME . + - buildah push --storage-driver vfs $IMAGE_NAME \ No newline at end of file From 10b95ec5efb125393e670358c24ad0e8ea5febdf Mon Sep 17 00:00:00 2001 From: Armando Diaz Date: Thu, 16 Oct 2025 15:03:05 -0500 Subject: [PATCH 2/3] fix typo --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 965f30f..150f2f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,6 +1,6 @@ stages: - test - - build-container + - build # Test stage test: From a1151d5e89d53f0f6d3e23ac1192ca81d3ea8c2b Mon Sep 17 00:00:00 2001 From: Armando Diaz Date: Thu, 16 Oct 2025 15:09:26 -0500 Subject: [PATCH 3/3] allow test job to fail --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 150f2f9..7f19844 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,6 +5,7 @@ stages: # Test stage test: stage: test + allow_failure: true image: containers.global.bsf.tools/node:20.11-alpine3.19 script: - cd frontend