From 9c6808be8fdf9f674e1a928146ce0ed4efa700ba Mon Sep 17 00:00:00 2001 From: Fran Mulero Date: Wed, 15 Jun 2022 15:46:21 +0200 Subject: [PATCH] [containers/*] Create a new workflow for verification. (#4) * [containers/*] Create a new workflow for verification. #3 follow-up Signed-off-by: Fran Mulero --- .github/workflows/vib-scheduled-verify.yaml | 3 +++ .vib/vib-scheduled-verify.json | 28 +++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 .vib/vib-scheduled-verify.json diff --git a/.github/workflows/vib-scheduled-verify.yaml b/.github/workflows/vib-scheduled-verify.yaml index c440c7745f7c..0bc12d3293cb 100644 --- a/.github/workflows/vib-scheduled-verify.yaml +++ b/.github/workflows/vib-scheduled-verify.yaml @@ -53,6 +53,9 @@ jobs: with: 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/.vib/vib-scheduled-verify.json b/.vib/vib-scheduled-verify.json new file mode 100644 index 000000000000..ce608629773c --- /dev/null +++ b/.vib/vib-scheduled-verify.json @@ -0,0 +1,28 @@ +{ + "phases": { + "package": { + "context": { + "resources": { + "url": "{VIB_ENV_URL}", + "path": "{VIB_ENV_PATH}" + } + }, + "actions": [ + { + "action_id": "container-image-package", + "params": { + "application": { + "details": { + "name": "{VIB_ENV_CONTAINER}", + "tag": "{VIB_ENV_TAG}" + } + } + } + }, + { + "action_id": "container-image-lint" + } + ] + } + } +} \ No newline at end of file