Skip to content

Commit

Permalink
🌱 Integrate global-ci workflow (#49)
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 <[email protected]>
  • Loading branch information
fabianvf authored Oct 4, 2023
1 parent 01daf7f commit 164857d
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: tackle2-addon-analyzer 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 tackle2-addon-analyzer image
run: |
IMG=quay.io/konveyor/tackle2-addon-analyzer:latest make image-docker
docker save -o /tmp/tackle2-addon-analyzer.tar quay.io/konveyor/tackle2-addon-analyzer:latest
- name: Upload tackle2-addon-analyzer image as artifact
uses: actions/upload-artifact@v3
with:
name: tackle2-addon-analyzer
path: /tmp/tackle2-addon-analyzer.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-addon-analyzer

0 comments on commit 164857d

Please sign in to comment.