File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,14 @@ yq e -i ".observability.logLevel = \"debug\"" config.yaml
86
86
yq e -i ' .workspace.runtime.containerdSocket = "/run/k3s/containerd/containerd.sock"' config.yaml
87
87
yq e -i ' .workspace.runtime.containerdRuntimeDir = "/var/lib/rancher/k3s/agent/containerd/io.containerd.runtime.v2.task/k8s.io/"' config.yaml
88
88
89
+ echo " extracting images to download ahead..."
90
+ /gitpod-installer render --config config.yaml | grep ' image:' | sed ' s/ *//g' | sed ' s/image://g' | sed ' s/\"//g' | sed ' s/^-//g' | sort | uniq > /gitpod-images.txt
91
+ echo " downloading images..."
92
+ cat /gitpod-images.txt | while read image
93
+ do
94
+ ctr images pull $image & > /dev/null &
95
+ done
96
+
89
97
/gitpod-installer render --config config.yaml --output-split-files /var/lib/rancher/k3s/server/manifests/gitpod
90
98
for f in /var/lib/rancher/k3s/server/manifests/gitpod/* .yaml; do (cat " $f " ; echo) >> /var/lib/rancher/k3s/server/gitpod.debug; done
91
99
rm /var/lib/rancher/k3s/server/manifests/gitpod/* NetworkPolicy*
You can’t perform that action at this time.
0 commit comments