Skip to content

Commit

Permalink
build[SIGBMWDEX-170]: SLC-29-Approved-build-container (#781)
Browse files Browse the repository at this point in the history
* build[SIGBMWDEX-170]: SLC-29-Approved-build-container

* build(SIGBMWDEX-170): slc 29 approved build container

* build(SIGBMWDEX-170): slc 29 approved build container
  • Loading branch information
TorgeHarbig committed May 17, 2024
1 parent deaf2df commit c9330f4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 gpg
# 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:
Expand Down Expand Up @@ -44,7 +54,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:
Expand All @@ -59,6 +70,7 @@ jobs:

steps:
- checkout
- install_tools

- *restore_cache

Expand All @@ -75,6 +87,7 @@ jobs:

steps:
- checkout
- install_tools

- *restore_cache

Expand All @@ -86,6 +99,7 @@ jobs:
<<: *defaults
steps:
- checkout
- install_tools

- *restore_cache

Expand All @@ -97,6 +111,7 @@ jobs:
<<: *defaults
steps:
- checkout
- install_tools
- *restore_cache
- run:
name: Fix host authenticity for github.com
Expand All @@ -120,6 +135,7 @@ jobs:
<<: *defaults
steps:
- checkout
- install_tools
- *restore_cache
- run:
name: Define environment variable with lastest commit's message
Expand Down

0 comments on commit c9330f4

Please sign in to comment.