From 0b2affe9e5a020a8dd5de55c1ea8e6f55be9809e Mon Sep 17 00:00:00 2001 From: Anurag Mittal Date: Wed, 13 Nov 2024 11:43:53 +0000 Subject: [PATCH] updated dev container --- .devcontainer/devcontainer.json | 20 +++++++++++++++++++- .github/scripts/setup_cosi_resources.sh | 2 +- 2 files changed, 20 insertions(+), 2 deletions(-) mode change 100644 => 100755 .github/scripts/setup_cosi_resources.sh diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 4d62ce7a..2f36b76d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -34,9 +34,27 @@ } } } + }, + "vscode": { + "extensions": [ + "github.codespaces", + "github.copilot", + "github.copilot-chat", + "github.vscode-github-actions", + "bat67.markdown-extension-pack", + "bracketpaircolordlw.bracket-pair-color-dlw", + "eamodio.gitlens", + "golang.go", + "ms-vscode.makefile-tools", + "onsi.vscode-ginkgo", + "redhat.vscode-yaml", + "streetsidesoftware.code-spell-checker", + "visualstudioexptteam.vscodeintellicode", + "wayou.vscode-todo-highlight", + ] } }, "postCreateCommand": "bash .devcontainer/setup-dev-container.sh" // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "root" - } +} diff --git a/.github/scripts/setup_cosi_resources.sh b/.github/scripts/setup_cosi_resources.sh old mode 100644 new mode 100755 index 71f56499..21f6dd0f --- a/.github/scripts/setup_cosi_resources.sh +++ b/.github/scripts/setup_cosi_resources.sh @@ -54,7 +54,7 @@ fi # Step 6: Verify COSI driver Pod Status log_and_run echo "Verifying COSI driver Pod status..." -if ! kubectl wait --namespace scality-object-storage --for=condition=ready pod --selector=app.kubernetes.io/name=scality-cosi-driver --timeout=20s; then +if ! kubectl wait --namespace scality-object-storage --for=condition=ready pod --selector=app.kubernetes.io/name=scality-cosi-driver --timeout=30s; then echo "Error: COSI driver Pod did not reach ready state." | tee -a "$LOG_FILE" exit 1 fi