Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add the possibility to purge derivatives #49

Merged
merged 21 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
2a8c6e4
add an api url to the users table at which the client can receive not…
mszulik Apr 23, 2024
e4b4d6c
add a command to purge derivatives and notify clients
mszulik Apr 23, 2024
a4c75f0
add worker for client notifications to production docker image
mszulik Apr 23, 2024
54ddfd1
update tests
mszulik Apr 24, 2024
73083cc
re-generate ide-helper
mszulik Apr 24, 2024
e932350
update readme
mszulik Apr 24, 2024
0963bfc
add tests
mszulik Apr 25, 2024
4986e0e
install necessary packages in tests workflow
mszulik Apr 26, 2024
36af54d
test whether upload slots are invalidated after an upload
mszulik Apr 29, 2024
2b9753c
fix an issue where clients were notified despite not purging any deri…
mszulik Apr 29, 2024
02960a1
clarify some parts in the readme
mszulik Apr 29, 2024
16f94b0
fix pullpreview seeder
mszulik Apr 29, 2024
cc39653
add "PULLPREVIEW" prefix to github secrets used for pullpreview
mszulik Apr 29, 2024
475cd4c
remove unused import
mszulik Apr 30, 2024
ea1dc20
add a recovery section in the readme
mszulik Apr 30, 2024
7f49f4d
move cache invalidation file path to a config value
mszulik Apr 30, 2024
4e375f8
rename cache invalidation revision to cache invalidation counter
mszulik Apr 30, 2024
d51ecf4
rename route to be comprehensible from a client perspective
mszulik Apr 30, 2024
b9c7bbc
rename response key for cache invalidator
mszulik Apr 30, 2024
d07c14b
adjust comment for client notifications worker
mszulik Apr 30, 2024
4e0f987
fix an issue where the client notifications worker used the wrong queue
mszulik May 3, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ TRANSMORPHER_SIGNING_KEYPAIR=
TRANSMORPHER_OPTIMIZER_TIMEOUT=10
# More information: https://github.com/cybex-gmbh/transmorpher/tree/release/v0#configuration-options
VIDEO_TRANSCODING_WORKERS_AMOUNT=1
#CACHE_INVALIDATION_COUNTER_FILE_PATH="cacheInvalidationCounter"

# AWS
AWS_ACCESS_KEY_ID=
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
build-push-docker-image:
name: Build, test and push docker image
# https://github.com/cybex-gmbh/github-workflows/blob/main/.github/workflows/docker-build-push.yml
uses: cybex-gmbh/github-workflows/.github/workflows/docker-build-push.yml@main
with:
DOCKER_REPOSITORY: cybexwebdev/transmorpher
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pullpreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,15 @@ jobs:
statuses: write # to create commit status

name: Deploy PullPreview staging environment
# https://github.com/cybex-gmbh/github-workflows/blob/main/.github/workflows/pullpreview.yml
uses: cybex-gmbh/github-workflows/.github/workflows/pullpreview.yml@main
with:
PULLPREVIEW_ADMINS: jheusinger, gael-connan-cybex, holyfabi, lupinitylabs, mszulik
INSTANCE_TYPE: medium
secrets:
ENV_VARS: |
APP_KEY="${{ secrets.APP_KEY }}"
TRANSMORPHER_SIGNING_KEYPAIR="${{ secrets.TRANSMORPHER_SIGNING_KEYPAIR }}"
PULLPREVIEW_TRANSMORPHER_AUTH_TOKEN_HASH="${{ secrets.PULLPREVIEW_TRANSMORPHER_AUTH_TOKEN_HASH }}"
APP_KEY="${{ secrets.PULLPREVIEW_APP_KEY }}"
TRANSMORPHER_SIGNING_KEYPAIR="${{ secrets.PULLPREVIEW_TRANSMORPHER_SIGNING_KEYPAIR }}"
TRANSMORPHER_AUTH_TOKEN_HASH="${{ secrets.PULLPREVIEW_TRANSMORPHER_AUTH_TOKEN_HASH }}"
PULLPREVIEW_AWS_ACCESS_KEY_ID: ${{ secrets.PULLPREVIEW_AWS_ACCESS_KEY_ID }}
PULLPREVIEW_AWS_SECRET_ACCESS_KEY: ${{ secrets.PULLPREVIEW_AWS_SECRET_ACCESS_KEY }}
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:
jobs:
execute-tests:
name: Setup testing environment and execute tests
# https://github.com/cybex-gmbh/github-workflows/blob/main/.github/workflows/tests.yml
uses: cybex-gmbh/github-workflows/.github/workflows/tests.yml@main
strategy:
fail-fast: true
Expand All @@ -23,3 +24,4 @@ jobs:
LARAVEL_VERSION: ${{ matrix.laravel }}
DEPENDENCY_VERSION: ${{ matrix.dependency-version }}
MYSQL_DATABASE: transmorpher_test
LINUX_PACKAGES: imagemagick jpegoptim optipng pngquant gifsicle webp ffmpeg
Loading