Changeset 27002
- Timestamp:
- 05/10/22 12:14:58 (3 years ago)
- Location:
- issm/trunk-jpl/packagers
- Files:
-
- 2 edited
- 5 copied
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified issm/trunk-jpl/packagers/linux/transfer-issm-linux-binaries.sh ¶
r25898 r27002 2 2 3 3 ################################################################################ 4 # Transfers ISSM distributable package for Linux with MATLAB API to ISSM Web 5 # site. 4 # Transfers ISSM distributable package for Linux to ISSM website. 6 5 # 7 6 # NOTE: … … 12 11 # See also: 13 12 # - packagers/linux/complete-issm-linux-binaries-matlab.sh 14 # - packagers/linux/complete-issm-linux-binaries-python.sh 13 # - packagers/linux/complete-issm-linux-binaries-python-2.sh 14 # - packagers/linux/complete-issm-linux-binaries-python-3.sh 15 15 ################################################################################ 16 16 -
TabularUnified issm/trunk-jpl/packagers/mac/commit_for_signing-issm-mac-binaries-python-2.sh ¶
r27000 r27002 2 2 3 3 ################################################################################ 4 # Commits ISSM distributable package for macOS with Python API to repository4 # Commits ISSM distributable package for macOS with Python 2 API to repository 5 5 # for signing. This repository is polled by a project running on a JPL 6 6 # Cybersecurity Jenkins server and performs the actual signing and … … 24 24 # 25 25 # See also: 26 # - packagers/mac/complete-issm-mac-binaries-python .sh27 # - packagers/mac/sign-issm-mac-binaries-python .sh26 # - packagers/mac/complete-issm-mac-binaries-python-2.sh 27 # - packagers/mac/sign-issm-mac-binaries-python-2.sh 28 28 # 29 29 # TODO: … … 65 65 SIGNING_LOCK_FILE="signing.lock" 66 66 UNSIGNED_REPO_COPY="./unsigned" 67 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ unsigned"67 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/2/unsigned" 68 68 69 69 ## Functions -
TabularUnified issm/trunk-jpl/packagers/mac/commit_for_signing-issm-mac-binaries-python-3.sh ¶
r27000 r27002 2 2 3 3 ################################################################################ 4 # Commits ISSM distributable package for macOS with Python API to repository4 # Commits ISSM distributable package for macOS with Python 3 API to repository 5 5 # for signing. This repository is polled by a project running on a JPL 6 6 # Cybersecurity Jenkins server and performs the actual signing and … … 24 24 # 25 25 # See also: 26 # - packagers/mac/complete-issm-mac-binaries-python .sh27 # - packagers/mac/sign-issm-mac-binaries-python .sh26 # - packagers/mac/complete-issm-mac-binaries-python-3.sh 27 # - packagers/mac/sign-issm-mac-binaries-python-3.sh 28 28 # 29 29 # TODO: … … 65 65 SIGNING_LOCK_FILE="signing.lock" 66 66 UNSIGNED_REPO_COPY="./unsigned" 67 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ unsigned"67 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/3/unsigned" 68 68 69 69 ## Functions -
TabularUnified issm/trunk-jpl/packagers/mac/complete-issm-mac-binaries-python-2.sh ¶
r27000 r27002 3 3 ################################################################################ 4 4 # Wrapper script to build, package, send for signing, and transfer to ISSM Web 5 # site ISSM distributable package for macOS with Python API.5 # site ISSM distributable package for macOS with Python 2 API. 6 6 # 7 7 # Normally, we would put this directly into the project configuration under … … 35 35 # Jenkins server. Debugging may be perfomed locally by running, 36 36 # 37 # packagers/mac/sign-issm-mac-binaries-python .sh37 # packagers/mac/sign-issm-mac-binaries-python-2.sh 38 38 # 39 39 # with "ISSM_BINARIES_USER" and "ISSM_BINARIES_PASS" hardcoded to Apple … … 56 56 ## Constants 57 57 # 58 PKG="ISSM-macOS-Python " # Name of directory to copy distributable files to58 PKG="ISSM-macOS-Python-2" # Name of directory to copy distributable files to 59 59 SIGNED_REPO_COPY="./signed" 60 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ signed"60 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/2/signed" 61 61 62 62 COMPRESSED_PKG="${PKG}.zip" … … 97 97 # Build 98 98 if [ ${build} -eq 1 ]; then 99 ./jenkins/jenkins.sh ./jenkins/pine_island-mac-binaries-python 99 ./jenkins/jenkins.sh ./jenkins/pine_island-mac-binaries-python-2 100 100 101 101 if [ $? -ne 0 ]; then … … 106 106 # Package 107 107 if [ ${package} -eq 1 ]; then 108 ./packagers/mac/package-issm-mac-binaries-python .sh $1108 ./packagers/mac/package-issm-mac-binaries-python-2.sh $1 109 109 110 110 if [ $? -ne 0 ]; then … … 117 117 # Commit for signing 118 118 if [ ${sign} -eq 1 ]; then 119 ./packagers/mac/commit_for_signing-issm-mac-binaries-python .sh $1119 ./packagers/mac/commit_for_signing-issm-mac-binaries-python-2.sh $1 120 120 121 121 if [ $? -ne 0 ]; then -
TabularUnified issm/trunk-jpl/packagers/mac/complete-issm-mac-binaries-python-3.sh ¶
r27000 r27002 3 3 ################################################################################ 4 4 # Wrapper script to build, package, send for signing, and transfer to ISSM Web 5 # site ISSM distributable package for macOS with Python API.5 # site ISSM distributable package for macOS with Python 3 API. 6 6 # 7 7 # Normally, we would put this directly into the project configuration under … … 35 35 # Jenkins server. Debugging may be perfomed locally by running, 36 36 # 37 # packagers/mac/sign-issm-mac-binaries-python .sh37 # packagers/mac/sign-issm-mac-binaries-python-3.sh 38 38 # 39 39 # with "ISSM_BINARIES_USER" and "ISSM_BINARIES_PASS" hardcoded to Apple … … 56 56 ## Constants 57 57 # 58 PKG="ISSM-macOS-Python " # Name of directory to copy distributable files to58 PKG="ISSM-macOS-Python-3" # Name of directory to copy distributable files to 59 59 SIGNED_REPO_COPY="./signed" 60 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ signed"60 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/3/signed" 61 61 62 62 COMPRESSED_PKG="${PKG}.zip" … … 97 97 # Build 98 98 if [ ${build} -eq 1 ]; then 99 ./jenkins/jenkins.sh ./jenkins/pine_island-mac-binaries-python 99 ./jenkins/jenkins.sh ./jenkins/pine_island-mac-binaries-python-3 100 100 101 101 if [ $? -ne 0 ]; then … … 106 106 # Package 107 107 if [ ${package} -eq 1 ]; then 108 ./packagers/mac/package-issm-mac-binaries-python .sh $1108 ./packagers/mac/package-issm-mac-binaries-python-3.sh $1 109 109 110 110 if [ $? -ne 0 ]; then … … 117 117 # Commit for signing 118 118 if [ ${sign} -eq 1 ]; then 119 ./packagers/mac/commit_for_signing-issm-mac-binaries-python .sh $1119 ./packagers/mac/commit_for_signing-issm-mac-binaries-python-3.sh $1 120 120 121 121 if [ $? -ne 0 ]; then -
TabularUnified issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-2.sh ¶
r27000 r27002 2 2 3 3 ################################################################################ 4 # Packages and tests ISSM distributable package for macOS with Python API.4 # Packages and tests ISSM distributable package for macOS with Python 2 API. 5 5 # 6 6 # Options: … … 16 16 # 17 17 # See also: 18 # - packagers/mac/complete-issm-mac-binaries-python .sh19 # - packagers/mac/sign-issm-mac-binaries-python .sh18 # - packagers/mac/complete-issm-mac-binaries-python-2.sh 19 # - packagers/mac/sign-issm-mac-binaries-python-2.sh 20 20 ################################################################################ 21 21 -
TabularUnified issm/trunk-jpl/packagers/mac/package-issm-mac-binaries-python-3.sh ¶
r27000 r27002 2 2 3 3 ################################################################################ 4 # Packages and tests ISSM distributable package for macOS with Python API.4 # Packages and tests ISSM distributable package for macOS with Python 3 API. 5 5 # 6 6 # Options: … … 16 16 # 17 17 # See also: 18 # - packagers/mac/complete-issm-mac-binaries-python .sh19 # - packagers/mac/sign-issm-mac-binaries-python .sh18 # - packagers/mac/complete-issm-mac-binaries-python-3.sh 19 # - packagers/mac/sign-issm-mac-binaries-python-3.sh 20 20 ################################################################################ 21 21 … … 129 129 export PYTHONUNBUFFERED=1 # We don't want Python to buffer output, otherwise issm.exe output is not captured 130 130 131 # Ensure that runme.py uses Python 3 interpreter 132 sed -i "s|/usr/bin/env python|/usr/local/bin/python3|g" ./runme.py 133 131 134 # Run tests, redirecting output to logfile and suppressing output to console 132 135 ./runme.py ${PYTHON_NROPTIONS} &> python.log 2>&1 -
TabularUnified issm/trunk-jpl/packagers/mac/sign-issm-mac-binaries-python-2.sh ¶
r27000 r27002 5 5 # Cybersecurity server for signing macOS applications. Polls SCM of the 6 6 # Subversion repository hosted at 7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/ matlab/unsigned to trigger new8 # builds.7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/python/2/unsigned to trigger 8 # new builds. 9 9 # 10 10 # In order to replicate the requried Jenkins project configuration: … … 86 86 NOTARIZATION_LOGFILE_PATH="." 87 87 PASSWORD=${ISSM_BINARIES_PASS} 88 PKG="ISSM-macOS-Python "88 PKG="ISSM-macOS-Python-2" 89 89 PRIMARY_BUNDLE_ID="gov.nasa.jpl.issm.python" 90 90 SIGNED_REPO_COPY="./signed" 91 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ signed"91 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/2/signed" 92 92 SIGNING_LOCK_FILE="signing.lock" 93 93 SUCCESS_LOGFILE="${SIGNED_REPO_COPY}/success.log" 94 94 UNSIGNED_REPO_COPY="./unsigned" 95 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ unsigned"95 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/2/unsigned" 96 96 USERNAME=${ISSM_BINARIES_USER} 97 97 -
TabularUnified issm/trunk-jpl/packagers/mac/sign-issm-mac-binaries-python-3.sh ¶
r27000 r27002 5 5 # Cybersecurity server for signing macOS applications. Polls SCM of the 6 6 # Subversion repository hosted at 7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/ matlab/unsigned to trigger new8 # builds.7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/python/3/unsigned to trigger 8 # new builds. 9 9 # 10 10 # In order to replicate the requried Jenkins project configuration: … … 86 86 NOTARIZATION_LOGFILE_PATH="." 87 87 PASSWORD=${ISSM_BINARIES_PASS} 88 PKG="ISSM-macOS-Python "88 PKG="ISSM-macOS-Python-3" 89 89 PRIMARY_BUNDLE_ID="gov.nasa.jpl.issm.python" 90 90 SIGNED_REPO_COPY="./signed" 91 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ signed"91 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/3/signed" 92 92 SIGNING_LOCK_FILE="signing.lock" 93 93 SUCCESS_LOGFILE="${SIGNED_REPO_COPY}/success.log" 94 94 UNSIGNED_REPO_COPY="./unsigned" 95 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/ unsigned"95 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/3/unsigned" 96 96 USERNAME=${ISSM_BINARIES_USER} 97 97 -
TabularUnified issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-2.sh ¶
r27000 r27002 2 2 3 3 ################################################################################ 4 # This script is intended to test ISSM macOS MATLABbinaries on an end-user4 # This script is intended to test ISSM macOS Python 2 binaries on an end-user 5 5 # machine after successful packaging and signing. 6 6 # … … 11 11 # 12 12 INSTALL_DIR=. 13 PKG="ISSM-macOS-Python "13 PKG="ISSM-macOS-Python-2" 14 14 PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 15 15 -
TabularUnified issm/trunk-jpl/packagers/mac/test-issm-mac-binaries-python-3.sh ¶
r27000 r27002 2 2 3 3 ################################################################################ 4 # This script is intended to test ISSM macOS MATLABbinaries on an end-user4 # This script is intended to test ISSM macOS Python 3 binaries on an end-user 5 5 # machine after successful packaging and signing. 6 6 # … … 11 11 # 12 12 INSTALL_DIR=. 13 PKG="ISSM-macOS-Python "13 PKG="ISSM-macOS-Python-3" 14 14 PYTHON_NROPTIONS="--benchmark all --exclude 125 126 234 235 418 420 435 444 445 701 702 703 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1201 1202 1203 1204 1205 1206 1207 1208 1301 1302 1303 1304 1401 1402 1601 1602 2002 2003 2004 2005 2006 2007 2008 2010 2011 2021 2051 2052 2053 2084 2085 2090 2101 2424 2425 3001:3200 3201 3202 3300 3480 3481 4001 4002 4003" # NOTE: Combination of test suites from basic, Dakota, and Solid Earth builds, with tests that require a restart and those that require the JVM excluded 15 15 -
TabularUnified issm/trunk-jpl/packagers/mac/transfer-issm-mac-binaries.sh ¶
r26753 r27002 2 2 3 3 ################################################################################ 4 # Transfers ISSM distributable package for macOS with MATLAB API to ISSM Web 5 # site. 4 # Transfers ISSM distributable package for macOS to ISSM website. 6 5 # 7 6 # NOTE: … … 16 15 # See also: 17 16 # - packagers/mac/complete-issm-mac-binaries-matlab.sh 18 # - packagers/mac/complete-issm-mac-binaries-python.sh 17 # - packagers/mac/complete-issm-mac-binaries-python-2.sh 18 # - packagers/mac/complete-issm-mac-binaries-python-3.sh 19 19 ################################################################################ 20 20
Note:
See TracChangeset
for help on using the changeset viewer.