-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgoss.yaml
More file actions
86 lines (80 loc) · 2.44 KB
/
Copy pathgoss.yaml
File metadata and controls
86 lines (80 loc) · 2.44 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
user:
rstudio-pm:
exists: true
uid: {{ if eq .Env.IMAGE_OS_FAMILY "rhel" }}998{{ else }}999{{ end }}
gid: {{ if eq .Env.IMAGE_OS_FAMILY "rhel" }}997{{ else }}999{{ end }}
group:
rstudio-pm:
exists: true
gid: {{ if eq .Env.IMAGE_OS_FAMILY "rhel" }}997{{ else }}999{{ end }}
package:
rstudio-pm:
installed: true
{{ $apt_package_list_path := printf "/tmp/version/deps/%s-%s_packages.txt" (toLower .Env.IMAGE_OS_NAME) .Env.IMAGE_OS_VERSION }}
{{ $apt_package_list := readFile $apt_package_list_path | splitList "\n" }}
{{- range $apt_package_list }}
{{ . }}:
installed: true
{{ end }}
process:
rstudio-pm:
running: true
skip: {{ if eq .Env.IMAGE_VARIANT "Minimal" }}true{{ else }}false{{ end }}
port:
tcp6:4242:
listening: true
skip: {{ if eq .Env.IMAGE_VARIANT "Minimal" }}true{{ else }}false{{ end }}
file:
/etc/rstudio-pm/license.lic:
# Currently does not exist
# Be sure it is NOT a directory
exists: false
/opt/rstudio-pm/:
exists: true
/opt/rstudio-pm/bin/rstudio-pm:
exists: true
/opt/rstudio-pm/bin/rspm:
exists: true
/usr/local/bin/rspm:
exists: true
{{ if eq .Env.IMAGE_VARIANT "Standard" }}
/var/log/rstudio/rstudio-pm/rstudio-pm.log:
exists: true
filetype: file
contents:
- "Posit Package Manager service is ready"
{{ end }}
# Check for R installation
/opt/R/4.6.0/bin/R:
exists: {{ if eq .Env.IMAGE_VARIANT "Standard" }}true{{ else }}false{{ end }}
filetype: file
# Check for Python installation
/opt/python/3.14.5/bin/python:
exists: {{ if eq .Env.IMAGE_VARIANT "Standard" }}true{{ else }}false{{ end }}
/etc/rstudio-pm/rstudio-pm.gcfg:
exists: true
filetype: file
{{ if eq .Env.IMAGE_VARIANT "Standard" }}
contents:
- RVersion = /opt/R/4.6.0
- PythonVersion = /opt/python/3.14.5/bin/python
- "AllowUnsandboxedGitBuilds = true"
{{ end }}
command:
"Ensure Package Manager version is correct":
exec: /opt/rstudio-pm/bin/rstudio-pm --version
exit-status: 0
stdout:
- "2026.05.0"
"Ensure R version is correct":
exec: /opt/R/4.6.0/bin/R --version
exit-status: 0
stdout:
- "4.6.0"
skip: {{ if eq .Env.IMAGE_VARIANT "Minimal" }}true{{ else }}false{{ end }}
"Ensure Python version is correct":
exec: /opt/python/3.14.5/bin/python --version
exit-status: 0
stdout:
- "3.14.5"
skip: {{ if eq .Env.IMAGE_VARIANT "Minimal" }}true{{ else }}false{{ end }}