You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zipkin.apache.org by Adrian Cole <ad...@gmail.com> on 2019/06/04 07:09:42 UTC

FYI runbook of last release

Hi, all.

Below is a runbook of what I used to release zipkin-dependencies
2.3.0, which is mostly following the stuff in the dubbo guide. We are
getting close to a place where we can stamp out and/or possibly
automate this (again), at least the non-human parts.

Hope it helps,
-A

---

Run the prepare script, but don't push tags in case something messed up

```bash
GPG_TTY=$(tty) ./mvnw release:prepare -Papache-release -nsu
-DreleaseVersion=2.3.0 -Dtag=v2.3.0
-DdevelopmentVersion=2.3.1-SNAPSHOT
-Darguments="-Dmaven.test.skip=true" -DpushChanges=false
-DautoVersionSubmodules=true
```

Copy and checksum the source dist into the dev workspace
```bash
mkdir -p ~/oss/dev-zipkin/zipkin-dependencies/2.3.0/
cp target//apache-zipkin-dependencies-incubating-2.3.0-source-release.zip*
~/oss/dev-zipkin/zipkin-dependencies/2.3.0/
cd ~/oss/dev-zipkin/zipkin-dependencies/2.3.0/
shasum -a 512 apache-zipkin-dependencies-incubating-2.3.0-source-release.zip
> apache-zipkin-dependencies-incubating-2.3.0-source-release.zip.sha512
svn add .
svn ci -m"zipkin-dependencies 2.3.0"
```

If that didn't error out, push the tags and run the verification
script. Currently the last step of verification fails for known
reasons unrelated to the health of the dist

```bash
cd -
git push
git push --tags

docker run --rm -ti
abesto/openzipkin-contrib-apache-release-verification   --module
zipkin-dependencies --zipname-template
'apache-{module}{dash_incubating}-{version}-source-release'
--github-reponame-template '{incubator_dash}{module}.git' --version
2.3.0 --gpg-key BB67A050 --git-hash
720a309463152eb29687570e3869155654f1537c
```

Presuming above things worked, run the perform script which uploads to
the artifact directory
```bash
GPG_TTY=$(tty) ./mvnw release:perform -Papache-release
-Darguments="-Dmaven.test.skip=true"
```

Then, close the [staging
repo](https://repository.apache.org/#stagingRepositories) and send the
email

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@zipkin.apache.org
For additional commands, e-mail: dev-help@zipkin.apache.org