simplesamlphp / simplesamlphp-module-oidc

A SimpleSAMLphp module for OIDC OP support.
Other
45 stars 22 forks source link

Introduce installation script #214

Closed cicnavi closed 6 months ago

cicnavi commented 6 months ago

In case of automatic / scripted deployments, currently there is no way to run the database migrations other than from administration users interface in SimpleSAMLphp.

This PR introduces a separate installation PHP script which will utilize existing database migration class to run the migrations. This script can than be run from the command line.

codecov[bot] commented 6 months ago

Codecov Report

Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (fe6f648) 53.26% compared to head (bf66b59) 53.25%.

Files Patch % Lines
src/Forms/ClientForm.php 0.00% 5 Missing :warning:
src/Forms/Controls/CsrfProtection.php 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #214 +/- ## ============================================ - Coverage 53.26% 53.25% -0.02% Complexity 984 984 ============================================ Files 109 109 Lines 3809 3810 +1 ============================================ Hits 2029 2029 - Misses 1780 1781 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.