Changed pipeline
This commit is contained in:
parent
cc6656ed5d
commit
c2e0f18700
17
.github/workflows/build-v5.yml
vendored
17
.github/workflows/build-v5.yml
vendored
@ -74,7 +74,7 @@ jobs:
|
|||||||
enabled: true
|
enabled: true
|
||||||
- app: ui
|
- app: ui
|
||||||
type: java
|
type: java
|
||||||
enabled: false
|
enabled: false # sett til false for å deaktivere UI
|
||||||
- app: pyMetadata
|
- app: pyMetadata
|
||||||
type: python
|
type: python
|
||||||
enabled: true
|
enabled: true
|
||||||
@ -82,21 +82,24 @@ jobs:
|
|||||||
type: python
|
type: python
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Build Java module
|
||||||
if: ${{ matrix.enabled == true &&
|
if: ${{ matrix.enabled == true &&
|
||||||
|
matrix.type == 'java' &&
|
||||||
(needs.pre-check.outputs[matrix.app] == 'true'
|
(needs.pre-check.outputs[matrix.app] == 'true'
|
||||||
|| needs.pre-check.outputs.shared == 'true'
|
|| needs.pre-check.outputs.shared == 'true'
|
||||||
|| github.event_name == 'workflow_dispatch') }}
|
|| github.event_name == 'workflow_dispatch') }}
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Call Java workflow
|
|
||||||
if: ${{ matrix.type == 'java' }}
|
|
||||||
uses: ./.github/workflows/build-java-app.yml
|
uses: ./.github/workflows/build-java-app.yml
|
||||||
with:
|
with:
|
||||||
app: ${{ matrix.app }}
|
app: ${{ matrix.app }}
|
||||||
dockerTag: ${{ needs.pre-check.outputs.dockerTag }}
|
dockerTag: ${{ needs.pre-check.outputs.dockerTag }}
|
||||||
|
|
||||||
- name: Call Python workflow
|
- name: Build Python module
|
||||||
if: ${{ matrix.type == 'python' }}
|
if: ${{ matrix.enabled == true &&
|
||||||
|
matrix.type == 'python' &&
|
||||||
|
(needs.pre-check.outputs[matrix.app] == 'true'
|
||||||
|
|| needs.pre-check.outputs.shared == 'true'
|
||||||
|
|| github.event_name == 'workflow_dispatch') }}
|
||||||
uses: ./.github/workflows/build-python-app.yml
|
uses: ./.github/workflows/build-python-app.yml
|
||||||
with:
|
with:
|
||||||
app: ${{ matrix.app }}
|
app: ${{ matrix.app }}
|
||||||
|
|||||||
@ -0,0 +1,5 @@
|
|||||||
|
package no.iktdev.mediaprocessing.shared.common.model
|
||||||
|
|
||||||
|
import no.iktdev.mediaprocessing.ffmpeg.decoder.FfmpegDecodedProgress
|
||||||
|
|
||||||
|
data class ProgressUpdate(val referenceId: String, val taskId: String, val progress: FfmpegDecodedProgress, val message: String?)
|
||||||
Loading…
Reference in New Issue
Block a user