This commit is contained in:
Brage Skjønborg 2026-01-04 15:12:59 +01:00
parent b0d1ddaad5
commit 8a5415300b
68 changed files with 22 additions and 13 deletions

View File

@ -72,11 +72,16 @@ jobs:
run: | run: |
docker run --rm local-${{ inputs.app }}:${{ inputs.dockerTag }} /bin/sh -c "echo 'Smoke test OK'" docker run --rm local-${{ inputs.app }}:${{ inputs.dockerTag }} /bin/sh -c "echo 'Smoke test OK'"
- name: Push Docker image - name: Docker login
uses: docker/build-push-action@v5 uses: docker/login-action@v3
with: with:
username: ${{ secrets.DOCKER_HUB_NAME }} username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }} password: ${{ secrets.DOCKER_HUB_TOKEN }}
- name: Push Docker image
uses: docker/build-push-action@v5
with:
context: . context: .
file: ./dockerfiles/DebianJava file: ./dockerfiles/DebianJava
build-args: | build-args: |

View File

@ -61,12 +61,16 @@ jobs:
run: | run: |
docker run --rm local-${{ inputs.app }}:${{ inputs.dockerTag }} /bin/sh -c "echo 'Smoke test OK'" docker run --rm local-${{ inputs.app }}:${{ inputs.dockerTag }} /bin/sh -c "echo 'Smoke test OK'"
- name: Docker login
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
# Push final image # Push final image
- name: Push Docker image - name: Push Docker image
uses: docker/build-push-action@v5 uses: docker/build-push-action@v5
with: with:
username: ${{ secrets.DOCKER_HUB_NAME }}
password: ${{ secrets.DOCKER_HUB_TOKEN }}
context: . context: .
file: ./dockerfiles/Python file: ./dockerfiles/Python
build-args: | build-args: |

View File

@ -16,8 +16,8 @@ jobs:
converter: ${{ steps.filter.outputs.converter }} converter: ${{ steps.filter.outputs.converter }}
coordinator: ${{ steps.filter.outputs.coordinator }} coordinator: ${{ steps.filter.outputs.coordinator }}
ui: ${{ steps.filter.outputs.ui }} ui: ${{ steps.filter.outputs.ui }}
pyMetadata: ${{ steps.filter.outputs.metadata }} py-metadata: ${{ steps.filter.outputs.metadata }}
pyWatcher: ${{ steps.filter.outputs.watcher }} py-watcher: ${{ steps.filter.outputs.watcher }}
dockerTag: ${{ steps.tag.outputs.tag }} dockerTag: ${{ steps.tag.outputs.tag }}
steps: steps:
@ -39,9 +39,9 @@ jobs:
ui: ui:
- 'apps/ui/**' - 'apps/ui/**'
metadata: metadata:
- 'apps/pyMetadata/**' - 'apps/py-metadata/**'
watcher: watcher:
- 'apps/pyWatcher/**' - 'apps/py-watcher/**'
- name: Generate docker tag - name: Generate docker tag
id: tag id: tag
@ -85,9 +85,9 @@ jobs:
strategy: strategy:
matrix: matrix:
include: include:
- app: pyMetadata - app: py-metadata
enabled: true enabled: true
- app: pyWatcher - app: py-watcher
enabled: true enabled: true
uses: ./.github/workflows/build-python-app.yml uses: ./.github/workflows/build-python-app.yml

4
.gitignore vendored
View File

@ -43,5 +43,5 @@ bin/
.idea/runConfigurations .idea/runConfigurations
/apps/pyMetadata/venv/ /apps/py-metadata/venv/
/apps/pyWatcher/venv/ /apps/py-watcher/venv/

View File

@ -22,7 +22,7 @@ Only one instance is supported, while multiple processer's can be run at any tim
- Extracts info from filename - Extracts info from filename
- Extracts info from file media streams - Extracts info from file media streams
- Produces title and sanitized - Produces title and sanitized
- pyMetadata: - py-metadata:
- Picks up event - Picks up event
- Searches with sources using title and sanitized - Searches with sources using title and sanitized
- Produces result - Produces result