Skip to content

Commit 164857d

Browse files
authored
🌱 Integrate global-ci workflow (#49)
## 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]>
1 parent 01daf7f commit 164857d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: tackle2-addon-analyzer CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-and-upload-for-global-ci:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Checkout code
12+
uses: actions/checkout@v2
13+
14+
- name: save tackle2-addon-analyzer image
15+
run: |
16+
IMG=quay.io/konveyor/tackle2-addon-analyzer:latest make image-docker
17+
docker save -o /tmp/tackle2-addon-analyzer.tar quay.io/konveyor/tackle2-addon-analyzer:latest
18+
19+
- name: Upload tackle2-addon-analyzer image as artifact
20+
uses: actions/upload-artifact@v3
21+
with:
22+
name: tackle2-addon-analyzer
23+
path: /tmp/tackle2-addon-analyzer.tar
24+
retention-days: 1
25+
26+
test-integration:
27+
needs: build-and-upload-for-global-ci
28+
uses: konveyor/ci/.github/workflows/global-ci.yml@main
29+
with:
30+
component_name: tackle2-addon-analyzer

0 commit comments

Comments
 (0)