File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 66 - ' main'
77 paths :
88 - ' hack/fake-apiserver/**'
9+ - ' api/**''
910
1011permissions:
1112 contents: read
1213
1314jobs:
15+ prepare:
16+ name: Prepare FKAS build
17+ if: github.repository == ' metal3-io/cluster-api-provider-metal3'
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Checkout code
21+ uses : actions/checkout@v4
22+ - name : Prepare fake-apiserver
23+ run : |
24+ mkdir -p hack/fake-apiserver/capm3
25+ cp -r api/ hack/fake-apiserver/capm3
26+ cd hack/fake-apiserver
27+ go mod edit -replace=github.com/metal3-io/cluster-api-provider-metal3=./capm3
28+ go mod tidy
29+
1430 build_FKAS :
1531 name : Build Metal3-FKAS image
1632 if : github.repository == 'metal3-io/cluster-api-provider-metal3'
33+ needs : prepare
1734 uses : metal3-io/project-infra/.github/workflows/container-image-build.yml@main
1835 with :
1936 image-name : " metal3-fkas"
2239 secrets :
2340 QUAY_USERNAME : ${{ secrets.QUAY_USERNAME }}
2441 QUAY_PASSWORD : ${{ secrets.QUAY_PASSWORD }}
25- SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
42+ SLACK_WEBHOOK : ${{ secrets.SLACK_WEBHOOK }}
You can’t perform that action at this time.
0 commit comments