web-id-fr/VitoDeploy Review-app Action

Create/update and deploy a review-application to VitoDeploy

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
api_base_urlAPI URL (e.g.: "https://vito.test/api")yes
api_tokenAPI keyyes
project_idProject IDyes
server_idServer IDyes
source_controlSource Control IDyes
root_domainRoot domain under which to create review-app siteno
hostSite host of the review-appno
prefix_with_pr_numberUse the pull-request number as host and database prefix when host is not manually definednotrue
fqdn_prefixPrefix the whole FQDN (e.g.: "app.")no
typeSite type of the review-appnophp
web_directoryRoot directory for nginx configuration of the review-appnopublic
isolatedIsolate review-app sitenofalse
php_versionPHP version of the review-app siteno8.3
site_setup_timeoutMaximum wait time in seconds for site creationno600
create_databaseCreate database for review-appnofalse
database_setup_timeoutMaximum wait time in seconds for database creationno60
create_database_userCreate database user for review-appnofalse
database_userDatabase user of the review-app sitenovito
database_user_idDatabase user ID of the review-app siteno
database_passwordDatabase password of the review-app siteno
database_nameDatabase name of the review-app siteno
database_name_prefixDatabase name prefix, useful for PostgreSQL that does not support digits (PR number) for first chars
database_charsetDatabase charset of the review-app siteno
database_collationDatabase collation of the review-app siteno
repositoryRepository of review-app siteno
branchGit branch to useno
composerComposer install on repository setupnofalse
letsencrypt_certificateObtain LetsEncrypt certificate for the review-app sitenotrue
letsencrypt_emailLetsEncrypt account emailno
certificate_setup_timeoutMaximum wait time in seconds for obtaining the certificateno120
env_stub_path.env stub file path inside git repositoryno.github/workflows/.env.stub
deploy_script_stub_pathDeploy script stub file path inside the git repositoryno.github/workflows/deploy-script.stub
deployment_timeoutMaximum wait time in seconds for deployingno120
create_workerCreate site workernofalse
worker_setup_timeoutMaximum wait time in seconds for worker creationno60
worker_nameWorker name (Supervisor configuration)yes
worker_commandWorker command (Supervisor configuration)yes
worker_userWorker user (Supervisor configuration)novito
worker_auto_startWorker auto start (Supervisor configuration)notrue
worker_auto_restartWorker auto restart (Supervisor configuration)notrue
worker_numprocsWorker number of precess (Supervisor configuration)no1
debugEnable debug mode.nofalse
namedescription
hostHost of the review-app (generated or forced one in inputs)
database_user_idVitoDeploy database user ID of the review-app
database_nameDatabase name of the review-app (generated or forced one in inputs)
database_idVitoDeploy database ID of the review-app
site_idVitoDeploy site ID of the review-app
worker_idVitoDeploy Worker ID