Skip to content

Commit

Permalink
Fix space in build and scan (#31)
Browse files Browse the repository at this point in the history
- Fixing syntax in workflow.
  • Loading branch information
i-chvets authored Jul 19, 2023
1 parent 582da56 commit 90edab3
Showing 1 changed file with 30 additions and 24 deletions.
54 changes: 30 additions & 24 deletions .github/workflows/build_and_scan_rocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,34 @@ on:
required: true

jobs:
save-space:
name: Save space
runs-on: ubuntu-20.04
steps:
- name: Maximise GH runner space
uses: easimon/maximize-build-space@v7
with:
root-reserve-mb: 40960
remove-dotnet: 'true'
remove-haskell: 'true'
remove-android: 'true'
remove-codeql: 'true'
remove-docker-images: 'true'

build-scan-rocks:
- name: Maximise GH runner space
 uses: easimon/maximize-build-space@v7
 with:
 root-reserve-mb: 40960
 remove-dotnet: 'true'
 remove-haskell: 'true'
 remove-android: 'true'
 remove-codeql: 'true'
 remove-docker-images: 'true'
- name: Build and scan ROCKs
strategy:
matrix:
rock:
- mlserver-huggingface
- mlserver-mlflow
- mlserver-sklearn
- mlserver-xgboost
- seldon-core-operator
- sklearnserver
uses: canonical/charmed-kubeflow-workflows/.github/workflows/build_and_scan_rock.yaml@main
secrets:
JIRA_URL: ${{ secrets.CVE_REPORT_JIRA_URL }}
with:
rock: ${{ matrix.rock }}
name: Build and scan ROCKs
runs-on: ubuntu-20.04
strategy:
matrix:
rock:
- mlserver-huggingface
- mlserver-mlflow
- mlserver-sklearn
- mlserver-xgboost
- seldon-core-operator
- sklearnserver
uses: canonical/charmed-kubeflow-workflows/.github/workflows/build_and_scan_rock.yaml@main
secrets:
JIRA_URL: ${{ secrets.CVE_REPORT_JIRA_URL }}
with:
rock: ${{ matrix.rock }}

0 comments on commit 90edab3

Please sign in to comment.