You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by sp...@apache.org on 2018/06/08 12:36:30 UTC

[1/2] cassandra-builds git commit: Update centos docker file to avoid py ssl warnings

Repository: cassandra-builds
Updated Branches:
  refs/heads/master 8f796c668 -> fb5df10b6


Update centos docker file to avoid py ssl warnings


Project: http://git-wip-us.apache.org/repos/asf/cassandra-builds/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-builds/commit/a317ef0c
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/a317ef0c
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/a317ef0c

Branch: refs/heads/master
Commit: a317ef0c79c6c38f2ed7627482a609cf9c7bc4e7
Parents: 8f796c6
Author: Stefan Podkowinski <st...@1und1.de>
Authored: Fri Jun 8 14:32:24 2018 +0200
Committer: Stefan Podkowinski <st...@1und1.de>
Committed: Fri Jun 8 14:32:24 2018 +0200

----------------------------------------------------------------------
 docker/centos7-image.docker | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/a317ef0c/docker/centos7-image.docker
----------------------------------------------------------------------
diff --git a/docker/centos7-image.docker b/docker/centos7-image.docker
index c082939..90d7b28 100644
--- a/docker/centos7-image.docker
+++ b/docker/centos7-image.docker
@@ -24,11 +24,17 @@ RUN yum -y install \
 # via epel-releases
 RUN yum -y install python2-pip
 
+# install ssl enabled urllib for retrieving python packages
+# this will produce some ssl related warnings, which will be resolved once the package has been installed
+RUN pip install urllib3[secure]
+
+# upgrade to modern pip version
+RUN pip install --upgrade pip
+
 # install Sphinx to generate docs
 RUN pip install \
    Sphinx \
-   sphinx_rtd_theme \
-   urllib3
+   sphinx_rtd_theme
 
 # create and change to build user
 RUN adduser build


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


[2/2] cassandra-builds git commit: README: on updating rpm/deb repositories

Posted by sp...@apache.org.
README: on updating rpm/deb repositories


Project: http://git-wip-us.apache.org/repos/asf/cassandra-builds/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra-builds/commit/fb5df10b
Tree: http://git-wip-us.apache.org/repos/asf/cassandra-builds/tree/fb5df10b
Diff: http://git-wip-us.apache.org/repos/asf/cassandra-builds/diff/fb5df10b

Branch: refs/heads/master
Commit: fb5df10b6341b82fc887c7b60109b1a25f485334
Parents: a317ef0
Author: Stefan Podkowinski <st...@1und1.de>
Authored: Fri Jun 8 14:34:14 2018 +0200
Committer: Stefan Podkowinski <st...@1und1.de>
Committed: Fri Jun 8 14:34:14 2018 +0200

----------------------------------------------------------------------
 README.md | 29 +++++++++++++++++++++++++++--
 1 file changed, 27 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra-builds/blob/fb5df10b/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 8bb85ee..14faed1 100644
--- a/README.md
+++ b/README.md
@@ -59,7 +59,32 @@ Once the RPM is signed, both the import key and verification steps should take p
 
 See use of `debsign` in `cassandra-release/prepare_release.sh`.
 
+## Updating package repositories
 
-## Publishing packages
+### Prerequisites
 
-TODO
+Artifacts for RPM and Debian package repositories, as well as tar archives, are keept in a single SVN repository. You need to have your own local copy for adding new packages:
+
+```
+svn co --config-option 'config:miscellany:use-commit-times=yes' https://dist.apache.org/repos/dist/release/cassandra
+```
+
+(you may also want to set `use-commit-times = yes` in your local svn config)
+
+We'll further refer to the local directory created by the svn command as `$artifacts_svn_dir`.
+
+Required build tools:
+* [createrepo](https://packages.ubuntu.com/bionic/createrepo) (RPMs)
+* [reprepro](https://packages.ubuntu.com/bionic/reprepro) (Debian)
+
+### RPM
+
+Adding new packages to the official repository starts by copying the RPMs to `$artifacts_svn_dir/redhat/<version>`. Afterwards, recreate the metadata by executing `createrepo -v .` in that directory. Finally, sign the generated meta data files in the `repodata` sub-directory:
+
+```
+for i in `ls *.bz2 *.gz *.xml`; do gpg -sba --local-user MyAlias $i; done;
+```
+
+### Debian
+
+See `finish_release.sh`


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org