From 1c663a4e23d957c36ff887479b0fcb193e32029a Mon Sep 17 00:00:00 2001 From: Fabian von Feilitzsch Date: Mon, 27 Nov 2023 11:33:56 -0500 Subject: [PATCH] :seedling: Add global ci (#1405) ## Global CI Integration for Component Builds This PR integrates a GitHub Action workflow to build and upload the component images, preparing them for the global CI system. By integrating the global CI, we aim to streamline and standardize our CI process across all components, ensuring a more efficient and unified CI/CD pipeline. Signed-off-by: Fabian von Feilitzsch Co-authored-by: Ian Bolton --- .github/workflows/ci-actions.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/.github/workflows/ci-actions.yml b/.github/workflows/ci-actions.yml index cec3dd8a9f..cc0f3ae185 100644 --- a/.github/workflows/ci-actions.yml +++ b/.github/workflows/ci-actions.yml @@ -53,3 +53,27 @@ jobs: with: flags: server directory: ./*/coverage + + build-and-upload-for-global-ci: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: save tackle2-ui image + run: | + docker build . -t quay.io/konveyor/tackle2-ui:latest + docker save -o /tmp/tackle2-ui.tar quay.io/konveyor/tackle2-ui:latest + + - name: Upload tackle2-ui image as artifact + uses: actions/upload-artifact@v3 + with: + name: tackle2-ui + path: /tmp/tackle2-ui.tar + retention-days: 1 + + test-integration: + needs: build-and-upload-for-global-ci + uses: konveyor/ci/.github/workflows/global-ci.yml@main + with: + component_name: tackle2-ui + run_api_tests: false