From f3240ca02f81ad7456dc5c16a729e2674d635929 Mon Sep 17 00:00:00 2001 From: Torge Harbig Date: Thu, 28 Mar 2024 15:32:08 +0000 Subject: [PATCH 1/3] build[SIGBMWDEX-170]: SLC-29-Approved-build-container --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce81864d..c0866ae2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,8 @@ references: defaults: &defaults working_directory: ~/repo docker: - - image: cimg/node:20.11-browsers + # use SAP Approved Build Container for gradle / jdk + - image: node:20-slim restore_cache: &restore_cache restore_cache: From b8af2cc9bf9ffcf813b9f64077dba3cec55fa941 Mon Sep 17 00:00:00 2001 From: Torge Harbig Date: Thu, 28 Mar 2024 15:32:08 +0000 Subject: [PATCH 2/3] build(SIGBMWDEX-170): slc 29 approved build container --- .circleci/config.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ce81864d..c0866ae2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -44,7 +44,8 @@ references: defaults: &defaults working_directory: ~/repo docker: - - image: cimg/node:20.11-browsers + # use SAP Approved Build Container for gradle / jdk + - image: node:20-slim restore_cache: &restore_cache restore_cache: From 0fc4a34e220b4e23337ac8c2036328af397de42f Mon Sep 17 00:00:00 2001 From: Torge Harbig Date: Thu, 28 Mar 2024 15:51:55 +0000 Subject: [PATCH 3/3] build(SIGBMWDEX-170): slc 29 approved build container --- .circleci/config.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index c0866ae2..b6042e72 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,6 +12,16 @@ executors: resource_class: medium commands: + + install_tools: + steps: + - run: + name: "Install tools" + command: | + apt-get -y update && apt-get install -y git curl + # cypress requirements + apt-get -y install libgtk2.0-0 libgtk-3-0 libgbm-dev libnotify-dev libnss3 libxss1 libasound2 libxtst6 xauth xvfb + fortify_scan: parameters: build_id: @@ -60,6 +70,7 @@ jobs: steps: - checkout + - install_tools - *restore_cache @@ -76,6 +87,7 @@ jobs: steps: - checkout + - install_tools - *restore_cache @@ -87,6 +99,7 @@ jobs: <<: *defaults steps: - checkout + - install_tools - *restore_cache @@ -98,6 +111,7 @@ jobs: <<: *defaults steps: - checkout + - install_tools - *restore_cache - run: name: Fix host authenticity for github.com @@ -121,6 +135,7 @@ jobs: <<: *defaults steps: - checkout + - install_tools - *restore_cache - run: name: Define environment variable with lastest commit's message