Skip to content

Commit 85274ef

Browse files
authored
[image-builder-bob] build to latest buildkit fork (#19383)
Also, drive-by changes to fix linter issues for preview scripts
1 parent ae9ab40 commit 85274ef

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

components/image-builder-bob/leeway.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Licensed under the GNU Affero General Public License (AGPL).
33
# See License.AGPL.txt in the project root for license information.
44

5-
FROM eu.gcr.io/gitpod-core-dev/build/buildkit:v0.12.2-gitpod.1
5+
FROM eu.gcr.io/gitpod-core-dev/build/buildkit:v0.12.5-gitpod.0
66

77
USER root
88
RUN apk --no-cache add sudo bash \

dev/preview/infrastructure/scripts/bootstrap-k3s.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ export INSTALL_K3S_SKIP_DOWNLOAD=true
2626
# failing occasionally. Sleeping for a bit solves it.
2727
sleep 10
2828

29+
# shellcheck disable=SC2154
30+
# shellcheck disable=SC2086
2931
kubectl label nodes ${vm_name} \
3032
gitpod.io/workload_meta=true \
3133
gitpod.io/workload_ide=true \
@@ -39,10 +41,13 @@ kubectl label nodes ${vm_name} \
3941

4042
# apply fix from https://github.com/k3s-io/klipper-lb/issues/6 so we can use the klipper servicelb
4143
# this can be removed if https://github.com/gitpod-io/gitpod-packer-gcp-image/pull/20 gets merged
44+
# shellcheck disable=SC2002
45+
# shellcheck disable=SC1001
4246
cat /var/lib/gitpod/manifests/calico.yaml | sed s/__KUBERNETES_NODE_NAME__\"\,/__KUBERNETES_NODE_NAME__\",\ \"container_settings\"\:\ \{\ \"allow_ip_forwarding\"\:\ true\ \}\,/ >/var/lib/gitpod/manifests/calico2.yaml
4347

4448
sed -i 's/docker.io/quay.io/g' /var/lib/gitpod/manifests/calico2.yaml
4549
sed -i 's/interface=ens/interface=en/g' /var/lib/gitpod/manifests/calico2.yaml
50+
# shellcheck disable=SC2016
4651
sed -i 's/\$CLUSTER_IP_RANGE/10.20.0.0\/16/g' /var/lib/gitpod/manifests/calico2.yaml
4752

4853
kubectl apply -f /var/lib/gitpod/manifests/calico2.yaml

0 commit comments

Comments
 (0)