Skip to content

Feature/ab#2095 add config dialog #18

Feature/ab#2095 add config dialog

Feature/ab#2095 add config dialog #18

Workflow file for this run

name: PR build - compliance check and build test
on:
pull_request:
branches: [sprint,main]
workflow_dispatch:
permissions:
packages: read
contents: read
jobs:
compliance:
runs-on: [self-hosted, linux, X64]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Advance Security Policy as Code
uses: advanced-security/policy-as-code@v2.11.0
continue-on-error: true
with:
policy: GeekMasher/security-queries
policy-path: $GITHUB_WORKSPACE/policies/default.yml
token: ${{ secrets.GITHUB_TOKEN }}
argvs: '--disable-dependabot --disable-secret-scanning --disable-code-scanning'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build-maven:
needs: compliance
runs-on: [self-hosted, linux, X64]
steps:
- name: Set up JDK 25
uses: actions/setup-java@v5
with:
distribution: "temurin"
java-version: 25
- name: Set up Maven
uses: stCarolas/setup-maven@v5
with:
maven-version: 3.9.12
- name: setup node
uses: actions/setup-node@v6
with:
node-version: 24
- run: npm --version
- run: node --version
- run: mvn --version
- name: checkout
uses: actions/checkout@v6
with:
fetch-depth: "0"
- name: Build with Maven
run: mvn clean -B install --file pom.xml
env:
CI: false
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
check_helm:
name: "Check if Helm chart is correct"
needs: build-maven
runs-on: [self-hosted, linux, X64]
steps:
- name: get helm
uses: azure/setup-helm@v4
- name: run helm dependency update
working-directory: apigateway/target/helm/dave-admin-portal
run: helm dep update
- name: run helm template
working-directory: apigateway/target/helm
run: helm template dave-admin-portal