Packagist reads a mirror that only has the tags
This commit is contained in:
1 parent
afad275408
commit
62602a9843
4 files changed
+34
-3
No files matched your search
@@ -261,7 +261,7 @@ Nobody opens a pull request to `develop`, and `production` and the release branc
|
||||
| When | What runs |
|
||||
|---|---|
|
||||
| Pull request to a release branch or to production | *flow* (right branches, version above the latest tag, changelog section, tests of these scripts), *ledger* (`TOKENS.md`), *test* (Pint, Pest with the newest and the oldest dependencies, `composer validate`), *security* (`composer audit`: the job fails on any advisory). The check `PR CI / pr-ci` is green when all are. |
|
||||
| Push to production | verify (Pest, `composer audit`), tag and release, Packagist, sync develop; then the homelab scans production with Trivy |
|
||||
| Push to production | verify (Pest, `composer audit`), tag and release, the tags to the mirror `laravel-manager-packagist`, Packagist, sync develop; then the homelab scans production with Trivy |
|
||||
| Every night | the homelab scans every repository with Trivy (03:00) and updates its dependencies (04:00): nothing runs weekly in this repository |
|
||||
| Every night | *Prune branches*: removes `feature/*` and `fix/*` branches whose last commit is over 30 days old and that have no open pull request (a branch of a pull request can be restored from it in Gitea) |
|
||||
|
||||
@@ -277,6 +277,10 @@ Nothing here runs on a weekly schedule; the checks hang on the moments that matt
|
||||
merged the Release workflow makes a patch release of it (v0.5.0 → v0.5.1, text from the pull request), tells Packagist and syncs `develop`:
|
||||
one a night at most. While a release branch is open there is no patch release; the update goes out with that release. A critical advisory on the installed version skips the 48 hours.
|
||||
|
||||
Packagist reads the mirror `iriks-it/laravel-manager-packagist`, not this repository: it holds only the tags `vX.Y.Z` (the
|
||||
Release workflow pushes them), because Packagist shows every branch of the repository it reads as a `dev-…` version. The
|
||||
package page on Packagist points at the mirror; a branch is never pushed there.
|
||||
|
||||
Secrets of the repository for this: `DEPLOY_TOKEN` (the organisation has it), and `PACKAGIST_USERNAME` and
|
||||
`PACKAGIST_TOKEN` (until they are set that step only says so). When Packagist does not know the package yet, that step
|
||||
submits it through the create-package API; after that it only tells Packagist about each new tag.
|
||||
|
||||
Reference in new issue
Block a user