mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-13 19:51:30 +00:00
Build modified streamline images
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
# Number of days of inactivity before an issue becomes stale
|
||||
daysUntilStale: 60
|
||||
# Number of days of inactivity before a stale issue is closed
|
||||
daysUntilClose: 7
|
||||
# Issues with these labels will never be considered stale
|
||||
exemptLabels:
|
||||
- pinned
|
||||
- security
|
||||
# Label to use when marking an issue as stale
|
||||
staleLabel: stale
|
||||
# Comment to post when marking an issue as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
This issue has been automatically marked as stale because it has not had
|
||||
recent activity. It will be closed if no further activity occurs. Thank you
|
||||
for your contributions.
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: false
|
||||
+127
@@ -0,0 +1,127 @@
|
||||
name: Build
|
||||
|
||||
on:
|
||||
pull_request: ~
|
||||
push: ~
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
- name: Validate composer.json
|
||||
run: composer validate --strict --no-check-lock
|
||||
cs-fixer:
|
||||
runs-on: ubuntu-20.04
|
||||
name: PHP-CS-Fixer
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: '8.1'
|
||||
- run: composer install --prefer-dist --no-interaction --no-progress --ansi
|
||||
- run: vendor/bin/php-cs-fixer fix --diff --dry-run --verbose
|
||||
tests:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- description: 'Symfony 7.1 DEV'
|
||||
php: '8.2'
|
||||
symfony: '7.1.*@dev'
|
||||
- description: 'Symfony 7.0'
|
||||
php: '8.3'
|
||||
symfony: '7.0.*'
|
||||
- description: 'Symfony 6.4'
|
||||
php: '8.1'
|
||||
symfony: '6.4.*'
|
||||
- description: 'Symfony 6.0'
|
||||
php: '8.3'
|
||||
symfony: '6.0.*'
|
||||
- description: 'Symfony 5.4'
|
||||
php: '8.1'
|
||||
symfony: '5.4.*'
|
||||
- description: 'Symfony 5.0'
|
||||
php: '8.3'
|
||||
symfony: '5.0.*'
|
||||
- description: 'Beta deps'
|
||||
php: '8.1'
|
||||
beta: true
|
||||
name: PHP ${{ matrix.php }} tests (${{ matrix.description }})
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.composer/cache/files
|
||||
key: composer-${{ matrix.php }}-${{ matrix.symfony }}-${{ matrix.composer_option }}
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
- run: |
|
||||
sed -ri 's/"symfony\/(.+)": "(.+)"/"symfony\/\1": "'${{ matrix.symfony }}'"/' composer.json;
|
||||
if: matrix.symfony
|
||||
- run: |
|
||||
composer config minimum-stability dev
|
||||
composer config prefer-stable true
|
||||
if: matrix.beta
|
||||
- name: remove cs-fixer for Symfony 7 (temporary as not-supported yet)
|
||||
if: contains(matrix.symfony, '7.1.*@dev') || contains(matrix.symfony, '7.0.*')
|
||||
run: |
|
||||
composer remove --dev friendsofphp/php-cs-fixer pedrotroller/php-cs-custom-fixer --no-update
|
||||
- run: composer update --prefer-dist --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
|
||||
- run: vendor/bin/phpunit
|
||||
- run: vendor/bin/phpstan analyse --ansi --no-progress
|
||||
tests-windows:
|
||||
runs-on: windows-2022
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- description: 'Symfony 7.1 DEV'
|
||||
php: '8.2'
|
||||
symfony: '7.1.*@dev'
|
||||
- description: 'Symfony 7.0'
|
||||
php: '8.3'
|
||||
symfony: '7.0.*'
|
||||
- description: 'Symfony 6.4'
|
||||
php: '8.1'
|
||||
symfony: '6.4.*'
|
||||
- description: 'Symfony 5.4'
|
||||
php: '8.1'
|
||||
symfony: '5.4.*'
|
||||
name: "[WINDOWS] PHP ${{ matrix.php }} tests (${{ matrix.description }})"
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: ~/.composer/cache/files
|
||||
key: composer-${{ matrix.php }}-${{ matrix.symfony }}-${{ matrix.composer_option }}
|
||||
- name: Setup PHP
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php }}
|
||||
- run: |
|
||||
(Get-Content composer.json) -replace '("symfony/[^"]+": )"[^"]+"', '$1"${{ matrix.symfony }}"' | Out-File -encoding ASCII composer.json
|
||||
if: matrix.symfony
|
||||
- run: |
|
||||
composer config minimum-stability dev
|
||||
composer config prefer-stable true
|
||||
if: matrix.beta
|
||||
- name: remove cs-fixer for Symfony 7 (temporary as not-supported yet)
|
||||
if: contains(matrix.symfony, '7.1.*@dev') || contains(matrix.symfony, '7.0.*')
|
||||
run: |
|
||||
composer remove --dev friendsofphp/php-cs-fixer pedrotroller/php-cs-custom-fixer --no-update
|
||||
- run: composer update --prefer-dist --no-interaction --no-progress --ansi ${{ matrix.composer_option }}
|
||||
- run: vendor/bin/phpunit
|
||||
- run: vendor/bin/phpstan analyse --ansi --no-progress
|
||||
Reference in New Issue
Block a user