Re: Review Request 44530: Introduce a helper script for preparing RCs.

2016-03-09 Thread John Sirois

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44530/
---

(Updated March 9, 2016, 10:33 a.m.)


Review request for Aurora and Bill Farner.


Changes
---

A cut at basic release prep instructions.

 README.md   |  37 +
 docs/images/bintray-publish.png | Bin 0 -> 204309 bytes
 docs/images/bintray-upload.png  | Bin 0 -> 145853 bytes
 3 files changed, 37 insertions(+)


Bugs: AURORA-1568
https://issues.apache.org/jira/browse/AURORA-1568


Repository: aurora-packaging


Description
---

This is a bit piecemeal at the moment, but automates preparation of RC
artifacts created with `./build-artifact` for upload to bintray.

Either basic docs or more glue scripting is still needed to make the
process as smooth and automated as the main aurora release.

 build-support/release/release-candidate | 64 
++
 1 file changed, 64 insertions(+)


Diffs (updated)
-

  README.md a31f66cb80234c7af58673c98db7539afd6266a9 
  build-support/release/release-candidate PRE-CREATION 
  docs/images/bintray-publish.png PRE-CREATION 
  docs/images/bintray-upload.png PRE-CREATION 

Diff: https://reviews.apache.org/r/44530/diff/


Testing
---

Used this to prepare the deb RCs that are out for a vote as well as the rpm RC 
not quite out for a vote yet.

