Skip to content

Use the shared deploy tasks from deployer-recipes - #115

Merged
rbruhn merged 1 commit into
developmentfrom
114-shared-deploy-tasks
Oct 22, 2026
Merged

rbruhn merged 1 commit into
developmentfrom
114-shared-deploy-tasks

Conversation

@rbruhn

@rbruhn rbruhn commented Oct 22, 2026

Copy link
Copy Markdown
Contributor

Closes #114. Part of AustinMastLab/Biospex#519 (shared recipe: AustinMastLab/deployer-recipes#3).

Changes

  • deploy.php: loads recipe/ci-artifacts.php from deployer-recipes, which now provides deploy:ci-artifacts, deploy:verify-structure and supervisor:reload.
  • deploy/custom.php: the site's own copies of those three tasks are removed. A comment points to the recipe.
  • composer.json: austinmastlab/deployer-recipes ^1.2.0-rc1, locked to v1.2.0-rc1, the release candidate from Add shared CI artifact, structure check and Supervisor reload tasks deployer-recipes#3. The constraint also matches the final v1.2.0, so composer.json won't need to change again; a later composer update moves the lock to it.
  • supervisor_groups is ['da']. supervisor:reload used to run supervisorctl update with no group, which applies every pending Supervisor change on the shared server. It now runs supervisorctl update 'da' only, so this site's deploy can't restart another site's programs.

Outside GitHub Actions, deploy:ci-artifacts still fails the deploy, as this site's copy did.

Tested

  • vendor/bin/pest --compact: 49 passed, 2 skipped.
  • dep tree deploy finds all three tasks. dep config development shows ci_artifact_repository AustinMastLab/DigitizationAcademy, ci_artifact_name digitizationacademy, and supervisor_groups ['da'].

To verify on development

Run the workflow on development. In the log:

  • deploy:ci-artifacts downloads digitizationacademy-<sha>.
  • supervisor:reload runs sudo supervisorctl update 'da'.
  • deploy:verify-structure passes.

Afterwards dev.digitizationacademy.org loads, and da:da-horizon_00 is RUNNING.

@rbruhn rbruhn self-assigned this Oct 22, 2026
@rbruhn
rbruhn merged commit fa1b593 into development Oct 22, 2026
2 checks passed
@rbruhn
rbruhn deleted the 114-shared-deploy-tasks branch October 22, 2026 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant