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 9494 platform : " ${{ matrix.platform }}"
9595 # rhds/notebooks builds from AIPCC base images that are RHEL-based
9696 subscription : ${{ true }}
97+ env :
98+ KONFLUX : yes
9799 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
@@ -51,12 +56,29 @@ jobs:
5156 fail-fast : false
5257 matrix : " ${{ fromJson(needs.gen.outputs.matrix) }}"
5358 uses : ./.github/workflows/build-notebooks-TEMPLATE.yaml
54- if : ${{ fromJson(needs.gen.outputs.has_jobs) }}
59+ if : ${{ github.repository != 'red-hat-data-services/notebooks' && fromJson(needs.gen.outputs.has_jobs) }}
60+ with :
61+ target : " ${{ matrix.target }}"
62+ python : " ${{ matrix.python }}"
63+ github : " ${{ toJSON(github) }}"
64+ platform : " ${{ matrix.platform }}"
65+ subscription : " ${{ matrix.subscription }}"
66+ secrets : inherit
67+
68+ build-aipcc :
69+ needs : ["gen"]
70+ strategy :
71+ fail-fast : false
72+ matrix : " ${{ fromJson(needs.gen.outputs.matrix) }}"
73+ uses : ./.github/workflows/build-notebooks-TEMPLATE.yaml
74+ if : ${{ (github.repository == 'red-hat-data-services/notebooks' || inputs.KONFLUX) && fromJson(needs.gen.outputs.has_jobs) }}
5575 with :
5676 target : " ${{ matrix.target }}"
5777 python : " ${{ matrix.python }}"
5878 github : " ${{ toJSON(github) }}"
5979 platform : " ${{ matrix.platform }}"
6080 # rhds/notebooks builds from AIPCC base images that are RHEL-based
61- subscription : " ${{ matrix.subscription || (github.repository == 'red-hat-data-services/notebooks') }}"
81+ subscription : ${{ true }}
82+ env :
83+ KONFLUX : yes
6284 secrets : inherit
You can’t perform that action at this time.
0 commit comments