diff --git a/.github/workflows/build_and_scan_rocks.yaml b/.github/workflows/build_and_scan_rocks.yaml index 6c3306d..2ca482f 100644 --- a/.github/workflows/build_and_scan_rocks.yaml +++ b/.github/workflows/build_and_scan_rocks.yaml @@ -1,31 +1,18 @@ name: Build and scan ROCKs, save and send scan reports on: - schedule: + #schedule: # every day at 1:12AM UTC - - cron: '12 1 * * *' - secrets: - CVE_REPORT_JIRA_URL: - required: true + #- cron: '12 1 * * *' + # secrets: + # CVE_REPORT_JIRA_URL: + # required: true + # dispatch + workflow_dispatch: 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: Build and scan ROCKs - runs-on: ubuntu-20.04 strategy: matrix: rock: @@ -35,9 +22,8 @@ jobs: - mlserver-xgboost - seldon-core-operator - sklearnserver - - tensorflow-serving - uses: canonical/charmed-kubeflow-workflows/.github/workflows/build_and_scan_rock.yaml@main + uses: canonical/charmed-kubeflow-workflows/.github/workflows/build_and_scan_rock.yaml@feat-rock-common-ci secrets: - JIRA_URL: ${{ secrets.CVE_REPORT_JIRA_URL }} + JIRA_URL: ${{ secrets.CVE_REPORT_JIRA_URL }} with: - rock: ${{ matrix.rock }} + rock: ${{ matrix.rock }}