... | ... | @@ -20,23 +20,30 @@ |
|
|
|
|
|
1. Copy the NEWS section to https://gitlab.labs.nic.cz/knot/knot-resolver/tags
|
|
|
|
|
|
1. Build docker image and push it to docker hub
|
|
|
1. Find the `archive` job in the [pipeline](https://gitlab.labs.nic.cz/knot/knot-resolver/pipelines) associated triggered by the tag and mark the artifacts to `Keep`
|
|
|
|
|
|
1. Documentation should regenerate automatically: check http://readthedocs.org/projects/knot-resolver/builds/
|
|
|
|
|
|
* If the tag isn't there, try to trigger the webhook manually from `Settings -> Integration` (Test push tag events)
|
|
|
|
|
|
1. Create a tarball with `ninja dist`
|
|
|
1. Download the release tarball `knot-resolver-x.y.z.tar.xz` generated by the `archive` job
|
|
|
|
|
|
1. Upload the tarball:
|
|
|
|
|
|
* Use *customized* [sign-and-upload-knot-release](https://gitlab.labs.nic.cz/knot/knot-dns/snippets/63) script or do the following:
|
|
|
|
|
|
1. Generate signature using the Knot DNS signing key: `gpg --detach-sign --armor --digest-algo SHA512 knot-resolver-x.y.z.tar.xz`
|
|
|
1. Generate signature using your GPG signing key: `gpg --detach-sign --armor --digest-algo SHA512 knot-resolver-x.y.z.tar.xz`
|
|
|
1. Generate checksum file: `sha256sum knot-resolver-x.y.z.tar.xz > knot-resolver-x.y.z.tar.xz.sha256`
|
|
|
1. Upload the tarball, signature, and checksum to [secure.nic.cz](https://secure.nic.cz/files/knot-resolver/): `curl -u name.surname -n --basic -T {,https://public.nic.cz/files/knot-resolver/}knot-resolver-x.y.z.tar.xz`
|
|
|
|
|
|
1. Trigger package build in OBS:
|
|
|
1. Documentation should regenerate automatically: check http://readthedocs.org/projects/knot-resolver/builds/
|
|
|
|
|
|
* If the tag isn't there, try to trigger the webhook manually from `Settings -> Integration` (Test push tag events)
|
|
|
|
|
|
1. Build docker image and push it to docker hub:
|
|
|
|
|
|
1. `docker build --no-cache -t cznic/knot-resolver:vX.Y.Z .`
|
|
|
1. `docker tag cznic/knot-resolver:vX.Y.Z cznic/knot-resolver:latest`
|
|
|
1. `docker push cznic/knot-resolver:vX.Y.Z`
|
|
|
1. `docker push cznic/knot-resolver:latest`
|
|
|
|
|
|
1. Trigger package build in OBS: (future: fix `obs:release` job in CI)
|
|
|
|
|
|
1. Make sure you've checked out the released version: `git checkout vx.y.z`
|
|
|
1. Make sure the release tarball `knot-resolver-x.y.z.tar.xz` is in `build_dist/meson-dist/`
|
... | ... | |