Skip to content

fix: fixed trust chain validation test #318

fix: fixed trust chain validation test

fix: fixed trust chain validation test #318

Workflow file for this run

name: Run CI
on:
push:
workflow_dispatch:
jobs:
gradle:
strategy:
matrix:
# Removed windows, because build failing with docker network. "bridge" network driver is not supported for Windows containers
# os: [ ubuntu-latest, windows-latest ]
os: [ ubuntu-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: adopt-hotspot
java-version: 17
- name: Run database
run: docker compose -f docker-compose.yaml up db -d
env:
DATASOURCE_USER: ${{ secrets.DATASOURCE_USER }}
DATASOURCE_PASSWORD: ${{ secrets.DATASOURCE_PASSWORD }}
DATASOURCE_URL: ${{ secrets.DATASOURCE_URL }}
- name: Run local KMS database
run: docker compose -f docker-compose.yaml up local-kms-db -d
env:
DATASOURCE_USER: ${{ secrets.LOCAL_KMS_DATASOURCE_USER }}
DATASOURCE_PASSWORD: ${{ secrets.LOCAL_KMS_DATASOURCE_PASSWORD }}
DATASOURCE_URL: ${{ secrets.LOCAL_KMS_DATASOURCE_URL }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v3
- name: Grant execute permission for Gradlew (Linux/Mac)
if: runner.os != 'Windows'
run: chmod +x ./gradlew
- name: Execute Gradle build
run: ./gradlew build
env:
APP_KEY: ${{ secrets.APP_KEY }}
DATASOURCE_USER: ${{ secrets.DATASOURCE_USER }}
DATASOURCE_PASSWORD: ${{ secrets.DATASOURCE_PASSWORD }}
DATASOURCE_URL: ${{ secrets.DATASOURCE_URL }}
LOCAL_KMS_DATASOURCE_USER: ${{ secrets.LOCAL_KMS_DATASOURCE_USER }}
LOCAL_KMS_DATASOURCE_PASSWORD: ${{ secrets.LOCAL_KMS_DATASOURCE_PASSWORD }}
LOCAL_KMS_DATASOURCE_URL: ${{ secrets.LOCAL_KMS_DATASOURCE_URL }}
KMS_PROVIDER: local