Skip to content

Commit

Permalink
Add riscv64 agent to technology.justj.
Browse files Browse the repository at this point in the history
  • Loading branch information
pstankie authored and fredg02 committed Sep 25, 2024
1 parent 917bd2c commit 36504b2
Show file tree
Hide file tree
Showing 7 changed files with 672 additions and 45 deletions.
19 changes: 19 additions & 0 deletions instances/technology.justj/jenkins/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,22 @@ jenkins:
>https://ci.eclipse.org/releng/manage/computer/ppcle-test</a>"
remoteFS: "/home/justj/build"
retentionStrategy: "always"
- permanent:
name: "riscv-build2"
nodeDescription: "4-core 8Gb riscv machine hosted by EF"
labelString: "hw.arch.riscv64 riscv64 swt.natives-gtk.linux.riscv64 native.builder-gtk.linux.riscv64"
remoteFS: '/home/jenkins/agent'
numExecutors: 1
mode: EXCLUSIVE
retentionStrategy: "always"
launcher:
ssh:
host: "172.30.206.102"
port: "2023"
credentialsId: "jenkins-riscv-ssh"
prefixStartSlaveCmd: "ulimit -c 0 && "
javaPath: "/usr/bin/java"
jvmOptions: "-XX:-HeapDumpOnOutOfMemoryError -XX:-CreateCoredumpOnCrash"
sshHostKeyVerificationStrategy:
manuallyProvidedKeyVerificationStrategy:
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKJ2Lzuv0XMw3KCnkSRmOL2Dz+glZIdwwaqErqmnoaHm"
205 changes: 201 additions & 4 deletions instances/technology.justj/target/config.json

Large diffs are not rendered by default.

