Commit 248071b6 authored by Revant Nandgaonkar's avatar Revant Nandgaonkar

ci: Use LTS images for angular

Use NodeJS LTS images to test and build angular
Use NodeJS Latest images to test and build NestJS

Add nodejs-lts-headless-chrome
parent c8b4659c
image: registry.gitlab.com/castlecraft/docker-craft/node-latest-headless-chrome:latest
image: registry.gitlab.com/castlecraft/docker-craft/node-latest-dockerize:latest
services:
- name: bitnami/mongodb:latest
......@@ -55,6 +55,7 @@ test_authorization_server:
- docker
test_authorization_client:
image: registry.gitlab.com/castlecraft/docker-craft/node-lts-headless-chrome:latest
stage: tests
before_script:
- cd frontends/authorization-client
......@@ -110,6 +111,7 @@ test_identity_provider:
- docker
test_identity_client:
image: registry.gitlab.com/castlecraft/docker-craft/node-lts-headless-chrome:latest
stage: tests
before_script:
- cd frontends/identity-client
......@@ -147,6 +149,7 @@ test_infrastructure_console:
- docker
test_admin_client:
image: registry.gitlab.com/castlecraft/docker-craft/node-lts-headless-chrome:latest
stage: tests
before_script:
- cd frontends/admin-client
......
FROM node:latest
FROM node:lts
# Copy and build app
COPY . /home/craft/admin-client
WORKDIR /home/craft
......
FROM node:latest
FROM node:lts
# Copy and build app
COPY . /home/craft/authorization-client
WORKDIR /home/craft
......
FROM node:latest
FROM node:lts
# Copy and build app
COPY . /home/craft/identity-client
WORKDIR /home/craft
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment