Changeset 28108
- Timestamp:
- 02/28/24 11:13:00 (13 months ago)
- Location:
- issm/trunk-jpl/packagers/mac
- Files:
-
- 3 added
- 1 deleted
- 1 edited
- 7 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/packagers/mac/intel/commit_for_signing-issm-mac-intel-binaries-matlab.sh
r28107 r28108 2 2 3 3 ################################################################################ 4 # Commits ISSM distributable package for macOS with MATLAB API to repository5 # for signing. This repository is polled by a project running on a JPL6 # Cybersecurity Jenkins server and performs the actual signing and4 # Commits ISSM distributable package with MATLAB API for macOS running on Intel 5 # to repository for signing. This repository is polled by a project running on 6 # a JPL Cybersecurity Jenkins server and performs the actual signing and 7 7 # notarization. 8 8 # … … 24 24 # 25 25 # See also: 26 # - packagers/mac/ complete-issm-mac-binaries-matlab.sh27 # - packagers/mac/ sign-issm-mac-binaries-matlab.sh26 # - packagers/mac/intel/complete-issm-mac-intel-binaries-matlab.sh 27 # - packagers/mac/intel/sign-issm-mac-intel-binaries-matlab.sh 28 28 # 29 29 # TODO: … … 57 57 SIGNING_CHECK_PERIOD=60 # in seconds 58 58 SIGNING_LOCK_FILE="signing.lock" 59 UNSIGNED_REPO_COPY="./unsigned"60 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/matlab/unsigned"61 59 62 60 ## Functions -
issm/trunk-jpl/packagers/mac/intel/commit_for_signing-issm-mac-intel-binaries-python-3.sh
r28107 r28108 2 2 3 3 ################################################################################ 4 # Commits ISSM distributable package for macOS with Python 3 API to repository5 # for signing. This repository is polled by a project running on a JPL6 # Cybersecurity Jenkins server and performs the actual signing and7 # notarization.4 # Commits ISSM distributable package with Python 3 API for macOS running on 5 # Intel to repository for signing. This repository is polled by a project 6 # running on a JPL Cybersecurity Jenkins server and performs the actual signing 7 # and notarization. 8 8 # 9 9 # Options: … … 24 24 # 25 25 # See also: 26 # - packagers/mac/ complete-issm-mac-binaries-python-3.sh27 # - packagers/mac/ sign-issm-mac-binaries-python-3.sh26 # - packagers/mac/intel/complete-issm-mac-intel-binaries-python-3.sh 27 # - packagers/mac/intel/sign-issm-mac-intel-binaries-python-3.sh 28 28 # 29 29 # TODO: … … 57 57 SIGNING_CHECK_PERIOD=60 # in seconds 58 58 SIGNING_LOCK_FILE="signing.lock" 59 UNSIGNED_REPO_COPY="./unsigned"60 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/python/3/unsigned"61 59 62 60 ## Functions -
issm/trunk-jpl/packagers/mac/intel/complete-issm-mac-intel-binaries-matlab.sh
r28107 r28108 2 2 3 3 ################################################################################ 4 # Wrapper script to build, package, send for signing, and transfer to ISSM Web 5 # site ISSM distributable package for macOS with MATLAB API. 4 # Wrapper script to build, package, send for signing, and transfer to ISSM 5 # website ISSM distributable package with MATLAB API for macOS running on 6 # Intel. 6 7 # 7 8 # Normally, we would put this directly into the project configuration under … … 35 36 # Jenkins server. Debugging may be performed locally by running, 36 37 # 37 # packagers/mac/ sign-issm-mac-binaries-matlab.sh38 # packagers/mac/intel/sign-issm-mac-intel-binaries-matlab.sh 38 39 # 39 40 # with "AD_IDENTITY", "AD_USERNAME", and "ASC_PROVIDER" hardcoded to Apple … … 57 58 ## Constants 58 59 # 59 PKG="ISSM-macOS-MATLAB" # Name of directory to copy distributable files to 60 PKG="ISSM-macOS-Intel-MATLAB" # Name of directory to copy distributable files to 61 REPO_BASE_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab" 60 62 SIGNED_REPO_COPY="./signed" 61 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/matlab/signed" 63 SIGNED_REPO_URL="${REPO_BASE_URL}/signed" 64 UNSIGNED_REPO_COPY="./unsigned" 65 UNSIGNED_REPO_URL="${REPO_BASE_URL}/unsigned" 62 66 63 67 COMPRESSED_PKG="${PKG}.zip" … … 69 73 export SIGNED_REPO_COPY 70 74 export SIGNED_REPO_URL 75 export UNSIGNED_REPO_COPY 76 export UNSIGNED_REPO_URL 71 77 72 78 ## Parse options … … 108 114 # Package 109 115 if [ ${package} -eq 1 ]; then 110 ./packagers/mac/ package-issm-mac-binaries-matlab.sh $1116 ./packagers/mac/intel/package-issm-mac-intel-binaries-matlab.sh $1 111 117 112 118 if [ $? -ne 0 ]; then … … 120 126 # Commit for signing 121 127 if [ ${sign} -eq 1 ]; then 122 ./packagers/mac/ commit_for_signing-issm-mac-binaries-matlab.sh $1128 ./packagers/mac/intel/commit_for_signing-issm-mac-intel-binaries-matlab.sh $1 123 129 124 130 if [ $? -ne 0 ]; then -
issm/trunk-jpl/packagers/mac/intel/package-issm-mac-intel-binaries-matlab.sh
r28107 r28108 2 2 3 3 ################################################################################ 4 # Packages and tests ISSM distributable package for macOS with MATLAB API. 4 # Packages and tests ISSM distributable package with MATLAB API for macOS 5 # running on Intel. 5 6 # 6 7 # Options: … … 16 17 # 17 18 # See also: 18 # - packagers/mac/ complete-issm-mac-binaries-matlab.sh19 # - packagers/mac/ sign-issm-mac-binaries-matlab.sh19 # - packagers/mac/intel/complete-issm-mac-intel-binaries-matlab.sh 20 # - packagers/mac/intel/sign-issm-mac-intel-binaries-matlab.sh 20 21 ################################################################################ 21 22 … … 41 42 # 42 43 MATLAB_NROPTIONS="'benchmark','all','exclude',[125,126,129,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,2006,2007,2008,2010,2011,2012,2013,2020,2021,2051,2052,2053,2084,2085,2090,2091,2092,2101,2424,2425,3001:3300,3480,3481,4001:4100]" # 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 43 MATLAB_PATH="/Applications/MATLAB_R202 2b.app"44 MATLAB_PATH="/Applications/MATLAB_R2023b.app" 44 45 45 46 ## Environment -
issm/trunk-jpl/packagers/mac/intel/package-issm-mac-intel-binaries-python-3.sh
r28107 r28108 2 2 3 3 ################################################################################ 4 # Packages and tests ISSM distributable package for macOS with Python 3 API. 4 # Packages and tests ISSM distributable package with Python 3 API for macOS 5 # running on Intel. 5 6 # 6 7 # Options: … … 16 17 # 17 18 # See also: 18 # - packagers/mac/ complete-issm-mac-binaries-python-3.sh19 # - packagers/mac/ sign-issm-mac-binaries-python-3.sh19 # - packagers/mac/intel/complete-issm-mac-intel-binaries-python-3.sh 20 # - packagers/mac/intel/sign-issm-mac-intel-binaries-python-3.sh 20 21 ################################################################################ 21 22 -
issm/trunk-jpl/packagers/mac/intel/sign-issm-mac-intel-binaries-matlab.sh
r28107 r28108 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.9 # 10 # In order to replicate the required Jenkins project configuration :11 # - First, navigate to 'Manage Jenkins' -> 'Manage Plugins' and install the7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab/unsigned to 8 # trigger new builds. 9 # 10 # In order to replicate the required Jenkins project configuration, 11 # - first, navigate to 'Manage Jenkins' -> 'Manage Plugins' and install the 12 12 # 'Credentials Bindings Plugin' if it is not already installed. 13 # - Contact one of the members of the ISSM development team for credentials for13 # - contact one of the members of the ISSM development team for credentials for 14 14 # the ISSM binaries repository (mention that the credentials are stored in 15 15 # ISSM-Infrastructure.pdf). 16 # - Navigate to 'Manage Jenkins' -> 'Manage Credentials' -> <domain> ->16 # - navigate to 'Manage Jenkins' -> 'Manage Credentials' -> <domain> -> 17 17 # 'Add Credentials' and enter the credentials from above. 18 # - From the 'Dashboard', select 'New Item' -> 'Freestyle project'. 19 # - Under 'Source Code Management', select 'Subversion'. 20 # - The 'Repository URL' text field should be set to 21 # "https://issm.ess.uci.edu/svn/issm-binaries/mac/matlab/unsigned". 22 # - The 'Credentials' select menu should be set to the new credentials 18 # - from the 'Dashboard', select 'New Item' -> 'Freestyle project'. 19 # - under 'Source Code Management', select 'Subversion', 20 # - the 'Repository URL' text field should be set to 21 # 22 # https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab/unsigned 23 # 24 # - the 'Credentials' select menu should be set to the new credentials 23 25 # created previously. 24 # - The 'Local module directory' text field should be set to the same26 # - the 'Local module directory' text field should be set to the same 25 27 # value as the constant UNSIGNED_REPO_COPY (set below to './unsigned'). 26 # - Under 'Build Triggers', check the box for 'Poll SCM' and set the28 # - under 'Build Triggers', check the box for 'Poll SCM' and set the 27 29 # 'Schedule' text area to "H/5 * * * *". 28 # - Under 'Build Environment', check the box for 'Use secret text(s) or30 # - under 'Build Environment', check the box for 'Use secret text(s) or 29 31 # file(s)', then under 'Bindings' click the 'Add...' button and select 30 # 'Username and password (separated)' .31 # - Set 'Username Variable' to "ISSM_BINARIES_USER".32 # - Set 'Password Variable' to "ISSM_BINARIES_PASS".33 # - Under 'Credentials', select the same, new credentials that created32 # 'Username and password (separated)', 33 # - set 'Username Variable' to "ISSM_BINARIES_USER". 34 # - set 'Password Variable' to "ISSM_BINARIES_PASS". 35 # - under 'Credentials', select the same, new credentials that created 34 36 # previously. 35 # - The contents of this script can be copied/pasted directly into the ‘Build'37 # - the contents of this script can be copied/pasted directly into the ‘Build' 36 38 # -> 'Execute Shell' -> ‘Command' textarea of the project configuration (or 37 39 # you can simply store the script on disk and call it from there). 38 # - Make sure to click the 'Save' button.40 # - make sure to click the 'Save' button. 39 41 # 40 42 # Current point of contact at JPL Cybersecurity: … … 79 81 NOTARIZATION_LOGFILE_PATH="." 80 82 PASSWORD=${ISSM_BINARIES_PASS} 81 PKG="ISSM-macOS- MATLAB"83 PKG="ISSM-macOS-Intel-MATLAB" 82 84 SIGNED_REPO_COPY="./signed" 83 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/ matlab/signed"85 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab/signed" 84 86 SIGNING_LOCK_FILE="signing.lock" 85 87 SUCCESS_LOGFILE="${SIGNED_REPO_COPY}/success.log" 86 88 UNSIGNED_REPO_COPY="./unsigned" 87 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/ matlab/unsigned"89 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/matlab/unsigned" 88 90 USERNAME=${ISSM_BINARIES_USER} 89 91 -
issm/trunk-jpl/packagers/mac/intel/sign-issm-mac-intel-binaries-python-3.sh
r28107 r28108 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/ python/3/unsigned to trigger8 # new builds.9 # 10 # In order to replicate the required Jenkins project configuration :11 # - First, navigate to 'Manage Jenkins' -> 'Manage Plugins' and install the7 # https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/python/3/unsigned to 8 # trigger new builds. 9 # 10 # In order to replicate the required Jenkins project configuration, 11 # - first, navigate to 'Manage Jenkins' -> 'Manage Plugins' and install the 12 12 # 'Credentials Bindings Plugin' if it is not already installed. 13 # - Contact one of the members of the ISSM development team for credentials for13 # - contact one of the members of the ISSM development team for credentials for 14 14 # the ISSM binaries repository (mention that the credentials are stored in 15 15 # ISSM-Infrastructure.pdf). 16 # - Navigate to 'Manage Jenkins' -> 'Manage Credentials' -> <domain> ->16 # - navigate to 'Manage Jenkins' -> 'Manage Credentials' -> <domain> -> 17 17 # 'Add Credentials' and enter the credentials from above. 18 # - From the 'Dashboard', select 'New Item' -> 'Freestyle project'. 19 # - Under 'Source Code Management', select 'Subversion'. 20 # - The 'Repository URL' text field should be set to 21 # "https://issm.ess.uci.edu/svn/issm-binaries/mac/matlab/unsigned". 22 # - The 'Credentials' select menu should be set to the new credentials 18 # - from the 'Dashboard', select 'New Item' -> 'Freestyle project'. 19 # - under 'Source Code Management', select 'Subversion', 20 # - the 'Repository URL' text field should be set to 21 # 22 # https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/python/3/unsigned 23 # 24 # - the 'Credentials' select menu should be set to the new credentials 23 25 # created previously. 24 # - The 'Local module directory' text field should be set to the same26 # - the 'Local module directory' text field should be set to the same 25 27 # value as the constant UNSIGNED_REPO_COPY (set below to './unsigned'). 26 # - Under 'Build Triggers', check the box for 'Poll SCM' and set the28 # - under 'Build Triggers', check the box for 'Poll SCM' and set the 27 29 # 'Schedule' text area to "H/5 * * * *". 28 # - Under 'Build Environment', check the box for 'Use secret text(s) or30 # - under 'Build Environment', check the box for 'Use secret text(s) or 29 31 # file(s)', then under 'Bindings' click the 'Add...' button and select 30 # 'Username and password (separated)' .31 # - Set 'Username Variable' to "ISSM_BINARIES_USER".32 # - Set 'Password Variable' to "ISSM_BINARIES_PASS".33 # - Under 'Credentials', select the same, new credentials that created32 # 'Username and password (separated)', 33 # - set 'Username Variable' to "ISSM_BINARIES_USER". 34 # - set 'Password Variable' to "ISSM_BINARIES_PASS". 35 # - under 'Credentials', select the same, new credentials that created 34 36 # previously. 35 # - The contents of this script can be copied/pasted directly into the ‘Build'37 # - the contents of this script can be copied/pasted directly into the ‘Build' 36 38 # -> 'Execute Shell' -> ‘Command' textarea of the project configuration (or 37 39 # you can simply store the script on disk and call it from there). 38 # - Make sure to click the 'Save' button.40 # - make sure to click the 'Save' button. 39 41 # 40 42 # Current point of contact at JPL Cybersecurity: … … 79 81 NOTARIZATION_LOGFILE_PATH="." 80 82 PASSWORD=${ISSM_BINARIES_PASS} 81 PKG="ISSM-macOS- Python-3"83 PKG="ISSM-macOS-Intel-Python-3" 82 84 SIGNED_REPO_COPY="./signed" 83 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/ python/3/signed"85 SIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/python/3/signed" 84 86 SIGNING_LOCK_FILE="signing.lock" 85 87 SUCCESS_LOGFILE="${SIGNED_REPO_COPY}/success.log" 86 88 UNSIGNED_REPO_COPY="./unsigned" 87 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/ python/3/unsigned"89 UNSIGNED_REPO_URL="https://issm.ess.uci.edu/svn/issm-binaries/mac/intel/python/3/unsigned" 88 90 USERNAME=${ISSM_BINARIES_USER} 89 91 -
issm/trunk-jpl/packagers/mac/transfer-issm-mac-binaries.sh
r27111 r28108 14 14 # 15 15 # See also: 16 # - packagers/mac/complete-issm-mac-binaries-matlab.sh 17 # - packagers/mac/complete-issm-mac-binaries-python-2.sh 18 # - packagers/mac/complete-issm-mac-binaries-python-3.sh 16 # - packagers/mac/<ARCH>/complete-issm-mac-<ARCH>-binaries-<API>.sh 19 17 ################################################################################ 20 18 … … 83 81 84 82 # Transfer signed package to ISSM Web site 85 echo "Transferring signed package to ISSM Website"83 echo "Transferring signed package to ISSM website" 86 84 scp -i ~/.ssh/pine_island_to_ross ${SIGNED_REPO_COPY}/${COMPRESSED_PKG} jenkins@ross.ics.uci.edu:/var/www/html/${COMPRESSED_PKG} 87 85
Note:
See TracChangeset
for help on using the changeset viewer.