Skip to content

Commit

Permalink
🌱 Integrate global-ci workflow (#41)
Browse files Browse the repository at this point in the history
## 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 <fabian@fabianism.us>
  • Loading branch information
fabianvf authored Aug 9, 2024
1 parent b065bf8 commit 33d7ad4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: addon-admin CI

on:
push:
pull_request:


jobs:
build-and-upload-for-global-ci:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: save addon-admin image
run: |
docker build . -t quay.io/konveyor/addon-admin:latest
docker save -o /tmp/addon-admin.tar quay.io/konveyor/addon-admin:latest
- name: Upload addon-admin image as artifact
uses: actions/upload-artifact@v3
with:
name: addon-admin
path: /tmp/addon-admin.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: addon-admin

0 comments on commit 33d7ad4

Please sign in to comment.