Skip to content

Commit

Permalink
SWT SessionManagerDBus: Failed to connect to org.gnome.SessionManager:
Browse files Browse the repository at this point in the history
Failed to execute child process “dbus-launch”

https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/5582

- set environment variables to fix errors/warnings related to dbus, MESA
and glx
  • Loading branch information
fredg02 committed Jan 28, 2025
1 parent 776a57f commit 621138b
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 2 deletions.
8 changes: 8 additions & 0 deletions instances/modeling.mdt.ocl/jenkins/configuration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
jenkins:
globalNodeProperties:
- envVars:
env:
- key: "LIBGL_ALWAYS_SOFTWARE"
value: "1"
- key: "NO_AT_BRIDGE"
value: "1"
4 changes: 2 additions & 2 deletions instances/modeling.mdt.ocl/target/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@
"id": "2.479.2",
"key_fingerprint": "5BA31D57EF5975CA",
"plugin_manager": {
"jar": "https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.13.0/jenkins-plugin-manager-2.13.0.jar",
"version": "2.13.0"
"jar": "https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.13.2/jenkins-plugin-manager-2.13.2.jar",
"version": "2.13.2"
},
"pluginroot": "/var/cache/jenkins/plugins",
"plugins": [
Expand Down
18 changes: 18 additions & 0 deletions instances/modeling.mdt.ocl/target/jenkins/configuration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ jenkins:
containerCapStr: "2"
jenkinsUrl: "http://jenkins-ui.ocl.svc.cluster.local/ocl"
jenkinsTunnel: "jenkins-discovery.ocl.svc.cluster.local:50000"
garbageCollection:
timeout: 300
maxRequestsPerHostStr: "32"
namespace: "ocl"
podRetention: "never"
Expand Down Expand Up @@ -350,6 +352,13 @@ jenkins:
name: m2-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
globalNodeProperties:
- envVars:
env:
- key: "LIBGL_ALWAYS_SOFTWARE"
value: "1"
- key: "NO_AT_BRIDGE"
value: "1"
security:
apiToken:
creationOfLegacyTokenEnabled: false
Expand Down Expand Up @@ -437,6 +446,13 @@ unclassified:
showBuildBadges: "never"
showChangeReasonCommentWindow: false
skipDuplicateHistory: true
hashicorpVault:
configuration:
disableChildPoliciesOverride: false
engineVersion: 2
timeout: 60
vaultCredentialId: "secretsmanager-approle"
vaultUrl: "https://secretsmanager.eclipse.org"
tool:
jdk:
installations:
Expand Down Expand Up @@ -522,6 +538,8 @@ tool:
home: "/opt/tools/java/adoptopenjdk/openj9-jdk-8/latest"
- name: "temurin-latest"
home: "/opt/tools/java/temurin/latest"
- name: "temurin-jdk23-latest"
home: "/opt/tools/java/temurin/jdk-23/latest"
- name: "temurin-jdk22-latest"
home: "/opt/tools/java/temurin/jdk-22/latest"
- name: "temurin-jdk21-latest"
Expand Down
14 changes: 14 additions & 0 deletions instances/modeling.mdt.ocl/target/jenkins/title.js
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
document.title = "Eclipse OCL - " + document.title;
document.addEventListener('DOMContentLoaded', function() {
let header = document.querySelector('.page-header__brand');
if (header) {
let newLink = document.createElement('a');
newLink.href = 'https://github.com/eclipse-cbi/jiro/blob/master/instances/modeling.mdt.ocl/target/config.json';
newLink.textContent = 'JCasC Source';
newLink.style = 'color: white; border-left: 1px solid white; padding-left: 1em; font-size: 1.1em; position: relative; top: 0.2em; left: -1.6em;';
newLink.target = '_blank';
newLink.title = 'JIRO JCasC Configuration as Code';
header.appendChild(newLink);
} else {
console.log('Element with class "header" not found.');
}
});
18 changes: 18 additions & 0 deletions instances/modeling.mdt.ocl/target/k8s/configmap-jenkins-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ data:
containerCapStr: "2"
jenkinsUrl: "http://jenkins-ui.ocl.svc.cluster.local/ocl"
jenkinsTunnel: "jenkins-discovery.ocl.svc.cluster.local:50000"
garbageCollection:
timeout: 300
maxRequestsPerHostStr: "32"
namespace: "ocl"
podRetention: "never"
Expand Down Expand Up @@ -373,6 +375,13 @@ data:
name: m2-dir
inheritYamlMergeStrategy: "true"
yamlMergeStrategy: "merge"
globalNodeProperties:
- envVars:
env:
- key: "LIBGL_ALWAYS_SOFTWARE"
value: "1"
- key: "NO_AT_BRIDGE"
value: "1"
security:
apiToken:
creationOfLegacyTokenEnabled: false
Expand Down Expand Up @@ -460,6 +469,13 @@ data:
showBuildBadges: "never"
showChangeReasonCommentWindow: false
skipDuplicateHistory: true
hashicorpVault:
configuration:
disableChildPoliciesOverride: false
engineVersion: 2
timeout: 60
vaultCredentialId: "secretsmanager-approle"
vaultUrl: "https://secretsmanager.eclipse.org"
tool:
jdk:
installations:
Expand Down Expand Up @@ -545,6 +561,8 @@ data:
home: "/opt/tools/java/adoptopenjdk/openj9-jdk-8/latest"
- name: "temurin-latest"
home: "/opt/tools/java/temurin/latest"
- name: "temurin-jdk23-latest"
home: "/opt/tools/java/temurin/jdk-23/latest"
- name: "temurin-jdk22-latest"
home: "/opt/tools/java/temurin/jdk-22/latest"
- name: "temurin-jdk21-latest"
Expand Down

0 comments on commit 621138b

Please sign in to comment.