-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: standardize direnv feature * chore: standardize kubectx-kubens feature
- Loading branch information
1 parent
9c1e139
commit 0c1d2bd
Showing
11 changed files
with
61 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,20 @@ | ||
{ | ||
"id": "direnv", | ||
"version": "1.0.6", | ||
"name": "Direnv (via Github Releases)", | ||
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/direnv", | ||
"description": "direnv is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory.", | ||
"options": { | ||
"version": { | ||
"default": "latest", | ||
"description": "Select the version to install.", | ||
"proposals": ["latest"], | ||
"type": "string" | ||
} | ||
}, | ||
"installsAfter": ["ghcr.io/devcontainers-contrib/features/gh-release"] | ||
} | ||
"id": "direnv", | ||
"version": "1.0.0", | ||
"name": "Direnv (via Github Releases)", | ||
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/direnv", | ||
"description": "direnv is an extension for your shell. It augments existing shells with a new feature that can load and unload environment variables depending on the current directory.", | ||
"options": { | ||
"version": { | ||
"default": "latest", | ||
"description": "Select the version to install.", | ||
"proposals": [ | ||
"latest" | ||
], | ||
"type": "string" | ||
} | ||
}, | ||
"installsAfter": [ | ||
"ghcr.io/devcontainers-contrib/features/gh-release" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
{ | ||
"name": "Kubectx and Kubens (via Github Releases)", | ||
"id": "kubectx-kubens", | ||
"version": "1.0.3", | ||
"name": "Kubectx and Kubens (via Github Releases)", | ||
"documentationURL": "http://github.com/devcontainers-contrib/features/tree/main/src/kubectx-kubens", | ||
"description": "kubectx is a tool to switch between contexts (clusters) on kubectl faster. kubens is a tool to switch between Kubernetes namespaces (and configure them for kubectl) easily.", | ||
"documentationURL": "https://github.com/devcontainers-contrib/features/tree/main/src/kubectx-kubens", | ||
"installsAfter": [ | ||
"ghcr.io/devcontainers/features/kubectl-helm-minikube:latest" | ||
], | ||
"options": { | ||
"version": { | ||
"type": "string", | ||
"default": "latest", | ||
"description": "Select the version you would like to install (will apply for for both kubectx and kubens.)", | ||
"proposals": [ | ||
"latest", | ||
"0.9.4" | ||
], | ||
"default": "latest", | ||
"description": "Select the version you would like to install (will apply for for both kubectx and kubens.)" | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"installsAfter": [ | ||
"ghcr.io/devcontainers-contrib/features/gh-release" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
test/direnv/test.sh → test/direnv/test_defaults_debian.sh
100644 → 100755
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
#!/bin/bash | ||
#!/bin/bash -i | ||
|
||
set -e | ||
|
||
source dev-container-features-test-lib | ||
|
||
# we are simply checking version for now. | ||
# full operability depends on the existance of kubectl. | ||
check "kubectx version" kubectx --version | ||
check "kubens version" kubens --version | ||
check "kubectx --version" kubectx --version | ||
|
||
check "kubens --version" kubens --version | ||
|
||
reportResults |