Skip to content

Commit

Permalink
Migrate to CephFS
Browse files Browse the repository at this point in the history
  • Loading branch information
fredg02 committed Oct 7, 2024
1 parent 0d3e267 commit 1c7ef2c
Show file tree
Hide file tree
Showing 24 changed files with 2,391 additions and 19 deletions.
3 changes: 2 additions & 1 deletion instances/locationtech.geotrellis/config.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
},
sbt+: {
generate: true,
}
},
seLinuxLevel: "s0:c40,c25",
}
226 changes: 224 additions & 2 deletions instances/locationtech.geotrellis/target/config.json

Large diffs are not rendered by default.

206 changes: 206 additions & 0 deletions instances/locationtech.geotrellis/target/jenkins/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,208 @@ jenkins:
secretName: sbt-secret-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
- name: "ubuntu-2204"
namespace: "geotrellis"
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-geotrellis"
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"
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/.sbt"
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
- name: sbt-secret-dir
mountPath: /home/jenkins/.sbt/.credentials
subPath: .credentials
readOnly: true
volumes:
- name: m2-secret-dir
secret:
secretName: m2-secret-dir
- name: m2-dir
configMap:
name: m2-dir
- name: sbt-secret-dir
secret:
secretName: sbt-secret-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
- name: "ubuntu-2404"
namespace: "geotrellis"
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-geotrellis"
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"
- emptyDirVolume:
memory: false
mountPath: "/home/jenkins/.sbt"
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
- name: sbt-secret-dir
mountPath: /home/jenkins/.sbt/.credentials
subPath: .credentials
readOnly: true
volumes:
- name: m2-secret-dir
secret:
secretName: m2-secret-dir
- name: m2-dir
configMap:
name: m2-dir
- name: sbt-secret-dir
secret:
secretName: sbt-secret-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
security:
apiToken:
creationOfLegacyTokenEnabled: false
Expand Down Expand Up @@ -575,6 +777,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 @@ -704,6 +908,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 1c7ef2c

Please sign in to comment.