Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
894b20d
5402: Remove unmaintained infrastructure code for os2display images
turegjorup Sep 5, 2025
a4fd679
5402: Refacktor itk-dev images to single infrastructure. Rename itk-d…
turegjorup Sep 5, 2025
6901548
5402: Update github action image uild jobs for new infrastructure
turegjorup Sep 5, 2025
d7e41a6
Merge branch 'release/3.0.0' into feature/update-infrastructure-for-m…
turegjorup Oct 28, 2025
2b84d32
5402: Update infrastructure for 3.0
turegjorup Nov 3, 2025
7628dc0
5402: Fix Vite missing prod caching config
turegjorup Dec 8, 2025
acc6ea8
5402: Update Psalm to enable PHP 8.4 image builds
turegjorup Dec 8, 2025
f283e94
5402: Refactor image build to better use configuration options from u…
turegjorup Dec 8, 2025
9eb1b41
5402: Update Changelog
turegjorup Dec 8, 2025
a4e710a
Random
turegjorup Jan 26, 2026
6444e1e
5402: Fixed merge
tuj Jan 28, 2026
a483044
5402: Rewrite to publish images to GitHub packages instead of docker hub
tuj Jan 28, 2026
7e0da14
6600: Moved commands from taskfile to github actions file
tuj Feb 18, 2026
6b67736
6601: Updated composer lock file
cableman Feb 18, 2026
6f16a83
6601: Updated taskfile to get same name style
cableman Feb 18, 2026
7c07f67
6601: Updated baseline after psaml upgrade
cableman Feb 18, 2026
acfb51d
6600: Applied coding standards
tuj Feb 18, 2026
a5486ea
6600: Removed composer audit from GitHub Actions
tuj Feb 18, 2026
c321bce
6601: Updated image build actions to be dependent on release
cableman Feb 18, 2026
0402005
6601: Update relase github action - permission error
cableman Feb 18, 2026
485869e
6601: Fixed syntax error in image tag action
cableman Feb 18, 2026
f66f55e
6601: Added runner name to all actions - head_ref
cableman Feb 18, 2026
c657772
6601: Added image build on published release
cableman Feb 18, 2026
919151b
6601: Created combined workflow for release and image build
cableman Feb 18, 2026
c7e65bd
6601: Updated and simplifyed docker image build
cableman Feb 18, 2026
fcffcda
6601: Changed build context in actions
cableman Feb 18, 2026
983ae8b
6601: More simple docker build process
cableman Feb 18, 2026
33c6c2b
6601: Pull image before trying to build nginx
cableman Feb 18, 2026
81bdf02
6601: Fixed build image names in actions
cableman Feb 18, 2026
77e6709
6601: Do not remove assets in php image
cableman Feb 20, 2026
b01c3fd
6601: Ensured built assets in php image
cableman Feb 20, 2026
aa6e498
6601: Updated nginx configuration
cableman Feb 23, 2026
8f30b75
6600: Fixed template title when loading new template
tuj Feb 24, 2026
6587cb1
6600: Applied coding standards
tuj Feb 24, 2026
addb807
6600: Fixed screen layout title when loading new screen layout
tuj Feb 24, 2026
3778212
6871: Added infrastructure documentation
tuj Mar 30, 2026
2128826
6871: Fixed merge
tuj Mar 30, 2026
b76b123
6871: Upgraded itk-dev/openid-connect-bundle to ^4.1
tuj Mar 30, 2026
b04ab60
6871: Changed composer php version to >= 8.4
tuj Mar 30, 2026
51ac0d0
6871: Changed GitHub actions workflows to use php 8.4
tuj Mar 30, 2026
513d9a7
6871: Fixed psalm raised issues
tuj Mar 30, 2026
0a47efd
6871: Added release.json generation to builds
tuj Mar 30, 2026
660246b
6871: Added release variables to GitHub workflows
tuj Mar 30, 2026
5c0ae1c
6871: Fixed releaseVersion value
tuj Mar 30, 2026
2d598a7
6871: Changed release values to be variables set in GitHub action
tuj Apr 2, 2026
cf079df
6871: Fixed merge
tuj Apr 13, 2026
69dea00
Merge pull request #2 from itk-dev/feature/release-json
tuj Apr 13, 2026
75bf9ba
7201: Fixed merge
tuj Apr 16, 2026
05cf546
Merge branch 'release/3.0.0' into feature/3x-github-packages
tuj Apr 16, 2026
c41c258
7021: Fixed issues raised by psalm
tuj Apr 16, 2026
0b2cc18
7021: Removed extra baseline entry
tuj Apr 16, 2026
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
68 changes: 68 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
/.git
!/.git/config

