Skip to content

Commit 50a40d4

Browse files
committed
f
1 parent ec2424a commit 50a40d4

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

β€Žcontainer_images/buildah/Dockerfileβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ RUN touch /etc/subgid /etc/subuid \
77

88
ENV BUILDAH_ISOLATION=chroot
99

10+
ARG BENTO_USER=bentoml
11+
ARG BENTO_USER_UID=1034
12+
ARG BENTO_USER_GID=1034
13+
RUN groupadd -g $BENTO_USER_GID -o $BENTO_USER && useradd -m -u $BENTO_USER_UID -g $BENTO_USER_GID -o -r $BENTO_USER
14+
1015
USER build
1116
WORKDIR /home/build
1217

β€Žtests/e2e/installation_test.shβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
set -xe
44

5-
kubectl create ns yatai-system
6-
kubectl create ns yatai-image-builder
5+
kubectl create ns yatai-system || true
6+
kubectl create ns yatai-image-builder || true
77
kubectl create ns yatai || true
88

99
echo "πŸš€ Creating AWS Secret Access Key..."
10-
kubectl create secret generic aws-secret-access-key --from-literal=AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} --namespace yatai-image-builder
10+
kubectl create secret generic aws-secret-access-key --from-literal=AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} --namespace yatai-image-builder || true
1111
echo "πŸš€ Installing yatai-image-builder..."
1212
YATAI_ENDPOINT='empty' USE_LOCAL_HELM_CHART=true UPGRADE_CRDS=false AWS_SECRET_ACCESS_KEY_EXISTING_SECRET_NAME=aws-secret-access-key AWS_SECRET_ACCESS_KEY_EXISTING_SECRET_KEY=AWS_SECRET_ACCESS_KEY bash ./scripts/quick-install-yatai-image-builder.sh
1313
echo "yatai-image-builder helm release values:"

0 commit comments

Comments
Β (0)