mirror of
https://codeberg.org/forgejo/docs.git
synced 2025-01-22 02:15:25 -05:00
developer: release: document the steps
This commit is contained in:
parent
a575e3ef68
commit
f0c9ffab9e
1 changed files with 14 additions and 4 deletions
|
@ -58,12 +58,22 @@ When Forgejo is released, artefacts (packages, binaries, etc.) are first publish
|
|||
- Locally set the vX.Y.Z-N tag to the tip of the https://codeberg.org/forgejo/forgejo/vX.Y/forgejo branch
|
||||
- Push the vX.Y.Z-N tag to https://codeberg.org/forgejo-integration/forgejo
|
||||
|
||||
Binaries are built and uploaded to https://codeberg.org/forgejo-integration/forgejo/releases
|
||||
Container images are built and uploaded to https://codeberg.org/forgejo-integration/-/packages/container/forgejo/versions
|
||||
It will trigger a [build workflow](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/.forgejo/workflows/build-release.yml) that:
|
||||
|
||||
If the release is successfully built, it will be copied to https://codeberg.org/forgejo/forgejo-experimental. Otherwise the logs of the workflow that tried to build the release in https://codeberg.org/forgejo-integration/forgejo/actions contains the error that needs fixing.
|
||||
- Builds binaries and uploaded them to https://codeberg.org/forgejo-integration/forgejo/releases
|
||||
- Builds container images and uploaded them to https://codeberg.org/forgejo-integration/-/packages/container/forgejo/versions
|
||||
|
||||
Fork the Forgejo [infrastructure](https://code.forgejo.org/forgejo/infrastructure) repository, [modify it](https://code.forgejo.org/earl-warren/infrastructure/commit/269eae6c3a17005ad9d825d747745da041d69756) to use the experimental release and push the branch. It will trigger [a workflow](https://code.forgejo.org/earl-warren/infrastructure/src/branch/wip-forgejo/.forgejo/workflows/forgejo.yml) to deploy the release and run high level integration tests.
|
||||
If the build fails, the logs of the workflow can be found in https://codeberg.org/forgejo-integration/forgejo/actions for debugging.
|
||||
Once the build is successful, it must be copied to https://codeberg.org/forgejo-experimental.
|
||||
|
||||
- Push the vX.Y.Z-N tag to https://codeberg.org/forgejo-experimental/forgejo
|
||||
|
||||
It will trigger a [publish workflow](https://codeberg.org/forgejo/forgejo/src/branch/forgejo/.forgejo/workflows/publish-release.yml) that:
|
||||
|
||||
- Copies the binaries from https://codeberg.org/forgejo-integration/forgejo/releases to https://codeberg.org/forgejo-experimental/forgejo/releases
|
||||
- Copies the container images from https://codeberg.org/forgejo-integration/-/packages/container/forgejo/versions to https://codeberg.org/forgejo-experimental/-/packages/container/forgejo/versions
|
||||
|
||||
To verify the container images, the [setup-forgejo](https://code.forgejo.org/actions/setup-forgejo) integration tests can be used. Push a branch with [the location of the release under test](https://code.forgejo.org/actions/setup-forgejo/src/branch/main/.forgejo/workflows/integration.yml#L20) to run a collection of test workflows.
|
||||
|
||||
Reach out to packagers and users to manually verify the release works as expected.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue