From 42ecbcc1539de71549790af6dae7eb7d9456a43d Mon Sep 17 00:00:00 2001 From: Petru Cervac Date: Sun, 1 Jun 2025 20:56:02 +0300 Subject: [PATCH 1/2] feat: add zellij --- features/src/zellij/README.md | 13 +++++++++++++ features/src/zellij/devcontainer-feature.json | 6 ++++++ features/src/zellij/install.sh | 5 +++++ features/test/zellij/alpine.sh | 4 ++++ features/test/zellij/scenarios.json | 8 ++++++++ 5 files changed, 36 insertions(+) create mode 100644 features/src/zellij/README.md create mode 100644 features/src/zellij/devcontainer-feature.json create mode 100644 features/src/zellij/install.sh create mode 100644 features/test/zellij/alpine.sh create mode 100644 features/test/zellij/scenarios.json diff --git a/features/src/zellij/README.md b/features/src/zellij/README.md new file mode 100644 index 0000000..f059129 --- /dev/null +++ b/features/src/zellij/README.md @@ -0,0 +1,13 @@ +# tmux + +# + +```json +"features": { + "ghcr.io/bushero/devcontainers/features/tmux:1.0.0": {} +} +``` + +--- + +_Note: This file was auto-generated from the [devcontainer-feature.json](/features/src/tmux/devcontainer-feature.json). Add additional notes to a `Notes.md`._ diff --git a/features/src/zellij/devcontainer-feature.json b/features/src/zellij/devcontainer-feature.json new file mode 100644 index 0000000..2de2c18 --- /dev/null +++ b/features/src/zellij/devcontainer-feature.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://raw.githubusercontent.com/devcontainers/spec/main/schemas/devContainerFeature.schema.json", + "id": "tmux", + "version": "1.0.0", + "name": "tmux" +} diff --git a/features/src/zellij/install.sh b/features/src/zellij/install.sh new file mode 100644 index 0000000..e25621f --- /dev/null +++ b/features/src/zellij/install.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +apk update +apk upgrade +apk add zellij diff --git a/features/test/zellij/alpine.sh b/features/test/zellij/alpine.sh new file mode 100644 index 0000000..23c8ff5 --- /dev/null +++ b/features/test/zellij/alpine.sh @@ -0,0 +1,4 @@ +#!/bin/sh +set -e + +tmux -V diff --git a/features/test/zellij/scenarios.json b/features/test/zellij/scenarios.json new file mode 100644 index 0000000..5c52a1e --- /dev/null +++ b/features/test/zellij/scenarios.json @@ -0,0 +1,8 @@ +{ + "alpine": { + "image": "alpine:latest", + "features": { + "zellij": {} + } + } +} From 1f166c69b7580865f74ef6176966f6e75d902130 Mon Sep 17 00:00:00 2001 From: Petru Cervac Date: Sun, 1 Jun 2025 20:58:00 +0300 Subject: [PATCH 2/2] chore: fix test --- features/test/zellij/alpine.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/test/zellij/alpine.sh b/features/test/zellij/alpine.sh index 23c8ff5..d38a4a8 100644 --- a/features/test/zellij/alpine.sh +++ b/features/test/zellij/alpine.sh @@ -1,4 +1,4 @@ #!/bin/sh set -e -tmux -V +zellij --version