fix(workflows): remove non-existent web-dashboard and add missing services
- Remove apps/web-dashboard from security scan matrix (doesn't exist) - Add compression-engine service to microservices and security workflows - Fix CodeQL autobuild by adding explicit Java setup and Gradle build - Add Java 17 setup to performance test workflow - Update build commands to use proper Gradle task syntax Made by Wiktor/overspend1
This commit is contained in:
4
.github/workflows/microservices.yml
vendored
4
.github/workflows/microservices.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
service: [storage-hal]
|
||||
service: [storage-hal, compression-engine]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
@@ -185,7 +185,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
service: [backup-engine, storage-hal, ml-optimizer, sync-coordinator]
|
||||
service: [backup-engine, storage-hal, compression-engine, ml-optimizer, sync-coordinator]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
8
.github/workflows/performance-test.yml
vendored
8
.github/workflows/performance-test.yml
vendored
@@ -93,12 +93,18 @@ jobs:
|
||||
IOSTAT_PID=$!
|
||||
echo $IOSTAT_PID > iostat.pid
|
||||
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Build backup service
|
||||
run: |
|
||||
chmod +x gradlew
|
||||
cd services/backup-engine
|
||||
if [ -f "build.gradle.kts" ]; then
|
||||
../../gradlew build
|
||||
../../gradlew :services:backup-engine:build -x test --no-daemon
|
||||
else
|
||||
echo "No build file found, creating mock backup service"
|
||||
mkdir -p build
|
||||
|
||||
16
.github/workflows/security-scan.yml
vendored
16
.github/workflows/security-scan.yml
vendored
@@ -20,14 +20,14 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
component:
|
||||
- path: 'apps/web-dashboard'
|
||||
type: 'npm'
|
||||
- path: 'services/sync-coordinator'
|
||||
type: 'npm'
|
||||
- path: 'apps/daemon'
|
||||
type: 'cargo'
|
||||
- path: 'services/storage-hal'
|
||||
type: 'cargo'
|
||||
- path: 'services/compression-engine'
|
||||
type: 'cargo'
|
||||
- path: 'services/ml-optimizer'
|
||||
type: 'pip'
|
||||
- path: '.'
|
||||
@@ -76,8 +76,16 @@ jobs:
|
||||
languages: java, javascript, python, cpp
|
||||
queries: security-and-quality
|
||||
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
- name: Set up Java
|
||||
uses: actions/setup-java@v4
|
||||
with:
|
||||
java-version: '17'
|
||||
distribution: 'temurin'
|
||||
|
||||
- name: Build with Gradle
|
||||
run: |
|
||||
chmod +x ./gradlew
|
||||
./gradlew build -x test --no-daemon
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
|
||||
Reference in New Issue
Block a user