1+ name : Build Noobaa Image
2+ # This workflow builds the noobaa image and uploads it as an artifact.
3+ on : [push, pull_request, workflow_dispatch]
4+
5+ jobs :
6+ run-unit-tests-postgres :
7+ needs : build-noobaa-image
8+ uses : ./.github/workflows/postgres-unit-tests.yaml
9+
10+ run-sanity-ssl-tests :
11+ needs : build-noobaa-image
12+ uses : ./.github/workflows/sanity-ssl.yaml
13+
14+ run-nc-unit-tests :
15+ needs : build-noobaa-image
16+ uses : ./.github/workflows/nc_unit.yml
17+
18+ # nsfs-ceph-s3-tests:
19+ # needs: build-noobaa-image
20+ # uses: ./.github/workflows/ceph-s3-tests.yaml
21+
22+ run-unit-tests :
23+ needs : build-noobaa-image
24+ uses : ./.github/workflows/unit.yaml
25+
26+ build-noobaa-image :
27+ runs-on : ubuntu-latest
28+ timeout-minutes : 90
29+ concurrency :
30+ group : ${{ github.workflow }}-${{ github.ref }}
31+ cancel-in-progress : true
32+ steps :
33+ - name : Checkout
34+ uses : actions/checkout@v4
35+
36+ - name : make noobaa image
37+ run : make tester
38+
39+ - name : create docker artifact
40+ run : |
41+ docker save --output noobaa.tar noobaa
42+ docker save --output noobaa-tester.tar noobaa-tester
43+
44+ - name : upload noobaa docker image
45+ uses : actions/upload-artifact@v4
46+ with :
47+ name : noobaa-image
48+ path : noobaa.tar
49+ retention-days : " 1"
50+
51+ - name : upload noobaa-tester docker image
52+ uses : actions/upload-artifact@v4
53+ with :
54+ name : noobaa-tester
55+ path : noobaa-tester.tar
56+ retention-days : " 1"
0 commit comments