File tree Expand file tree Collapse file tree 2 files changed +26
-2
lines changed
Expand file tree Collapse file tree 2 files changed +26
-2
lines changed Original file line number Diff line number Diff line change 9595 platform : " ${{ matrix.platform }}"
9696 # rhds/notebooks builds from AIPCC base images that are RHEL-based
9797 subscription : ${{ true }}
98+ env :
99+ KONFLUX : yes
98100 secrets : inherit
Original file line number Diff line number Diff line change 99 # In fact, skip the build if there are only changes in manifests and nowhere else
1010 - manifests/**
1111 " workflow_dispatch " :
12+ inputs :
13+ " KONFLUX " :
14+ description : " Build also images from Dockerfile.konflux.*; requires subscription"
15+ type : boolean
16+ default : false
1217 " schedule " :
1318 - " cron " : " 0 2 * * *"
1419
@@ -52,12 +57,29 @@ jobs:
5257 fail-fast : false
5358 matrix : " ${{ fromJson(needs.gen.outputs.matrix) }}"
5459 uses : ./.github/workflows/build-notebooks-TEMPLATE.yaml
55- if : ${{ fromJson(needs.gen.outputs.has_jobs) }}
60+ if : ${{ github.repository != 'red-hat-data-services/notebooks' && fromJson(needs.gen.outputs.has_jobs) }}
61+ with :
62+ target : " ${{ matrix.target }}"
63+ python : " ${{ matrix.python }}"
64+ github : " ${{ toJSON(github) }}"
65+ platform : " ${{ matrix.platform }}"
66+ subscription : " ${{ matrix.subscription }}"
67+ secrets : inherit
68+
69+ build-aipcc :
70+ needs : ["gen"]
71+ strategy :
72+ fail-fast : false
73+ matrix : " ${{ fromJson(needs.gen.outputs.matrix) }}"
74+ uses : ./.github/workflows/build-notebooks-TEMPLATE.yaml
75+ if : ${{ (github.repository == 'red-hat-data-services/notebooks' || inputs.KONFLUX) && fromJson(needs.gen.outputs.has_jobs) }}
5676 with :
5777 target : " ${{ matrix.target }}"
5878 python : " ${{ matrix.python }}"
5979 github : " ${{ toJSON(github) }}"
6080 platform : " ${{ matrix.platform }}"
6181 # rhds/notebooks builds from AIPCC base images that are RHEL-based
62- subscription : " ${{ matrix.subscription || (github.repository == 'red-hat-data-services/notebooks') }}"
82+ subscription : ${{ true }}
83+ env :
84+ KONFLUX : yes
6385 secrets : inherit
You can’t perform that action at this time.
0 commit comments