-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevfile.yaml
More file actions
61 lines (61 loc) · 1.71 KB
/
Copy pathdevfile.yaml
File metadata and controls
61 lines (61 loc) · 1.71 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
---
# cspell: disable=devspaces
schemaVersion: 2.2.2
metadata:
name: openshift-virtualization-migration-ees
components:
- name: tooling-container
container:
image: ghcr.io/ansible/ansible-devspaces:v25.2.1
memoryRequest: 256M
memoryLimit: 6Gi
cpuRequest: 250m
cpuLimit: 2000m
args: ["tail", "-f", "/dev/null"]
env:
- name: "ANSIBLE_COLLECTIONS_PATH"
value: "~/.ansible/collections:/usr/share/ansible/collections"
- name: KUBEDOCK_ENABLED
value: "true"
- name: PS1
value: PS1='[\u@\h \W$(__git_ps1 " (%s)")]\$ '
commands:
- id: git-prompt
exec:
commandLine: 'source /usr/share/doc/git/contrib/completion/git-prompt.sh'
workingDir: ${PROJECT_SOURCE}
group:
kind: build
isDefault: true
component: tooling-container
- id: git-completion
exec:
commandLine: 'source /usr/share/doc/git/contrib/completion/git-completion.bash'
workingDir: ${PROJECT_SOURCE}
group:
kind: build
isDefault: true
component: tooling-container
- id: git-prompt-env
exec:
commandLine: 'echo "source /usr/share/doc/git/contrib/completion/git-prompt.sh">> ~/.bashrc'
workingDir: ${PROJECT_SOURCE}
group:
kind: build
isDefault: true
component: tooling-container
- id: git-completion-env
exec:
commandLine: 'echo "source /usr/share/doc/git/contrib/completion/git-completion.bash">> ~/.bashrc'
workingDir: ${PROJECT_SOURCE}
group:
kind: build
isDefault: true
component: tooling-container
events:
postStart:
- "git-prompt"
- "git-prompt-env"
- "git-completion"
- "git-completion-env"
...