From 0a5b917c923bbe5eb2877ea85ab77f67b7057d1d Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Fri, 22 Mar 2019 13:44:13 -0600 Subject: [PATCH 1/2] improvement: docs: Update release documentation - Add information about package testing pipelines - Fix release notes command Signed-off-by: Jose Carlos Venegas Munoz --- release/release.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/release/release.md b/release/release.md index 65678ad201..59ebc46327 100644 --- a/release/release.md +++ b/release/release.md @@ -103,20 +103,30 @@ $ git pull $./gen_versions_txt.sh ${BRANCH} $PUSH=1 OBS_SUBPROJECT="releases:$(uname -m):${BRANCH}" ./build_from_docker.sh ${NEW_VERSION} ``` + +6. Test packages +After all the packages have built succesfully (see status in OBS web page: https://build.opensuse.org/project/subprojects/home:katacontainers), +make sure the packages install and work. To help with this you can use the [package test job](http://jenkins.katacontainers.io/job/package-release-testing) + -6. Create release notes: +7. Create release notes: ```bash $ cd ${GOPATH}/src/github.com/kata-containers/packaging/release # Note: OLD_VERSION is where the script should start to get changes. $ ./runtime-release-notes.sh OLD_VERSION ${NEW_VERSION} > notes.md # Add the release notes in GitHub runtime. - $ hub -C "${GOPATH}/src/github.com/kata-containers/runtime" release edit -F notes.md + $ hub -C "${GOPATH}/src/github.com/kata-containers/runtime" release edit -F notes.md "${NEW_VERSION}" ``` 7. Announce release: Publish in [Slack and Kata mailing list][join-us-kata] that new release is ready. +8. Send changes to upstream. +If you found any issue during the release process and you fix it, please send it back. +After your changes are merged, tag kata packaging with `${NEW_VERSION}` to identify the code used for the release. + + [release-process-definition]: https://github.com/kata-containers/documentation/blob/master/Releases.md [release-checklist]: https://github.com/kata-containers/documentation/blob/master/Release-Checklist.md [join-us-kata]: https://github.com/kata-containers/community#join-us From c932a6e8dd049ef2455b6482f3b0f3a35b0ec38e Mon Sep 17 00:00:00 2001 From: Jose Carlos Venegas Munoz Date: Fri, 22 Mar 2019 12:53:17 -0600 Subject: [PATCH 2/2] improvement: obs: remove versions file. The file is autogenerated lets remove it. Signed-off-by: Jose Carlos Venegas Munoz --- obs-packaging/versions.txt | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 obs-packaging/versions.txt diff --git a/obs-packaging/versions.txt b/obs-packaging/versions.txt deleted file mode 100644 index 1a41447f61..0000000000 --- a/obs-packaging/versions.txt +++ /dev/null @@ -1,33 +0,0 @@ -# This is a generated file from gen_versions_txt.sh - -kata_version=1.5.1 - -kata_runtime_version=1.5.1 -kata_runtime_hash=47a44773d0ebd683ec853b3c920e742715ae8ce6 - -kata_proxy_version=1.5.1 -kata_proxy_hash=9faf7764002daf970e57c6584717a3380341b2dd - -kata_shim_version=1.5.1 -kata_shim_hash=2dbd643783e0a141c91e375023631816a256d9c3 - -kata_agent_version=1.5.1 -kata_agent_hash=656036e7570ee258dcb41d5b9fefad847643898e - -kata_ksm_throttler_version=1.5.1 -kata_ksm_throttler_hash=ad51504a795b23f49b27560f9e3eaf1b41e9151c - -# Dependencies -kata_osbuilder_version=1.5.1 - -qemu_lite_version=2.11.0 -qemu_lite_hash=87517afd726526e6e32a3e0be07eca34b8cc6962 - -qemu_vanilla_version=2.11.2 -qemu_vanilla_hash=0982a56a551556c704dc15752dabf57b4be1c640 - -kernel_version=4.14.102 - -# Golang -go_version=1.11.1 -go_checksum=2871270d8ff0c8c69f161aaae42f9f28739855ff5c5204752a8d92a1c9f63993