Looks like:
```
$ ./build-support/release/release-candidate
Signing artifacts for centos-7...
Created archive for centos-7 artifacts at 
/home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/upload.tar.
Signing artifacts for debian-jessie...
Created archive for debian-jessie artifacts at 
/home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-debian-jessie/upload.tar.
Signing artifacts for ubuntu-trusty...
Created archive for ubuntu-trusty artifacts at 
/home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-ubuntu-trusty/upload.tar.
All artifacts prepared for upload to bintray.

$ tar -tf 
/home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-debian-jessie/upload.tar
 | sort
debian-jessie/
debian-jessie/aurora-doc_0.12.0_all.deb
debian-jessie/aurora-doc_0.12.0_all.deb.asc
debian-jessie/aurora-doc_0.12.0_all.deb.md5
debian-jessie/aurora-doc_0.12.0_all.deb.sha
debian-jessie/aurora-executor_0.12.0_amd64.deb
debian-jessie/aurora-executor_0.12.0_amd64.deb.asc
debian-jessie/aurora-executor_0.12.0_amd64.deb.md5
debian-jessie/aurora-executor_0.12.0_amd64.deb.sha
debian-jessie/aurora-scheduler_0.12.0_amd64.deb
debian-jessie/aurora-scheduler_0.12.0_amd64.deb.asc
debian-jessie/aurora-scheduler_0.12.0_amd64.deb.md5
debian-jessie/aurora-scheduler_0.12.0_amd64.deb.sha
debian-jessie/aurora-tools_0.12.0_amd64.deb
debian-jessie/aurora-tools_0.12.0_amd64.deb.asc
debian-jessie/aurora-tools_0.12.0_amd64.deb.md5
debian-jessie/aurora-tools_0.12.0_amd64.deb.sha

$ tar -tf 
/home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/upload.tar
 | sort
centos-7/
centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm
centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm
centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm
centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm
centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha

$ tar -tf 
/home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-ubuntu-trusty/upload.tar
 | sort
ubuntu-trusty/
ubuntu-trusty/aurora-doc_0.12.0_all.deb
ubuntu-trusty/aurora-doc_0.12.0_all.deb.asc
ubuntu-trusty/aurora-doc_0.12.0_all.deb.md5
ubuntu-trusty/aurora-doc_0.12.0_all.deb.sha
ubuntu-trusty/aurora-executor_0.12.0_amd64.deb
ubuntu-trusty/aurora-executor_0.12.0_amd64.deb.asc
ubuntu-trusty/aurora-executor_0.12.0_amd64.deb.md5
ubuntu-trusty/aurora-executor_0.12.0_amd64.deb.sha
ubuntu-trusty/aurora-scheduler_0.12.0_amd64.deb
ubuntu-trusty/aurora-scheduler_0.12.0_amd64.deb.asc
ubuntu-trusty/aurora-scheduler_0.12.0_amd64.deb.md5
ubuntu-trusty/aurora-scheduler_0.12.0_amd64.deb.sha

Re: Review Request 44530: Introduce a helper script for preparing RCs.

2016-03-09 Thread John Sirois


> On March 8, 2016, 3:09 p.m., Bill Farner wrote:
> > Can you also add a `RELEASE.md` in the root with the commands to run?  
> > That'll at least offer pointers to the appropriate scripts.

Added a section to the README, viewable here: 
https://github.com/jsirois/aurora-packaging/tree/AURORA-1568/bintray-helper#creating-a-release-candidate
I'll circle back to make the release-candidate script more robust and perhaps 
flesh out the process a bit more (email template, automate upload).


- John


---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44530/#review122605
---


On March 8, 2016, 2:54 p.m., John Sirois wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/44530/
> ---
> 
> (Updated March 8, 2016, 2:54 p.m.)
> 
> 
> Review request for Aurora and Bill Farner.
> 
> 
> Bugs: AURORA-1568
> https://issues.apache.org/jira/browse/AURORA-1568
> 
> 
> Repository: aurora-packaging
> 
> 
> Description
> ---
> 
> This is a bit piecemeal at the moment, but automates preparation of RC
> artifacts created with `./build-artifact` for upload to bintray.
> 
> Either basic docs or more glue scripting is still needed to make the
> process as smooth and automated as the main aurora release.
> 
>  build-support/release/release-candidate | 64 
> ++
>  1 file changed, 64 insertions(+)
> 
> 
> Diffs
> -
> 
>   build-support/release/release-candidate PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/44530/diff/
> 
> 
> Testing
> ---
> 
> Used this to prepare the deb RCs that are out for a vote as well as the rpm 
> RC not quite out for a vote yet.
> 
> Looks like:
> ```
> $ ./build-support/release/release-candidate
> Signing artifacts for centos-7...
> Created archive for centos-7 artifacts at 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/upload.tar.
> Signing artifacts for debian-jessie...
> Created archive for debian-jessie artifacts at 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-debian-jessie/upload.tar.
> Signing artifacts for ubuntu-trusty...
> Created archive for ubuntu-trusty artifacts at 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-ubuntu-trusty/upload.tar.
> All artifacts prepared for upload to bintray.
> 
> $ tar -tf 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-debian-jessie/upload.tar
>  | sort
> debian-jessie/
> debian-jessie/aurora-doc_0.12.0_all.deb
> debian-jessie/aurora-doc_0.12.0_all.deb.asc
> debian-jessie/aurora-doc_0.12.0_all.deb.md5
> debian-jessie/aurora-doc_0.12.0_all.deb.sha
> debian-jessie/aurora-executor_0.12.0_amd64.deb
> debian-jessie/aurora-executor_0.12.0_amd64.deb.asc
> debian-jessie/aurora-executor_0.12.0_amd64.deb.md5
> debian-jessie/aurora-executor_0.12.0_amd64.deb.sha
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb.asc
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb.md5
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb.sha
> debian-jessie/aurora-tools_0.12.0_amd64.deb
> debian-jessie/aurora-tools_0.12.0_amd64.deb.asc
> debian-jessie/aurora-tools_0.12.0_amd64.deb.md5
> debian-jessie/aurora-tools_0.12.0_amd64.deb.sha
> 
> $ tar -tf 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/upload.tar
>  | sort
> centos-7/
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> 
> $ tar -tf 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-ubuntu-trusty/upload.tar
>  | sort
> ubuntu-trusty/
> 

Re: Review Request 44530: Introduce a helper script for preparing RCs.

2016-03-08 Thread Bill Farner

