Code and deploy¶
Only use these if a deploy cannot wait until the service is back - for example a security fix.
Satis¶
If packagist.subscribed.build is down, point Composer at the package's Git repository instead. In the site's composer.json, add a vcs repository before the Satis entry:
{
"repositories": [
{
"type": "vcs",
"url": "git@github.com:subscribed-aps/<package-repo>.git"
},
{
"type": "composer",
"url": "https://packagist.subscribed.build"
}
]
}
Then run composer update <vendor/package>. Revert the change when Satis is back - do not leave it in master.
See Satis Package Registry for the normal setup.
GitHub¶
Accepted risk - we wait. The deploy workflow updates the git checkout on the server, so the code always comes from GitHub, also if a deploy is started by hand. While GitHub is down, there is no deploy.