-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
67 lines (63 loc) · 2.03 KB
/
devfile.yaml
File metadata and controls
67 lines (63 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
schemaVersion: 2.2.0
metadata:
name: matthewbdowell
namespace: matthewbdowell-homepage
attributes:
controller.devfile.io/devworkspace-config:
name: devworkspace-config
namespace: eclipse-che
controller.devfile.io/storage-type: per-user
projects:
- git:
remotes:
origin: https://github.com/Mbd06b/matthewbdowell.git
name: matthewbdowell
components:
- name: tools
container:
image: harbor.ethosengine.com/devspaces/udi-plus:latest
memoryLimit: 4Gi
sourceMapping: /projects
env:
# Claude and general config
- name: CLAUDE_CONFIG_DIR
value: /projects/.claude-config
- name: USER
value: user
# Jenkins integration
- name: JENKINS_URL
value: "https://jenkins.ethosengine.com"
# SonarQube MCP configuration (SONARQUBE_TOKEN comes from K8s secret)
- name: STORAGE_PATH
value: /projects/.sonarqube-mcp
- name: SONARQUBE_URL
value: "https://sonarqube.ethosengine.com"
# Maven local repo under /projects (persistent source mapping)
- name: MAVEN_OPTS
value: "-Dmaven.repo.local=/projects/.m2/repository"
endpoints:
- name: debug
exposure: none
protocol: tcp
targetPort: 5005
- name: 8080-tcp
exposure: public
protocol: http
targetPort: 8080
commands:
- id: setup-vscode-cli
exec:
component: tools
commandLine: |
# Create VS Code CLI symlink (code-oss -> code)
mkdir -p /home/user/.local/bin
if [ -f /checode/checode-linux-libc/ubi9/bin/remote-cli/code-oss ]; then
ln -sf /checode/checode-linux-libc/ubi9/bin/remote-cli/code-oss /home/user/.local/bin/code
fi
# Link ~/.claude to persistent config dir for VS Code extension IDE detection
rm -rf /home/user/.claude 2>/dev/null || true
ln -sf "$CLAUDE_CONFIG_DIR" /home/user/.claude
mkdir -p /home/user/.claude/ide
#events:
# postStart:
# - setup-vscode-cli