From 1402e2d1de4dfeaf95dde0339fab55b001219145 Mon Sep 17 00:00:00 2001 From: Yurii Shovkun Date: Tue, 30 Jul 2019 13:51:31 +0300 Subject: [PATCH 1/2] Update release process instruction --- DEV_README.rst | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/DEV_README.rst b/DEV_README.rst index f41dbfe6..a2de3d6d 100644 --- a/DEV_README.rst +++ b/DEV_README.rst @@ -14,6 +14,10 @@ Install package in virtualenv:: Now ``batch_scoring`` script should be available in your PATH. +Make sure you use pip version less than 10.0.0. Otherwise:: + + $ pip install pip==9.0.1 + You can also create virtualenvs with different python versions:: $ mkvirtualenv batch_scoring_3 -p /usr/bin/python3.5 @@ -51,11 +55,12 @@ Release 5. build the **PyInstaller** and **Offlinebundle** for Linux 1. build the image for PyInstaller with ``docker-compose build centos5pyinstaller`` - 2. build both releases with ``make build_release_dockerized``. This will add the following to the dist dir: + 2. build both releases with ``make build_release_dockerized``(does not work on MacOS). This will add the following to the dist dir: - datarobot_batch_scoring__offlinebundle.zip - datarobot_batch_scoring__offlinebundle.tar - datarobot_batch_scoring__executables.Linux.x86_64.tar + - datarobot_batch_scoring__executables.Linux.x86_64.zip 6. Collect the **PyInstaller** artifacts for OSX and Windows from S3 @@ -68,14 +73,19 @@ Release 7. upload the builds produced by step 5 and 6 - 1. find the release page for the version that was pushed at https://github.com/datarobot/batch-scoring/releases - 2. ``edit`` the release on github and attach the 5 files: + 1. find new version tag that was pushed at https://github.com/datarobot/batch-scoring/tags + 2. ``create`` the release on github for selected tag and attach 6 files: + - datarobot_batch_scoring__executables.Linux.x86_64.tar + - datarobot_batch_scoring__executables.Linux.x86_64.zip - datarobot_batch_scoring__offlinebundle.zip - datarobot_batch_scoring__offlinebundle.tar - - datarobot_batch_scoring__executables.Windows.x86_64.zip - datarobot_batch_scoring__executables.OSX.x86_64.tar - - datarobot_batch_scoring__executables.Linux.x86_64.tar + - datarobot_batch_scoring__executables.Windows.x86_64.zip + + 3. update release subject and description + 4. publish new release + Offline Bundle -------------- From 1bc402995bd2c296dffd508a71688bb99d8bfd79 Mon Sep 17 00:00:00 2001 From: Yurii Shovkun Date: Tue, 30 Jul 2019 13:55:12 +0300 Subject: [PATCH 2/2] Fix misspellings --- DEV_README.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DEV_README.rst b/DEV_README.rst index a2de3d6d..b6c460bb 100644 --- a/DEV_README.rst +++ b/DEV_README.rst @@ -14,7 +14,7 @@ Install package in virtualenv:: Now ``batch_scoring`` script should be available in your PATH. -Make sure you use pip version less than 10.0.0. Otherwise:: +Make sure pip version is less than 10.0.0. Otherwise:: $ pip install pip==9.0.1 @@ -55,7 +55,7 @@ Release 5. build the **PyInstaller** and **Offlinebundle** for Linux 1. build the image for PyInstaller with ``docker-compose build centos5pyinstaller`` - 2. build both releases with ``make build_release_dockerized``(does not work on MacOS). This will add the following to the dist dir: + 2. build both releases with ``make build_release_dockerized`` (does not work on MacOS, use Linux instead). This will add the following to the dist dir: - datarobot_batch_scoring__offlinebundle.zip - datarobot_batch_scoring__offlinebundle.tar