From 15c184f304ea6e393e87439b84004f6243ca0981 Mon Sep 17 00:00:00 2001 From: Carlos Feria Date: Thu, 22 Aug 2024 11:35:50 -0500 Subject: [PATCH] ci: add global ci check (#1) --- .github/workflows/ci.yaml | 20 ++++++++++++++++++++ .github/workflows/global-ci.yaml | 12 ++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 .github/workflows/ci.yaml create mode 100644 .github/workflows/global-ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..ddf0492 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,20 @@ +name: CI (repo level) + +on: + push: + branches: + - main + - "release-*" + pull_request: + branches: + - main + - "release-*" + workflow_dispatch: + workflow_call: + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + ## TODO add any checks this repo might need like formating for instance diff --git a/.github/workflows/global-ci.yaml b/.github/workflows/global-ci.yaml new file mode 100644 index 0000000..69bdb51 --- /dev/null +++ b/.github/workflows/global-ci.yaml @@ -0,0 +1,12 @@ +name: Global CI + +on: ["push", "pull_request"] + +jobs: + e2e: + uses: trustification/trustify-ci/.github/workflows/global-ci.yml@main + with: + operator_bundle: "ghcr.io/trustification/trustify-operator-bundle:latest" + run_api_tests: true + run_ui_tests: false + api_tests_ref: ${{ github.event.number && format('refs/pull/{0}/merge', github.event.number) || '' }}