summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2020-01-02 00:08:31 +0100
committerSven Gothel <[email protected]>2020-01-02 00:08:31 +0100
commit15ad1686af18855ffe0cb9a46a3add7fc6bc3e63 (patch)
tree7bb4c1053ef3a50bb5b6027dcc1bc48fa00d2ddf
parent7173a1b23d943a91367d30711cd226c1ad3a599e (diff)
Add iOS Arm64 and Amd64 nodes
-rw-r--r--jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.load.sh2
-rw-r--r--jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-020.plist43
-rw-r--r--jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-021.plist43
-rw-r--r--jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.update.sh4
-rwxr-xr-xjenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-020.sh29
-rwxr-xr-xjenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-021.sh29
6 files changed, 150 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.load.sh b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.load.sh
index 798ae7f..ed29d05 100644
--- a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.load.sh
+++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.load.sh
@@ -2,4 +2,6 @@
launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-012.plist
#launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-013.plist
+launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-020.plist
+launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-021.plist
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-020.plist b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-020.plist
new file mode 100644
index 0000000..3e0a0cf
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-020.plist
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<!--
+ Created w/ help of:
+ - http://launched.zerowidth.com/
+-->
+<dict>
+ <key>Label</key>
+ <string>com.jogamp.launched.start-ssh-jenkins-020</string>
+ <key>UserName</key>
+ <string>jogamp</string>
+ <key>GroupName</key>
+ <string>staff</string>
+ <key>WorkingDirectory</key>
+ <string>/Users/jogamp/jenkins</string>
+ <key>ProcessType</key>
+ <string>Interactive</string>
+ <key>LaunchOnlyOnce</key>
+ <false/>
+ <key>KeepAlive</key>
+ <true/>
+ <key>AbandonProcessGroup</key>
+ <false/>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/bin/sh</string>
+ <string>/Users/jogamp/jenkins/start-ssh-jenkins-020.sh</string>
+ </array>
+ <key>StandardOutPath</key>
+ <string>/Users/jogamp/jenkins/iOSX64-jogamp-amd64-sgothel-020.stdout.log</string>
+ <key>StandardErrorPath</key>
+ <string>/Users/jogamp/jenkins/iOSX64-jogamp-amd64-sgothel-020.stderr.log</string>
+</dict>
+<!--
+Manual Install:
+
+mkdir -p ~/Library/LaunchAgents
+cp com.jogamp.launched.start-ssh-jenkins-020.plist ~/Library/LaunchAgents/
+launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-020.plist
+-->
+</plist>
+
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-021.plist b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-021.plist
new file mode 100644
index 0000000..32695c4
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.start-ssh-jenkins-021.plist
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<!--
+ Created w/ help of:
+ - http://launched.zerowidth.com/
+-->
+<dict>
+ <key>Label</key>
+ <string>com.jogamp.launched.start-ssh-jenkins-021</string>
+ <key>UserName</key>
+ <string>jogamp</string>
+ <key>GroupName</key>
+ <string>staff</string>
+ <key>WorkingDirectory</key>
+ <string>/Users/jogamp/jenkins</string>
+ <key>ProcessType</key>
+ <string>Interactive</string>
+ <key>LaunchOnlyOnce</key>
+ <false/>
+ <key>KeepAlive</key>
+ <true/>
+ <key>AbandonProcessGroup</key>
+ <false/>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/bin/sh</string>
+ <string>/Users/jogamp/jenkins/start-ssh-jenkins-021.sh</string>
+ </array>
+ <key>StandardOutPath</key>
+ <string>/Users/jogamp/jenkins/iOSArm64-jogamp-aarch64-sgothel-021.stdout.log</string>
+ <key>StandardErrorPath</key>
+ <string>/Users/jogamp/jenkins/iOSArm64-jogamp-aarch64-sgothel-021.stderr.log</string>
+</dict>
+<!--
+Manual Install:
+
+mkdir -p ~/Library/LaunchAgents
+cp com.jogamp.launched.start-ssh-jenkins-021.plist ~/Library/LaunchAgents/
+launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-021.plist
+-->
+</plist>
+
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.update.sh b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.update.sh
index a5cd8a6..f869f92 100644
--- a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.update.sh
+++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/launchd/com.jogamp.launched.update.sh
@@ -3,7 +3,11 @@
mkdir -p ~/Library/LaunchAgents
cp com.jogamp.launched.start-ssh-jenkins-012.plist ~/Library/LaunchAgents/
#cp com.jogamp.launched.start-ssh-jenkins-013.plist ~/Library/LaunchAgents/
+cp com.jogamp.launched.start-ssh-jenkins-020.plist ~/Library/LaunchAgents/
+cp com.jogamp.launched.start-ssh-jenkins-021.plist ~/Library/LaunchAgents/
#launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-012.plist
#launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-013.plist
+#launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-020.plist
+#launchctl load -w ~/Library/LaunchAgents/com.jogamp.launched.start-ssh-jenkins-021.plist
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-020.sh b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-020.sh
new file mode 100755
index 0000000..11fc65f
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-020.sh
@@ -0,0 +1,29 @@
+#! /bin/sh
+
+cd /Users/jogamp/jenkins
+
+#scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar slave-020.jar
+curl -o agent-020.jar https://jogamp.org/chuck/jnlpJars/agent.jar
+
+. ./profile.ant
+JAVA_HOME=`/usr/libexec/java_home -version 11`
+PATH=$JAVA_HOME/bin:/usr/local/bin:$PATH
+export JAVA_HOME PATH
+export SOURCE_LEVEL=1.8
+export TARGET_LEVEL=1.8
+export TARGET_RT_JAR=/usr/local/jre1.8.0_212/lib/rt.jar
+
+export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-ios-amd64.xml
+
+export SDKROOT=iphonesimulator12.2
+xcrun --show-sdk-path
+
+export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+
+java -version
+which git
+ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6020:localhost:5555 -N &
+SSHPID=$!
+echo Launched SSH $SSHPID
+java -server -Xmx1024m -XX:+UseCompressedOops -jar agent-020.jar -jnlpUrl https://jogamp.org/chuck/computer/iOSX64-jogamp-amd64-sgothel-020/slave-agent.jnlp
+
diff --git a/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-021.sh b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-021.sh
new file mode 100755
index 0000000..2c3d37e
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/sgothel-macosx64-nv320m-012_013/start-ssh-jenkins-021.sh
@@ -0,0 +1,29 @@
+#! /bin/sh
+
+cd /Users/jogamp/jenkins
+
+#scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar slave-021.jar
+curl -o agent-021.jar https://jogamp.org/chuck/jnlpJars/agent.jar
+
+. ./profile.ant
+JAVA_HOME=`/usr/libexec/java_home -version 11`
+PATH=$JAVA_HOME/bin:/usr/local/bin:$PATH
+export JAVA_HOME PATH
+export SOURCE_LEVEL=1.8
+export TARGET_LEVEL=1.8
+export TARGET_RT_JAR=/usr/local/jre1.8.0_212/lib/rt.jar
+
+export GLUEGEN_CPPTASKS_FILE=make/lib/gluegen-cpptasks-ios-aarch64.xml
+
+export SDKROOT=iphoneos12.2
+xcrun --show-sdk-path
+
+export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+
+java -version
+which git
+ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "TCPKeepAlive yes" [email protected] -L 6021:localhost:5555 -N &
+SSHPID=$!
+echo Launched SSH $SSHPID
+java -server -Xmx1024m -XX:+UseCompressedOops -jar agent-021.jar -jnlpUrl https://jogamp.org/chuck/computer/iOSArm64-jogamp-aarch64-sgothel-021/slave-agent.jnlp
+