# Unneeded application files
/.docker
/.github
/docs
/fixtures
/public/build
/public/fixtures
/public/media/*
!public/media/thumbnail_other.png
!public/media/thumbnail_video.png
/scripts
/tests

###> symfony/framework-bundle ###
/.env.local
/.env.local.php
/.env.*.local
/config/secrets/prod/prod.decrypt.private.php
/var/
/vendor/
###< symfony/framework-bundle ###

###> friendsofphp/php-cs-fixer ###
/.php-cs-fixer.php
/.php-cs-fixer.cache
###< friendsofphp/php-cs-fixer ###

###> phpunit/phpunit ###
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###

###> lexik/jwt-authentication-bundle ###
/config/jwt/*.pem
###< lexik/jwt-authentication-bundle ###

xdebug.ini
launch.json

###> pentatrion/vite-bundle ###
/node_modules/
###< pentatrion/vite-bundle ###

#> Playwright
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
#< Playwright

###> vincentlanglet/twig-cs-fixer ###
/.twig-cs-fixer.cache
###< vincentlanglet/twig-cs-fixer ###

docker-compose.*
phpstan.dist.neon
psalm*
playwright.*
phpunit.*
rector.php
Taskfile.yml
.markdown*
.php-cs-fixer.dist.php
.twig-cs-fixer.dist.php
.prettier
4 changes: 2 additions & 2 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ITKDEV_TEMPLATE=symfony-6

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=22d8a60c047b96413b3337e3ddae3da9
APP_SECRET=CHANGE_ME
TRUSTED_PROXIES=127.0.0.1,REMOTE_ADDR
###< symfony/framework-bundle ###

Expand All @@ -42,7 +42,7 @@ CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
###> lexik/jwt-authentication-bundle ###
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=APP_JWT_PASSPHRASE
JWT_PASSPHRASE=CHANGE_ME
# Default: 1 hour
JWT_TOKEN_TTL=3600
# Default: 15 days
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/apispec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on: pull_request

name: Api Spec
run-name: "Api Spec - ${{ github.head_ref || github.ref_name }}"

jobs:
apispec:
Expand All @@ -9,7 +10,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.3"]
php: ["8.4"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Checks that changelog has been updated

name: Changelog
run-name: "Changelog - ${{ github.head_ref || github.ref_name }}"

on:
pull_request:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/composer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
### ```

name: Composer
run-name: "Composer - ${{ github.head_ref || github.ref_name }}"

env:
COMPOSE_USER: runner
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/composer_install.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on: pull_request

name: Composer install
run-name: "Composer install - ${{ github.head_ref || github.ref_name }}"

jobs:
test-composer-install:
Expand All @@ -10,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.3"]
php: ["8.4"]
name: Composer install in prod mode (PHP ${{ matrix.php}})
steps:
- name: Checkout
Expand Down
77 changes: 77 additions & 0 deletions .github/workflows/docker_build_stg_images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
on:
push:
branches:
- "release/*"

# This Action builds to os2display/* using ./infrastructure/*
name: Build docker image (develop)
run-name: "Build docker image (staging) - ${{ github.head_ref || github.ref_name }}"

jobs:
docker:
runs-on: ubuntu-latest
env:
APP_VERSION: develop
COMPOSER_ALLOW_SUPERUSER: 1
steps:
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

# Build api
- name: Docker meta (API)
id: meta-api
uses: docker/metadata-action@v5
with:
images: os2display/display-api-service

- name: Set release timestamp
run: |
echo "APP_RELEASE_TIMESTAMP=$(echo $(date +%s))" >> $GITHUB_ENV
echo "APP_RELEASE_TIME=$(echo $(date))" >> $GITHUB_ENV

- name: Build and push (API)
uses: docker/build-push-action@v6
with:
context: ./infrastructure/display-api-service/
file: ./infrastructure/display-api-service/Dockerfile
build-args: |
APP_VERSION=${{ env.APP_VERSION }}
APP_RELEASE_TIMESTAMP=${{ env.APP_RELEASE_TIMESTAMP }}
APP_RELEASE_TIME=${{ env.APP_RELEASE_TIME }}
push: true
tags: ${{ steps.meta-api.outputs.tags }}
labels: ${{ steps.meta-api.outputs.labels }}
provenance: mode=max
sbom: true
platforms: linux/amd64,linux/arm64

# Build nginx (depends on api build)
- name: Docker meta (Nginx)
id: meta-nginx
uses: docker/metadata-action@v5
with:
images: os2display/display-api-service-nginx

- name: Build and push (Nginx)
uses: docker/build-push-action@v6
with:
context: ./infrastructure/nginx/
file: ./infrastructure/nginx/Dockerfile
build-args: |
APP_VERSION=${{ env.APP_VERSION }}
push: true
tags: ${{ steps.meta-nginx.outputs.tags }}
labels: ${{ steps.meta-nginx.outputs.labels }}
provenance: mode=max
sbom: true
platforms: linux/amd64,linux/arm64
3 changes: 2 additions & 1 deletion .github/workflows/doctrine.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
on: pull_request

name: Doctrine
run-name: "Doctrine - ${{ github.head_ref || github.ref_name }}"

jobs:
validate-doctrine-shema:
Expand All @@ -10,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: ["8.3"]
php: ["8.4"]
name: Validate Schema (PHP ${{ matrix.php}})
services:
mariadb:
Expand Down
Loading
Loading