205 changes: 205 additions & 0 deletions instances/technology.justj/target/jenkins/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,188 @@ jenkins:
name: m2-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
- name: "ubuntu-2204"
namespace: "justj"
label: "ubuntu-2204"
containers:
- name: "jnlp"
image: docker.io/eclipsecbi/jiro-agent-ubuntu-2204:remoting-3206.3208.v409508a_675ff
alwaysPullImage: true
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
ttyEnabled: true
command: ""
args: ""
instanceCap: -1
nodeUsageMode: EXCLUSIVE
envVars:
- envVar:
key: "JAVA_TOOL_OPTIONS"
value: ""
- envVar:
key: "JENKINS_REMOTING_JAVA_OPTS"
value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
- envVar:
key: "OPENJ9_JAVA_OPTIONS"
value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
- envVar:
key: "_JAVA_OPTIONS"
value: ""
volumes:
- persistentVolumeClaim:
claimName: "tools-claim-jiro-justj"
mountPath: "/opt/tools"
readOnly: true
- configMapVolume:
configMapName: "known-hosts"
mountPath: "/home/jenkins/.ssh/"
subPath: "."
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/"
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/.m2/repository"
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/.m2/wrapper"
workspaceVolume:
emptyDirWorkspaceVolume:
memory: false
yaml: |
apiVersion: v1
kind: Pod
spec:
containers:
- name: jnlp
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1000m"
memory: "4096Mi"
volumeMounts:
- name: m2-secret-dir
mountPath: /home/jenkins/.m2/settings-security.xml
subPath: settings-security.xml
readOnly: true
- name: m2-secret-dir
mountPath: /home/jenkins/.m2/settings.xml
subPath: settings.xml
readOnly: true
- name: m2-dir
mountPath: /home/jenkins/.m2/toolchains.xml
subPath: toolchains.xml
readOnly: true
- name: m2-dir
mountPath: /home/jenkins/.mavenrc
subPath: .mavenrc
readOnly: true
volumes:
- name: m2-secret-dir
secret:
secretName: m2-secret-dir
- name: m2-dir
configMap:
name: m2-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
- name: "ubuntu-2404"
namespace: "justj"
label: "ubuntu-latest ubuntu-2404"
containers:
- name: "jnlp"
image: docker.io/eclipsecbi/jiro-agent-ubuntu-2404:remoting-3206.3208.v409508a_675ff
alwaysPullImage: true
livenessProbe:
failureThreshold: 0
initialDelaySeconds: 0
periodSeconds: 0
successThreshold: 0
timeoutSeconds: 0
ttyEnabled: true
command: ""
args: ""
instanceCap: -1
nodeUsageMode: EXCLUSIVE
envVars:
- envVar:
key: "JAVA_TOOL_OPTIONS"
value: ""
- envVar:
key: "JENKINS_REMOTING_JAVA_OPTS"
value: "-showversion -XshowSettings:vm -Xmx256m -Dorg.jenkinsci.remoting.engine.JnlpProtocol3.disabled=true -Dorg.jenkinsci.plugins.gitclient.CliGitAPIImpl.useSETSID=true"
- envVar:
key: "OPENJ9_JAVA_OPTIONS"
value: "-XX:+IgnoreUnrecognizedVMOptions -XX:+IdleTuningCompactOnIdle -XX:+IdleTuningGcOnIdle"
- envVar:
key: "_JAVA_OPTIONS"
value: ""
volumes:
- persistentVolumeClaim:
claimName: "tools-claim-jiro-justj"
mountPath: "/opt/tools"
readOnly: true
- configMapVolume:
configMapName: "known-hosts"
mountPath: "/home/jenkins/.ssh/"
subPath: "."
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/"
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/.m2/repository"
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/.m2/wrapper"
workspaceVolume:
emptyDirWorkspaceVolume:
memory: false
yaml: |
apiVersion: v1
kind: Pod
spec:
containers:
- name: jnlp
resources:
limits:
cpu: "2000m"
memory: "4096Mi"
requests:
cpu: "1000m"
memory: "4096Mi"
volumeMounts:
- name: m2-secret-dir
mountPath: /home/jenkins/.m2/settings-security.xml
subPath: settings-security.xml
readOnly: true
- name: m2-secret-dir
mountPath: /home/jenkins/.m2/settings.xml
subPath: settings.xml
readOnly: true
- name: m2-dir
mountPath: /home/jenkins/.m2/toolchains.xml
subPath: toolchains.xml
readOnly: true
- name: m2-dir
mountPath: /home/jenkins/.mavenrc
subPath: .mavenrc
readOnly: true
volumes:
- name: m2-secret-dir
secret:
secretName: m2-secret-dir
- name: m2-dir
configMap:
name: m2-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
nodes:
- permanent:
labelString: "windows windows10"
Expand Down Expand Up @@ -530,6 +712,25 @@ jenkins:
nodeDescription: "Agent running on the same machine as\r\n<a href=\"https://ci.eclipse.org/releng/manage/computer/ppcle-test\">https://ci.eclipse.org/releng/manage/computer/ppcle-test</a>"
remoteFS: "/home/justj/build"
retentionStrategy: "always"
- permanent:
name: "riscv-build2"
nodeDescription: "4-core 8Gb riscv machine hosted by EF"
labelString: "hw.arch.riscv64 riscv64 swt.natives-gtk.linux.riscv64 native.builder-gtk.linux.riscv64"
remoteFS: '/home/jenkins/agent'
numExecutors: 1
mode: EXCLUSIVE
retentionStrategy: "always"
launcher:
ssh:
host: "172.30.206.102"
port: "2023"
credentialsId: "jenkins-riscv-ssh"
prefixStartSlaveCmd: "ulimit -c 0 && "
javaPath: "/usr/bin/java"
jvmOptions: "-XX:-HeapDumpOnOutOfMemoryError -XX:-CreateCoredumpOnCrash"
sshHostKeyVerificationStrategy:
manuallyProvidedKeyVerificationStrategy:
key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKJ2Lzuv0XMw3KCnkSRmOL2Dz+glZIdwwaqErqmnoaHm"
security:
apiToken:
creationOfLegacyTokenEnabled: false
Expand Down Expand Up @@ -624,6 +825,8 @@ tool:
home: "/opt/tools/java/openjdk/latest"
- name: "openjdk-ea-latest"
home: "/opt/tools/java/openjdk/ea-latest"
- name: "openjdk-jdk24-latest"
home: "/opt/tools/java/openjdk/jdk-24/latest"
- name: "openjdk-jdk23-latest"
home: "/opt/tools/java/openjdk/jdk-23/latest"
- name: "openjdk-jdk22-latest"
Expand Down Expand Up @@ -753,6 +956,8 @@ tool:
installations:
- name: "apache-maven-latest"
home: "/opt/tools/apache-maven/latest"
- name: "apache-maven-3.9.9"
home: "/opt/tools/apache-maven/3.9.9"
- name: "apache-maven-3.9.6"
home: "/opt/tools/apache-maven/3.9.6"
- name: "apache-maven-3.9.5"
Expand Down
Loading

0 comments on commit 36504b2

Please sign in to comment.