From 6c21650debb5a3152b14c75d9aa19cf8a2760c79 Mon Sep 17 00:00:00 2001 From: hellt Date: Thu, 8 Jan 2026 21:05:43 +0100 Subject: [PATCH 01/19] use bookworm --- .devcontainer/Dockerfile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 7a62e74..90ab3c4 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,5 +1,5 @@ # ghcr.io/eda-labs/eda-devcontainer -FROM mcr.microsoft.com/devcontainers/base:ubuntu +FROM public.ecr.aws/docker/library/debian:bookworm-slim ARG EDA_VERSION=25.12.1 ARG EDA_PLAYGROUND_REPO=kaelemc/playground @@ -9,13 +9,21 @@ ENV EDA_VERSION=${EDA_VERSION//./-} ENV EDA_PLAYGROUND_REPO=$EDA_PLAYGROUND_REPO ENV EDA_PLAYGROUND_DIR=$EDA_PLAYGROUND_DIR -RUN apt-get update && apt-get install -y \ +RUN apt-get update && apt-get install --no-install-recommends -y \ make \ + git \ + ca-certificates \ curl \ jq \ btop \ + sudo \ && rm -rf /var/lib/apt/lists/* +RUN useradd -m -s /bin/zsh vscode && \ + usermod -aG sudo vscode && \ + echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/vscode && \ + chmod 0440 /etc/sudoers.d/vscode + COPY --chmod=755 scripts/ /usr/local/bin/. RUN curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash @@ -24,7 +32,7 @@ RUN echo "export PATH=$PATH:$EDA_PLAYGROUND_DIR/tools" >> /etc/profile USER vscode -RUN git clone "https://github.com/$EDA_PLAYGROUND_REPO" $EDA_PLAYGROUND_DIR && cd $EDA_PLAYGROUND_DIR && make download-tools +RUN git clone --depth 1 "https://github.com/$EDA_PLAYGROUND_REPO" $EDA_PLAYGROUND_DIR && cd $EDA_PLAYGROUND_DIR && make download-tools RUN curl -o $HOME/.bundle.yaml "https://raw.githubusercontent.com/nokia-eda/edaadm/refs/heads/main/bundles/eda-bundle-core-$EDA_VERSION.yaml" && \ $EDA_PLAYGROUND_DIR/tools/yq '.assets.registries[] | .name as $reg | .images[] | .name as $img | .tags[] | $reg + "/" + $img + ":" + .' $HOME/.bundle.yaml > $HOME/.images.txt \ No newline at end of file From f364a4831a26df83231dcd22e03cf22b6cf3612f Mon Sep 17 00:00:00 2001 From: hellt Date: Thu, 8 Jan 2026 21:29:04 +0100 Subject: [PATCH 02/19] added zsh and tools path to zsh --- .devcontainer/Dockerfile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 90ab3c4..bf807f2 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -9,7 +9,7 @@ ENV EDA_VERSION=${EDA_VERSION//./-} ENV EDA_PLAYGROUND_REPO=$EDA_PLAYGROUND_REPO ENV EDA_PLAYGROUND_DIR=$EDA_PLAYGROUND_DIR -RUN apt-get update && apt-get install --no-install-recommends -y \ +RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install --no-install-recommends -y \ make \ git \ ca-certificates \ @@ -17,18 +17,21 @@ RUN apt-get update && apt-get install --no-install-recommends -y \ jq \ btop \ sudo \ + zsh \ && rm -rf /var/lib/apt/lists/* RUN useradd -m -s /bin/zsh vscode && \ - usermod -aG sudo vscode && \ + groupadd -f docker && \ + usermod -aG sudo,docker vscode && \ echo "vscode ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers.d/vscode && \ chmod 0440 /etc/sudoers.d/vscode COPY --chmod=755 scripts/ /usr/local/bin/. -RUN curl -s https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | bash +RUN curl -fsSL --retry 3 https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.8.3 bash -RUN echo "export PATH=$PATH:$EDA_PLAYGROUND_DIR/tools" >> /etc/profile +# Add EDA Playground tools to PATH (zsh) +RUN echo 'export PATH="$PATH:$EDA_PLAYGROUND_DIR/tools"' >> /etc/zsh/zshrc USER vscode From f0a9852324e30a8e897f6f46e46c3a165407b627 Mon Sep 17 00:00:00 2001 From: hellt Date: Thu, 8 Jan 2026 21:49:49 +0100 Subject: [PATCH 03/19] rename base image --- .devcontainer/devcontainer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c1ac02d..cd74135 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Nokia EDA in GitHub Codespaces", - "image": "ghcr.io/eda-labs/eda-devcontainer:latest", + "image": "ghcr.io/eda-labs/codespaces-base:latest", "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": { "version": "latest", From cf65760b3b224557061243bf7f5f0e7d3a25cae2 Mon Sep 17 00:00:00 2001 From: Kaelem Chandra Date: Fri, 9 Jan 2026 18:49:36 +0800 Subject: [PATCH 04/19] Add the SRL image to the pre pull list --- .devcontainer/Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index bf807f2..e7b0769 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -38,4 +38,9 @@ USER vscode RUN git clone --depth 1 "https://github.com/$EDA_PLAYGROUND_REPO" $EDA_PLAYGROUND_DIR && cd $EDA_PLAYGROUND_DIR && make download-tools RUN curl -o $HOME/.bundle.yaml "https://raw.githubusercontent.com/nokia-eda/edaadm/refs/heads/main/bundles/eda-bundle-core-$EDA_VERSION.yaml" && \ - $EDA_PLAYGROUND_DIR/tools/yq '.assets.registries[] | .name as $reg | .images[] | .name as $img | .tags[] | $reg + "/" + $img + ":" + .' $HOME/.bundle.yaml > $HOME/.images.txt \ No newline at end of file + $EDA_PLAYGROUND_DIR/tools/yq '.assets.registries[] | .name as $reg | .images[] | .name as $img | .tags[] | $reg + "/" + $img + ":" + .' $HOME/.bundle.yaml > $HOME/.images.txt + +SHELL ["/bin/bash", "-c"] +RUN SRL=$(curl -s "https://raw.githubusercontent.com/nokia-eda/playground/refs/heads/main/topology/3-nodes-srl.yaml" | $EDA_PLAYGROUND_DIR/tools/yq '.spec.nodeTemplates | filter(.name == "default").[].nodeProfile'); \ + curl "https://raw.githubusercontent.com/nokia-eda/kpt/refs/heads/main/eda-kpt-playground/$SRL/engine_v1_nodeprofile_srlinux_${SRL//[^0-9.]/}.yaml" | \ + $EDA_PLAYGROUND_DIR/tools/yq '.spec.containerImage' >> $HOME/.images.txt \ No newline at end of file From 29af4bb2002bfbf85dffad31d960730b53ca0bc7 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 12:36:28 +0100 Subject: [PATCH 05/19] added build workflow --- .github/workflows/build-devcontainer.yml | 56 ++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .github/workflows/build-devcontainer.yml diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml new file mode 100644 index 0000000..24c8fbb --- /dev/null +++ b/.github/workflows/build-devcontainer.yml @@ -0,0 +1,56 @@ +name: Build Devcontainer Image + +on: + push: + branches: + - "*" + pull_request: + branches: + - "*" + release: + types: [published] + +env: + REGISTRY: ghcr.io + IMAGE_NAME: ghcr.io/eda-labs/codespaces-base + DOCKERFILE: .devcontainer/Dockerfile + +jobs: + build: + name: Build and Push + runs-on: ubuntu-24.04 + permissions: + contents: read + packages: write + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Log in to GHCR + uses: docker/login-action@v3 + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ secrets.GITHUB_TOKEN }} + + - name: Docker meta + id: meta + uses: docker/metadata-action@v5 + with: + images: | + ${{ env.TAG_PREFIX }} + tags: | + type=ref,event=branch + type=ref,event=tag + type=sha + + - name: Build and push image + uses: docker/build-push-action@v6 + with: + context: ${{ env.CONTEXT }} + file: ${{ env.DOCKERFILE }} + push: true + tags: ${{ steps.meta.outputs.tags }} From a00eaf4d3b19309c389ec43414cd531c1107a9e8 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 12:39:00 +0100 Subject: [PATCH 06/19] assuming context --- .github/workflows/build-devcontainer.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index 24c8fbb..b403ca8 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -2,8 +2,8 @@ name: Build Devcontainer Image on: push: - branches: - - "*" + # branches: + # - "*" pull_request: branches: - "*" @@ -50,7 +50,7 @@ jobs: - name: Build and push image uses: docker/build-push-action@v6 with: - context: ${{ env.CONTEXT }} + # context: ${{ env.CONTEXT }} file: ${{ env.DOCKERFILE }} push: true tags: ${{ steps.meta.outputs.tags }} From baa6ffc5e30079efbbf7f3136899c207d6989f7c Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 12:40:35 +0100 Subject: [PATCH 07/19] explicit context --- .github/workflows/build-devcontainer.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index b403ca8..67d27b0 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -1,9 +1,9 @@ name: Build Devcontainer Image on: - push: - # branches: - # - "*" + # push: + # branches: + # - "*" pull_request: branches: - "*" @@ -14,6 +14,7 @@ env: REGISTRY: ghcr.io IMAGE_NAME: ghcr.io/eda-labs/codespaces-base DOCKERFILE: .devcontainer/Dockerfile + CONTEXT: .devcontainer/ jobs: build: From 11d6b5d52b6d4a1a86d7b3b35834277738a755f0 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 12:42:12 +0100 Subject: [PATCH 08/19] im dumb --- .github/workflows/build-devcontainer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index 67d27b0..b826cb1 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -51,7 +51,7 @@ jobs: - name: Build and push image uses: docker/build-push-action@v6 with: - # context: ${{ env.CONTEXT }} + context: ${{ env.CONTEXT }} file: ${{ env.DOCKERFILE }} push: true tags: ${{ steps.meta.outputs.tags }} From 825765219d613cc88d05c83d2b1e57ba3b1a3be8 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 12:59:37 +0100 Subject: [PATCH 09/19] default perms --- .github/workflows/build-devcontainer.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index b826cb1..dcfa421 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -1,14 +1,11 @@ name: Build Devcontainer Image -on: - # push: - # branches: - # - "*" +"on": pull_request: - branches: - - "*" + workflow_dispatch: release: - types: [published] + types: + - published env: REGISTRY: ghcr.io @@ -20,9 +17,9 @@ jobs: build: name: Build and Push runs-on: ubuntu-24.04 - permissions: - contents: read - packages: write + # permissions: + # contents: read + # packages: write steps: - name: Checkout uses: actions/checkout@v4 From 6ca6008dacdb82a42ff1379b611d13f650385fcf Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 13:06:18 +0100 Subject: [PATCH 10/19] use image name --- .github/workflows/build-devcontainer.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index dcfa421..f6c9d8b 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -39,7 +39,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - ${{ env.TAG_PREFIX }} + ${{ env.IMAGE_NAME }} tags: | type=ref,event=branch type=ref,event=tag From 9e73098637a59de49cd89e0e13b190d099e69292 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 13:08:44 +0100 Subject: [PATCH 11/19] use perms --- .github/workflows/build-devcontainer.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index f6c9d8b..ba61bbc 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -17,9 +17,9 @@ jobs: build: name: Build and Push runs-on: ubuntu-24.04 - # permissions: - # contents: read - # packages: write + permissions: + contents: read + packages: write steps: - name: Checkout uses: actions/checkout@v4 From ee4e4313b36b6a9d5e6571a61e90ee2fc0dbb330 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 13:16:33 +0100 Subject: [PATCH 12/19] use repo image --- .github/workflows/build-devcontainer.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index ba61bbc..8850271 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -9,7 +9,7 @@ name: Build Devcontainer Image env: REGISTRY: ghcr.io - IMAGE_NAME: ghcr.io/eda-labs/codespaces-base + IMAGE_NAME: ghcr.io/eda-labs/codespaces/base DOCKERFILE: .devcontainer/Dockerfile CONTEXT: .devcontainer/ @@ -31,7 +31,7 @@ jobs: uses: docker/login-action@v3 with: registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} + username: ${{ github.repository_owner }} password: ${{ secrets.GITHUB_TOKEN }} - name: Docker meta From 78ec49aaf2a7f4bd70d492b51b7673044ae44261 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 13:21:45 +0100 Subject: [PATCH 13/19] use all ref tags --- .devcontainer/devcontainer.json | 2 +- .github/workflows/build-devcontainer.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index cd74135..0b669d0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,6 +1,6 @@ { "name": "Nokia EDA in GitHub Codespaces", - "image": "ghcr.io/eda-labs/codespaces-base:latest", + "image": "ghcr.io/eda-labs/codespaces/base:pr-1", "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": { "version": "latest", diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index 8850271..8cf7391 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -41,8 +41,7 @@ jobs: images: | ${{ env.IMAGE_NAME }} tags: | - type=ref,event=branch - type=ref,event=tag + type=ref type=sha - name: Build and push image From 218e7858f937f02109ddd05b3def89094929c605 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 13:24:39 +0100 Subject: [PATCH 14/19] sigh --- .github/workflows/build-devcontainer.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-devcontainer.yml b/.github/workflows/build-devcontainer.yml index 8cf7391..fb9d419 100644 --- a/.github/workflows/build-devcontainer.yml +++ b/.github/workflows/build-devcontainer.yml @@ -41,7 +41,9 @@ jobs: images: | ${{ env.IMAGE_NAME }} tags: | - type=ref + type=ref,event=branch + type=ref,event=pr + type=ref,event=tag type=sha - name: Build and push image From 20a04bb0dd3f83086e6174f91ff42d60edb92d62 Mon Sep 17 00:00:00 2001 From: Kaelem Chandra Date: Fri, 9 Jan 2026 21:38:55 +0800 Subject: [PATCH 15/19] Add custom kpt setters file invocation --- .devcontainer/postCreate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh index 3b3ae4e..bad82fb 100755 --- a/.devcontainer/postCreate.sh +++ b/.devcontainer/postCreate.sh @@ -5,6 +5,6 @@ cd $EDA_PLAYGROUND_DIR ensure-docker-is-ready -make try-eda NO_KIND=yes NO_LB=yes +make try-eda NO_KIND=yes NO_LB=yes KPT_SETTERS_FILE=$EDA_PLAYGROUND_DIR/configs/codespaces-4vcpu-kpt-setters.yaml make configure-codespaces-keycloak \ No newline at end of file From 4c4c8f8bb78fa60e0b316273a3455b30b61630f1 Mon Sep 17 00:00:00 2001 From: Kaelem Chandra Date: Fri, 9 Jan 2026 21:58:22 +0800 Subject: [PATCH 16/19] Remove duplicate keycloak config step after try-eda executes --- .devcontainer/postCreate.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh index bad82fb..7005e93 100755 --- a/.devcontainer/postCreate.sh +++ b/.devcontainer/postCreate.sh @@ -5,6 +5,4 @@ cd $EDA_PLAYGROUND_DIR ensure-docker-is-ready -make try-eda NO_KIND=yes NO_LB=yes KPT_SETTERS_FILE=$EDA_PLAYGROUND_DIR/configs/codespaces-4vcpu-kpt-setters.yaml - -make configure-codespaces-keycloak \ No newline at end of file +make try-eda NO_KIND=yes NO_LB=yes KPT_SETTERS_FILE=$EDA_PLAYGROUND_DIR/configs/codespaces-4vcpu-kpt-setters.yaml \ No newline at end of file From 0e9fe7984f485049ca4b63f732655ac06070ae66 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 16:53:57 +0100 Subject: [PATCH 17/19] host codespaces setters --- .devcontainer/Dockerfile | 1 + .../codespaces-4vcpu-kpt-setters.yaml | 30 +++++++++++++++++++ .devcontainer/postCreate.sh | 2 +- 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .devcontainer/codespaces-4vcpu-kpt-setters.yaml diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index e7b0769..3682412 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -27,6 +27,7 @@ RUN useradd -m -s /bin/zsh vscode && \ chmod 0440 /etc/sudoers.d/vscode COPY --chmod=755 scripts/ /usr/local/bin/. +COPY codespaces-4vcpu-kpt-setters.yaml /tmp/codespaces-4vcpu-kpt-setters.yaml RUN curl -fsSL --retry 3 https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.8.3 bash diff --git a/.devcontainer/codespaces-4vcpu-kpt-setters.yaml b/.devcontainer/codespaces-4vcpu-kpt-setters.yaml new file mode 100644 index 0000000..14e76ea --- /dev/null +++ b/.devcontainer/codespaces-4vcpu-kpt-setters.yaml @@ -0,0 +1,30 @@ +# This setters file is meant for use in codespaces (4vcpu) VMs +# to provide configuration for the EDA platform +# It is applied in the codespaces post-create script as an argument to `make try-eda. +apiVersion: v1 +kind: ConfigMap +metadata: + name: codespaces-4vcpu-apply-setter-fn-config +data: + # AI Engine + EAE_REQ_CPU: 10m + # Artifact server + ASVR_REQ_CPU: 10m + # Bootstrap server + BSVR_REQ_CPU: 10m + # EDA Cert Checker + ECC_REQ_CPU: 10m + # EDA Metrics Server + EMS_REQ_CPU: 10m + # Identity Server - Keycloak + KC_REQ_CPU: 10m + # Appstore Controller + ASC_REQ_CPU: 10m + # Identity Server Database - Postgres + PG_REQ_CPU: 10m + # Flow Engine + FE_REQ_CPU: 10m + # NPP + NPP_REQ_CPU: 10m + # TestMan + TM_REQ_CPU: 10m diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh index 7005e93..4dee861 100755 --- a/.devcontainer/postCreate.sh +++ b/.devcontainer/postCreate.sh @@ -5,4 +5,4 @@ cd $EDA_PLAYGROUND_DIR ensure-docker-is-ready -make try-eda NO_KIND=yes NO_LB=yes KPT_SETTERS_FILE=$EDA_PLAYGROUND_DIR/configs/codespaces-4vcpu-kpt-setters.yaml \ No newline at end of file +make try-eda NO_KIND=yes NO_LB=yes KPT_SETTERS_FILE=/tmp/codespaces-4vcpu-kpt-setters.yaml \ No newline at end of file From 253575df20969de02b0534d7c3a7460eb3ec1e0f Mon Sep 17 00:00:00 2001 From: Kaelem Chandra Date: Sat, 10 Jan 2026 00:03:06 +0800 Subject: [PATCH 18/19] Open EDA UI in new tab on port auto forward --- .devcontainer/devcontainer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 0b669d0..2c0d8a9 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -46,7 +46,8 @@ "portsAttributes": { "9443": { "protocol": "https", - "label": "EDA UI" + "label": "EDA UI", + "onAutoForward": "openBrowser" } }, "hostRequirements": { From feb60f95786b1d410c268f4b1440efd99a640980 Mon Sep 17 00:00:00 2001 From: hellt Date: Fri, 9 Jan 2026 17:11:52 +0100 Subject: [PATCH 19/19] use non tmp path --- .devcontainer/Dockerfile | 2 +- .devcontainer/postCreate.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 3682412..eb2238f 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -27,7 +27,7 @@ RUN useradd -m -s /bin/zsh vscode && \ chmod 0440 /etc/sudoers.d/vscode COPY --chmod=755 scripts/ /usr/local/bin/. -COPY codespaces-4vcpu-kpt-setters.yaml /tmp/codespaces-4vcpu-kpt-setters.yaml +COPY codespaces-4vcpu-kpt-setters.yaml /eda-codespaces/codespaces-4vcpu-kpt-setters.yaml RUN curl -fsSL --retry 3 https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=v5.8.3 bash diff --git a/.devcontainer/postCreate.sh b/.devcontainer/postCreate.sh index 4dee861..0f2a018 100755 --- a/.devcontainer/postCreate.sh +++ b/.devcontainer/postCreate.sh @@ -5,4 +5,4 @@ cd $EDA_PLAYGROUND_DIR ensure-docker-is-ready -make try-eda NO_KIND=yes NO_LB=yes KPT_SETTERS_FILE=/tmp/codespaces-4vcpu-kpt-setters.yaml \ No newline at end of file +make try-eda NO_KIND=yes NO_LB=yes KPT_SETTERS_FILE=/eda-codespaces/codespaces-4vcpu-kpt-setters.yaml \ No newline at end of file