diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile deleted file mode 100644 index adabb2f..0000000 --- a/.devcontainer/Dockerfile +++ /dev/null @@ -1 +0,0 @@ -FROM mcr.microsoft.com/devcontainers/base:bookworm@sha256:da67c59f82e057e0ccb81ec7d13fb50464c26f477638018e6de1b2623a008a3a diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index 92b21a2..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "build": { - "dockerfile": "Dockerfile", - "cacheFrom": "ghcr.io/nikobockerman/devcontainer-features-devcontainer:cache" - }, - "features": { - "ghcr.io/devcontainers/features/docker-in-docker:2": {}, - "ghcr.io/devcontainers/features/node:1.6.2": { - "version": "22.16.0", - "installYarnUsingApt": false - }, - "ghcr.io/marcozac/devcontainer-features/shellcheck:1": {}, - "ghcr.io/nikobockerman/devcontainer-features/yarn-persistent-cache:1": {} - }, - "containerEnv": { - "COREPACK_ENABLE_DOWNLOAD_PROMPT": "0" - }, - "onCreateCommand": "yarn && yarn dlx @yarnpkg/sdks vscode", - "updateContentCommand": "yarn", - "customizations": { - "vscode": { - "settings": { - "json.schemas": [ - { - "fileMatch": ["*/devcontainer-feature.json"], - "url": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json" - } - ] - }, - "extensions": [ - "arcanis.vscode-zipfs", - "editorconfig.editorconfig", - "esbenp.prettier-vscode", - "github.vscode-github-actions", - "mads-hartmann.bash-ide-vscode", - "ms-azuretools.vscode-docker" - ] - } - } -} diff --git a/.github/workflows/check-devcontainer.yaml b/.github/workflows/check-devcontainer.yaml deleted file mode 100644 index 6187e49..0000000 --- a/.github/workflows/check-devcontainer.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: Check - Devcontainer -on: - pull_request: - paths: - - ".devcontainer/**" - - ".github/workflows/check-devcontainer.yaml" - - "package.json" - - "yarn.lock" - - "src/**" - - "!src/**/README.md" - - "!src/**/NOTES.md" - - "test/**" - workflow_call: - workflow_dispatch: -permissions: - contents: read - -jobs: - wf: - uses: nikobockerman/github-workflows/.github/workflows/check-devcontainer.yaml@cc3e3fdec0b2379e550c1ea4059cb79f455ff668 - with: - runCmd: | - for feature in $(ls src); do - echo "Checking $feature" - yarn exec devcontainer features test -f "$feature" -i "mcr.microsoft.com/devcontainers/base:debian" . - done diff --git a/.github/workflows/ci-cd.yaml b/.github/workflows/ci-cd.yaml index 6561e9c..662a989 100644 --- a/.github/workflows/ci-cd.yaml +++ b/.github/workflows/ci-cd.yaml @@ -9,13 +9,7 @@ on: workflow_dispatch: permissions: contents: read - packages: write jobs: ci: uses: ./.github/workflows/ci.yaml - deploy-devcontainer-cache: - needs: ci - uses: nikobockerman/github-workflows/.github/workflows/devcontainer-cache.yaml@cc3e3fdec0b2379e550c1ea4059cb79f455ff668 - with: - cache-type: final diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fd8dfda..9720902 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -27,14 +27,3 @@ jobs: uses: nikobockerman/github-workflows/.github/workflows/check-yarn.yaml@cc3e3fdec0b2379e550c1ea4059cb79f455ff668 test-features: uses: ./.github/workflows/test-features.yaml - - prebuild-devcontainer: - uses: nikobockerman/github-workflows/.github/workflows/devcontainer-cache.yaml@cc3e3fdec0b2379e550c1ea4059cb79f455ff668 - permissions: - contents: read - packages: write - with: - cache-type: intermediate - check-devcontainer: - needs: prebuild-devcontainer - uses: ./.github/workflows/check-devcontainer.yaml diff --git a/.vscode/extensions.json b/.vscode/extensions.json index c615424..4025079 100644 --- a/.vscode/extensions.json +++ b/.vscode/extensions.json @@ -4,7 +4,6 @@ "editorconfig.editorconfig", "esbenp.prettier-vscode", "github.vscode-github-actions", - "ms-azuretools.vscode-docker", "mads-hartmann.bash-ide-vscode" ] }