diff --git a/.github/workflows/vib-scheduled-verify.yaml b/.github/workflows/vib-scheduled-verify.yaml index 770857e3b445..d530fa780045 100644 --- a/.github/workflows/vib-scheduled-verify.yaml +++ b/.github/workflows/vib-scheduled-verify.yaml @@ -1,8 +1,7 @@ name: Scheduled VIB on: - # Scheduled workflow disabled due to an error in vmware-image-builder-action - # schedule: - # - cron: "?/15 * * * *" + schedule: + - cron: "?/15 * * * *" workflow_dispatch: inputs: container: @@ -42,6 +41,7 @@ jobs: needs: get-container name: Verify strategy: + fail-fast: false matrix: flavor: ${{ fromJSON(needs.get-container.outputs.flavors) }} steps: @@ -52,11 +52,8 @@ jobs: - uses: vmware-labs/vmware-image-builder-action@main name: Verify ${{ needs.get-container.outputs.container }} with: - pipeline: vib-scheduled-verify.json + pipeline: vib-verify.json env: - # This workflow is not triggered by any git event. Instead of using SHA_ARCHIVE we are - # setting directly the main branch url. - VIB_ENV_URL: https://api.github.com/repos/bitnami/containers/tarball/main # Path with docker resources VIB_ENV_PATH: ${{ matrix.flavor }} # Container name diff --git a/.github/workflows/vib-verify.yaml b/.github/workflows/vib-verify.yaml index 03f80348b1c3..0834fb6d520c 100644 --- a/.github/workflows/vib-verify.yaml +++ b/.github/workflows/vib-verify.yaml @@ -67,6 +67,7 @@ jobs: if: ${{ needs.get-container.outputs.result == 'ok' && contains(github.event.pull_request.labels.*.name, 'verify') }} name: Verify strategy: + fail-fast: false matrix: flavor: ${{ fromJSON(needs.get-container.outputs.flavors) }} steps: diff --git a/.vib/vib-scheduled-verify.json b/.vib/vib-scheduled-verify.json deleted file mode 100644 index 174e51905e88..000000000000 --- a/.vib/vib-scheduled-verify.json +++ /dev/null @@ -1,47 +0,0 @@ -{ - "context": { - "resources": { - "url": "{VIB_ENV_URL}", - "path": "{VIB_ENV_PATH}" - } - }, - "phases": { - "package": { - "actions": [ - { - "action_id": "container-image-package", - "params": { - "application": { - "details": { - "name": "{VIB_ENV_CONTAINER}", - "tag": "{VIB_ENV_TAG}" - } - } - } - }, - { - "action_id": "container-image-lint", - "params": { - "threshold": "warning" - } - } - ] - }, - "verify": { - "actions": [ - { - "action_id": "trivy", - "params": { - "threshold": "CRITICAL", - "vuln_type": [ - "OS" - ], - "application": { - "kind": "CONTAINER_IMAGE" - } - } - } - ] - } - } -} \ No newline at end of file