---
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/44530/#review122605
---


Ship it!




Can you also add a `RELEASE.md` in the root with the commands to run?  That'll 
at least offer pointers to the appropriate scripts.

- Bill Farner


On March 8, 2016, 1:54 p.m., John Sirois wrote:
> 
> ---
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/44530/
> ---
> 
> (Updated March 8, 2016, 1:54 p.m.)
> 
> 
> Review request for Aurora and Bill Farner.
> 
> 
> Bugs: AURORA-1568
> https://issues.apache.org/jira/browse/AURORA-1568
> 
> 
> Repository: aurora-packaging
> 
> 
> Description
> ---
> 
> This is a bit piecemeal at the moment, but automates preparation of RC
> artifacts created with `./build-artifact` for upload to bintray.
> 
> Either basic docs or more glue scripting is still needed to make the
> process as smooth and automated as the main aurora release.
> 
>  build-support/release/release-candidate | 64 
> ++
>  1 file changed, 64 insertions(+)
> 
> 
> Diffs
> -
> 
>   build-support/release/release-candidate PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/44530/diff/
> 
> 
> Testing
> ---
> 
> Used this to prepare the deb RCs that are out for a vote as well as the rpm 
> RC not quite out for a vote yet.
> 
> Looks like:
> ```
> $ ./build-support/release/release-candidate
> Signing artifacts for centos-7...
> Created archive for centos-7 artifacts at 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/upload.tar.
> Signing artifacts for debian-jessie...
> Created archive for debian-jessie artifacts at 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-debian-jessie/upload.tar.
> Signing artifacts for ubuntu-trusty...
> Created archive for ubuntu-trusty artifacts at 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-ubuntu-trusty/upload.tar.
> All artifacts prepared for upload to bintray.
> 
> $ tar -tf 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-debian-jessie/upload.tar
>  | sort
> debian-jessie/
> debian-jessie/aurora-doc_0.12.0_all.deb
> debian-jessie/aurora-doc_0.12.0_all.deb.asc
> debian-jessie/aurora-doc_0.12.0_all.deb.md5
> debian-jessie/aurora-doc_0.12.0_all.deb.sha
> debian-jessie/aurora-executor_0.12.0_amd64.deb
> debian-jessie/aurora-executor_0.12.0_amd64.deb.asc
> debian-jessie/aurora-executor_0.12.0_amd64.deb.md5
> debian-jessie/aurora-executor_0.12.0_amd64.deb.sha
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb.asc
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb.md5
> debian-jessie/aurora-scheduler_0.12.0_amd64.deb.sha
> debian-jessie/aurora-tools_0.12.0_amd64.deb
> debian-jessie/aurora-tools_0.12.0_amd64.deb.asc
> debian-jessie/aurora-tools_0.12.0_amd64.deb.md5
> debian-jessie/aurora-tools_0.12.0_amd64.deb.sha
> 
> $ tar -tf 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-centos-7/dist/rpmbuild/RPMS/upload.tar
>  | sort
> centos-7/
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-executor-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-scheduler-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-scheduler-debuginfo-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.asc
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.md5
> centos-7/aurora-tools-0.12.0-1.el7.centos.aurora.x86_64.rpm.sha
> 
> $ tar -tf 
> /home/jsirois/dev/aurora/jsirois-aurora-packaging/artifacts/aurora-ubuntu-trusty/upload.tar
>  | sort
> ubuntu-trusty/
> ubuntu-trusty/aurora-doc_0.12.0_all.deb
> ubuntu-trusty/aurora-doc_0.12.0_all.deb.asc
> ubuntu-trusty/aurora-doc_0.12.0_all.deb.md5
> ubuntu-trusty/aurora-doc_0.12.0_all.deb.sha
> ubuntu-trusty/aurora-executor_0.12.0_amd64.deb
> ubuntu-trusty/aurora-executor_0.12.0_amd64.deb.asc
> ubuntu-trusty/aurora-executor_0.12.0_amd64.deb.md5
>