... | ... | @@ -10,32 +10,17 @@ |
|
|
|
|
|
1. Commit and push the changes to trigger CI, make sure everything is passing
|
|
|
|
|
|
1. Run package builds and tests
|
|
|
|
|
|
1. Build test packages in OBS (with debian symbols):
|
|
|
|
|
|
```
|
|
|
./scripts/make-archive.sh
|
|
|
./scripts/make-distrofiles.sh -s
|
|
|
./scripts/build-in-obs.sh knot-resolver-testing
|
|
|
```
|
|
|
|
|
|
1. Check package builds in [knot-resolver-testing](https://build.opensuse.org/project/show/home:CZ-NIC:knot-resolver-testing) are successful. If they fail, examine build log and fix what's necessary (e.g. update debian symbols file).
|
|
|
1. Wait for packages to be published. This may take up to a few hours.
|
|
|
1. Verify packages are working when installed:
|
|
|
|
|
|
1. `cd distro/tests`
|
|
|
1. For each distro: `./test-distro.sh devel debian9` (return code is 0 on success)
|
|
|
1. Run package builds and tests in `knot-resolver-testing` via https://gitlab.labs.nic.cz/knot/knot-resolver/pipeline_schedules
|
|
|
|
|
|
1. Merge `release*` branch
|
|
|
|
|
|
1. Create a tag: `git -as vX.Y.Z[.alphatag]`, content `Knot Resolver X.Y.Z[.alphatag]`, signed with a developer's GPG key
|
|
|
1. Create a tag: `git tag -as vX.Y.Z[.alphatag]`, content `Knot Resolver X.Y.Z[.alphatag]`, signed with a developer's GPG key
|
|
|
|
|
|
1. Push the tag
|
|
|
|
|
|
1. Copy the NEWS section to https://gitlab.labs.nic.cz/knot/knot-resolver/tags
|
|
|
|
|
|
1. Docker build should trigger automatically: check https://hub.docker.com/r/cznic/knot-resolver/builds/
|
|
|
1. Build docker image and push it to docker hub
|
|
|
|
|
|
1. Documentation should regenerate automatically: check http://readthedocs.org/projects/knot-resolver/builds/
|
|
|
|
... | ... | @@ -45,7 +30,7 @@ |
|
|
|
|
|
1. Upload the tarball:
|
|
|
|
|
|
* Use [sign-and-upload-knot-release](https://gitlab.labs.nic.cz/knot/knot-dns/snippets/63) script or following:
|
|
|
* 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 checksum file: `sha256sum knot-resolver-x.y.z.tar.xz > knot-resolver-x.y.z.tar.xz.sha256`
|
... | ... | @@ -54,8 +39,8 @@ |
|
|
1. Trigger package build in OBS:
|
|
|
|
|
|
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 git root
|
|
|
1. Prepare distro files (with symbols): `./scripts/make-distrofiles.sh -s`
|
|
|
1. Make sure the release tarball `knot-resolver-x.y.z.tar.xz` is in `build_dist/meson-dist/`
|
|
|
1. Prepare distro files (with symbols): `./scripts/make-distrofiles.sh`
|
|
|
1. Upload new files to [knot-resolver-latest](https://build.opensuse.org/project/show/home:CZ-NIC:knot-resolver-latest): `./scripts/build-in-obs.sh knot-resolver-latest`
|
|
|
1. Check the builds have completed successfully (builds should be done in ~10mins and published within ~2 hours).
|
|
|
|
... | ... | |