summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/nodes/retired
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-23 01:23:50 +0100
committerSven Gothel <[email protected]>2023-01-23 01:23:50 +0100
commit33536d1ae923149a0b7113d57cf8a96e42ab7d16 (patch)
tree6bc83c9ed1da9e6b9abceafdec608c563a19d1de /jenkins-server-slave-setup/nodes/retired
parentee7083ecffa94be7f8753c41c6cad96d87e45d7a (diff)
Update jenkins-server-slave-setup, i.e. our Jenkins remote nodes (agents)
Diffstat (limited to 'jenkins-server-slave-setup/nodes/retired')
-rw-r--r--jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/autologin.txt20
-rwxr-xr-xjenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris.sh65
-rw-r--r--jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/xorg-solaris-nv_gpu.conf65
3 files changed, 150 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/autologin.txt b/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/autologin.txt
new file mode 100644
index 0000000..9558b8f
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/autologin.txt
@@ -0,0 +1,20 @@
+# GDM configuration storage
+#
+# /etc/gdm/custom.conf
+#
+
+[daemon]
+TimedLoginEnable=true
+TimedLogin=jogamp
+TimedLoginDelay=5
+
+[security]
+
+[xdmcp]
+
+[greeter]
+
+[chooser]
+
+[debug]
+
diff --git a/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris.sh b/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris.sh
new file mode 100755
index 0000000..9f2d4ec
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/start-ssh-jenkins-solaris.sh
@@ -0,0 +1,65 @@
+#! /bin/bash
+
+cd ~/jenkins
+
+rm -f slave.jar
+# wget --no-check-certificate https://jogamp.org/chuck/jnlpJars/slave.jar
+scp [email protected]:/srv/jenkins/war/WEB-INF/slave.jar .
+
+function connect_1 {
+ # solaris-x86_32-nv
+ . /opt-share/etc/profile.ant
+ export PATH=/usr/java/bin:$PATH
+ #. /opt-solaris-x86/etc/profile.jre6
+ #. /opt-solaris-x86/etc/profile.j2se6
+
+ export SOURCE_LEVEL=1.6
+ export TARGET_LEVEL=1.6
+ export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
+
+ export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+
+ java -d32 -version
+ which java
+ sshpid=
+ while true ; do
+ if [ ! -z "$sshpid" ] ; then
+ kill -9 $sshpid
+ fi
+ ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "KeepAlive yes" [email protected] -L 6020:localhost:5555 -N &
+ sshpid=$!
+ java -d32 -server -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/solaris-NVQUADRO-solaris10-jogamp-x32-sgothel-020/slave-agent.jnlp
+ done
+}
+
+function connect_2 {
+ # solaris-x86_64-nv
+ . /opt-share/etc/profile.ant
+ export PATH=/usr/java/bin/amd64:$PATH
+ #. /opt-solaris-x86_64/etc/profile.jre6
+ #. /opt-solaris-x86_64/etc/profile.j2se6
+
+ export SOURCE_LEVEL=1.6
+ export TARGET_LEVEL=1.6
+ export TARGET_RT_JAR=/opt-share/jre1.6.0_30/lib/rt.jar
+
+ export JOGAMP_JAR_CODEBASE="Codebase: *.jogamp.org"
+
+ java -d64 -version
+ sshpid=
+ while true ; do
+ if [ ! -z "$sshpid" ] ; then
+ kill -9 $sshpid
+ fi
+ ssh -o "ServerAliveInterval 30" -o "ServerAliveCountMax 5" -o "KeepAlive yes" [email protected] -L 6021:localhost:5555 -N &
+ sshpid=$!
+ java -d64 -server -Xmx1024m -jar slave.jar -jnlpUrl https://jogamp.org/chuck/computer/solaris-NVQUADRO-solaris10-jogamp-x64-sgothel-021/slave-agent.jnlp
+ done
+}
+
+connect_1 > solaris-NVQUADRO-solaris10-jogamp-x32-sgothel-020.log 2>&1 &
+disown $!
+
+connect_2 > solaris-NVQUADRO-solaris10-jogamp-x64-sgothel-021.log 2>&1 &
+disown $!
+
diff --git a/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/xorg-solaris-nv_gpu.conf b/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/xorg-solaris-nv_gpu.conf
new file mode 100644
index 0000000..cee87de
--- /dev/null
+++ b/jenkins-server-slave-setup/nodes/retired/sgothel-solaris10-nvquadro-020_021/xorg-solaris-nv_gpu.conf
@@ -0,0 +1,65 @@
+# nvidia-xconfig: X configuration file generated by nvidia-xconfig
+# nvidia-xconfig: version 290.10 ([email protected]) Wed Nov 16 21:22:41 PST 2011
+
+Section "ServerLayout"
+ Identifier "Layout0"
+ Screen 0 "Screen0"
+ InputDevice "Keyboard0" "CoreKeyboard"
+ InputDevice "Mouse0" "CorePointer"
+EndSection
+
+Section "Files"
+ FontPath "/usr/X11R6/lib/X11/fonts/misc/:unscaled"
+ FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
+ FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
+ FontPath "/usr/X11R6/lib/X11/fonts/misc/"
+ FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
+ FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
+EndSection
+
+Section "InputDevice"
+ # generated from default
+ Identifier "Mouse0"
+ Driver "mouse"
+ Option "Protocol" "auto"
+ Option "Device" "/dev/mouse"
+ Option "Emulate3Buttons" "no"
+ Option "ZAxisMapping" "4 5"
+EndSection
+
+Section "InputDevice"
+ # generated from default
+ Identifier "Keyboard0"
+ Driver "keyboard"
+EndSection
+
+Section "Monitor"
+ Identifier "Monitor0"
+ VendorName "Unknown"
+ ModelName "Unknown"
+ HorizSync 28.0 - 33.0
+ VertRefresh 43.0 - 72.0
+ Option "DPMS"
+EndSection
+
+Section "Device"
+ Identifier "Device0"
+ Driver "nvidia"
+ VendorName "NVIDIA Corporation"
+ Option "DynamicTwinView" "False"
+ Option "RandRRotation" "on"
+EndSection
+
+Section "Screen"
+ Identifier "Screen0"
+ Device "Device0"
+ Monitor "Monitor0"
+ DefaultDepth 24
+ Option "DynamicTwinView" "False"
+ Option "RandRRotation" "on"
+ SubSection "Display"
+ Depth 24
+ Modes "1920x1200" "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
+ EndSubSection
+EndSection
+