diff options
-rw-r--r-- | .github/workflows/test.yaml | 4 | ||||
-rw-r--r-- | collection/dotnet/test.sh | 9 | ||||
-rw-r--r-- | collection/go/test.sh | 7 | ||||
-rw-r--r-- | dev-containers-cli-0.1.0.tgz | bin | 262411 -> 263276 bytes | |||
-rw-r--r-- | src/anaconda/feature.json (renamed from collection/anaconda/feature.json) | 0 | ||||
-rw-r--r-- | src/anaconda/install.sh (renamed from collection/anaconda/install.sh) | 0 | ||||
-rw-r--r-- | src/aws-cli/feature.json (renamed from collection/aws-cli/feature.json) | 0 | ||||
-rw-r--r-- | src/aws-cli/install.sh (renamed from collection/aws-cli/install.sh) | 0 | ||||
-rw-r--r-- | src/azure-cli/feature.json (renamed from collection/azure-cli/feature.json) | 0 | ||||
-rw-r--r-- | src/azure-cli/install.sh (renamed from collection/azure-cli/install.sh) | 0 | ||||
-rw-r--r-- | src/common/feature.json (renamed from collection/common/feature.json) | 0 | ||||
-rw-r--r-- | src/common/install.sh (renamed from collection/common/install.sh) | 0 | ||||
-rw-r--r-- | src/desktop-lite/feature.json (renamed from collection/desktop-lite/feature.json) | 0 | ||||
-rw-r--r-- | src/desktop-lite/install.sh (renamed from collection/desktop-lite/install.sh) | 0 | ||||
-rw-r--r-- | src/docker-from-docker/feature.json (renamed from collection/docker-from-docker/feature.json) | 0 | ||||
-rw-r--r-- | src/docker-from-docker/install.sh (renamed from collection/docker-from-docker/install.sh) | 0 | ||||
-rw-r--r-- | src/docker-in-docker/feature.json (renamed from collection/docker-in-docker/feature.json) | 0 | ||||
-rw-r--r-- | src/docker-in-docker/install.sh (renamed from collection/docker-in-docker/install.sh) | 0 | ||||
-rw-r--r-- | src/dotnet/feature.json (renamed from collection/dotnet/feature.json) | 0 | ||||
-rw-r--r-- | src/dotnet/install.sh (renamed from collection/dotnet/install.sh) | 0 | ||||
-rw-r--r-- | src/git-lfs/feature.json (renamed from collection/git-lfs/feature.json) | 0 | ||||
-rw-r--r-- | src/git-lfs/install.sh (renamed from collection/git-lfs/install.sh) | 0 | ||||
-rw-r--r-- | src/git/feature.json (renamed from collection/git/feature.json) | 0 | ||||
-rw-r--r-- | src/git/install.sh (renamed from collection/git/install.sh) | 0 | ||||
-rw-r--r-- | src/github-cli/feature.json (renamed from collection/github-cli/feature.json) | 0 | ||||
-rw-r--r-- | src/github-cli/install.sh (renamed from collection/github-cli/install.sh) | 0 | ||||
-rw-r--r-- | src/go/feature.json (renamed from collection/go/feature.json) | 0 | ||||
-rw-r--r-- | src/go/install.sh (renamed from collection/go/install.sh) | 0 | ||||
-rw-r--r-- | src/gradle/feature.json (renamed from collection/gradle/feature.json) | 0 | ||||
-rw-r--r-- | src/gradle/install.sh (renamed from collection/gradle/install.sh) | 0 | ||||
-rw-r--r-- | src/hugo/feature.json (renamed from collection/hugo/feature.json) | 0 | ||||
-rw-r--r-- | src/hugo/install.sh (renamed from collection/hugo/install.sh) | 0 | ||||
-rw-r--r-- | src/java/feature.json (renamed from collection/java/feature.json) | 0 | ||||
-rw-r--r-- | src/java/install.sh (renamed from collection/java/install.sh) | 0 | ||||
-rw-r--r-- | src/java/wrapper.sh (renamed from collection/java/wrapper.sh) | 0 | ||||
-rw-r--r-- | src/jekyll/feature.json (renamed from collection/jekyll/feature.json) | 0 | ||||
-rw-r--r-- | src/jekyll/install.sh (renamed from collection/jekyll/install.sh) | 0 | ||||
-rw-r--r-- | src/jupyterlab/feature.json (renamed from collection/jupyterlab/feature.json) | 0 | ||||
-rw-r--r-- | src/jupyterlab/install.sh (renamed from collection/jupyterlab/install.sh) | 0 | ||||
-rw-r--r-- | src/kubectl-helm-minikube/feature.json (renamed from collection/kubectl-helm-minikube/feature.json) | 0 | ||||
-rw-r--r-- | src/kubectl-helm-minikube/install.sh (renamed from collection/kubectl-helm-minikube/install.sh) | 0 | ||||
-rw-r--r-- | src/maven/feature.json (renamed from collection/maven/feature.json) | 0 | ||||
-rw-r--r-- | src/maven/install.sh (renamed from collection/maven/install.sh) | 0 | ||||
-rw-r--r-- | src/node/feature.json (renamed from collection/node/feature.json) | 0 | ||||
-rw-r--r-- | src/node/install.sh (renamed from collection/node/install.sh) | 0 | ||||
-rw-r--r-- | src/powershell/feature.json (renamed from collection/powershell/feature.json) | 0 | ||||
-rw-r--r-- | src/powershell/install.sh (renamed from collection/powershell/install.sh) | 0 | ||||
-rw-r--r-- | src/python/feature.json (renamed from collection/python/feature.json) | 0 | ||||
-rw-r--r-- | src/python/install.sh (renamed from collection/python/install.sh) | 0 | ||||
-rw-r--r-- | src/ruby/feature.json (renamed from collection/ruby/feature.json) | 0 | ||||
-rw-r--r-- | src/ruby/install.sh (renamed from collection/ruby/install.sh) | 0 | ||||
-rw-r--r-- | src/rust/feature.json (renamed from collection/rust/feature.json) | 0 | ||||
-rw-r--r-- | src/rust/install.sh (renamed from collection/rust/install.sh) | 0 | ||||
-rw-r--r-- | src/sshd/feature.json (renamed from collection/sshd/feature.json) | 0 | ||||
-rw-r--r-- | src/sshd/install.sh (renamed from collection/sshd/install.sh) | 0 | ||||
-rw-r--r-- | src/terraform/feature.json (renamed from collection/terraform/feature.json) | 0 | ||||
-rw-r--r-- | src/terraform/install.sh (renamed from collection/terraform/install.sh) | 0 | ||||
-rw-r--r-- | test/dotnet/test.sh | 13 | ||||
-rw-r--r-- | test/go/test.sh | 11 |
59 files changed, 26 insertions, 18 deletions
diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index b4ffad7..81c4203 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,5 +16,5 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Invoke CLI testing ${{ matrix.features }} against ${{ matrix.baseImage }} - run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -c `pwd`/collection -f ${{ matrix.features }} + - name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'" + run: npx --yes ./dev-containers-cli-0.1.0.tgz features-test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -d `pwd` diff --git a/collection/dotnet/test.sh b/collection/dotnet/test.sh deleted file mode 100644 index cdaa50a..0000000 --- a/collection/dotnet/test.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/bash - -set -e - -echo 'Testing dotnet!' - -dotnet --list-sdks - -echo 'Done!'
\ No newline at end of file diff --git a/collection/go/test.sh b/collection/go/test.sh deleted file mode 100644 index a2c26b6..0000000 --- a/collection/go/test.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -set -e - -go version - -echo 'Done!'
\ No newline at end of file diff --git a/dev-containers-cli-0.1.0.tgz b/dev-containers-cli-0.1.0.tgz Binary files differindex 1315751..f086a56 100644 --- a/dev-containers-cli-0.1.0.tgz +++ b/dev-containers-cli-0.1.0.tgz diff --git a/collection/anaconda/feature.json b/src/anaconda/feature.json index 7af90cd..7af90cd 100644 --- a/collection/anaconda/feature.json +++ b/src/anaconda/feature.json diff --git a/collection/anaconda/install.sh b/src/anaconda/install.sh index c77d98d..c77d98d 100644 --- a/collection/anaconda/install.sh +++ b/src/anaconda/install.sh diff --git a/collection/aws-cli/feature.json b/src/aws-cli/feature.json index ee1df10..ee1df10 100644 --- a/collection/aws-cli/feature.json +++ b/src/aws-cli/feature.json diff --git a/collection/aws-cli/install.sh b/src/aws-cli/install.sh index 0d204de..0d204de 100644 --- a/collection/aws-cli/install.sh +++ b/src/aws-cli/install.sh diff --git a/collection/azure-cli/feature.json b/src/azure-cli/feature.json index 6ae3769..6ae3769 100644 --- a/collection/azure-cli/feature.json +++ b/src/azure-cli/feature.json diff --git a/collection/azure-cli/install.sh b/src/azure-cli/install.sh index a7f2a84..a7f2a84 100644 --- a/collection/azure-cli/install.sh +++ b/src/azure-cli/install.sh diff --git a/collection/common/feature.json b/src/common/feature.json index d6b94f2..d6b94f2 100644 --- a/collection/common/feature.json +++ b/src/common/feature.json diff --git a/collection/common/install.sh b/src/common/install.sh index af4facc..af4facc 100644 --- a/collection/common/install.sh +++ b/src/common/install.sh diff --git a/collection/desktop-lite/feature.json b/src/desktop-lite/feature.json index 4ad8b8d..4ad8b8d 100644 --- a/collection/desktop-lite/feature.json +++ b/src/desktop-lite/feature.json diff --git a/collection/desktop-lite/install.sh b/src/desktop-lite/install.sh index aeddac3..aeddac3 100644 --- a/collection/desktop-lite/install.sh +++ b/src/desktop-lite/install.sh diff --git a/collection/docker-from-docker/feature.json b/src/docker-from-docker/feature.json index c7d684e..c7d684e 100644 --- a/collection/docker-from-docker/feature.json +++ b/src/docker-from-docker/feature.json diff --git a/collection/docker-from-docker/install.sh b/src/docker-from-docker/install.sh index 1102ae9..1102ae9 100644 --- a/collection/docker-from-docker/install.sh +++ b/src/docker-from-docker/install.sh diff --git a/collection/docker-in-docker/feature.json b/src/docker-in-docker/feature.json index 0eaaa80..0eaaa80 100644 --- a/collection/docker-in-docker/feature.json +++ b/src/docker-in-docker/feature.json diff --git a/collection/docker-in-docker/install.sh b/src/docker-in-docker/install.sh index a525203..a525203 100644 --- a/collection/docker-in-docker/install.sh +++ b/src/docker-in-docker/install.sh diff --git a/collection/dotnet/feature.json b/src/dotnet/feature.json index b49e613..b49e613 100644 --- a/collection/dotnet/feature.json +++ b/src/dotnet/feature.json diff --git a/collection/dotnet/install.sh b/src/dotnet/install.sh index f560186..f560186 100644 --- a/collection/dotnet/install.sh +++ b/src/dotnet/install.sh diff --git a/collection/git-lfs/feature.json b/src/git-lfs/feature.json index 4fa33c5..4fa33c5 100644 --- a/collection/git-lfs/feature.json +++ b/src/git-lfs/feature.json diff --git a/collection/git-lfs/install.sh b/src/git-lfs/install.sh index dd9e702..dd9e702 100644 --- a/collection/git-lfs/install.sh +++ b/src/git-lfs/install.sh diff --git a/collection/git/feature.json b/src/git/feature.json index 6d9686b..6d9686b 100644 --- a/collection/git/feature.json +++ b/src/git/feature.json diff --git a/collection/git/install.sh b/src/git/install.sh index 6900897..6900897 100644 --- a/collection/git/install.sh +++ b/src/git/install.sh diff --git a/collection/github-cli/feature.json b/src/github-cli/feature.json index 03f07cf..03f07cf 100644 --- a/collection/github-cli/feature.json +++ b/src/github-cli/feature.json diff --git a/collection/github-cli/install.sh b/src/github-cli/install.sh index 01ad4d4..01ad4d4 100644 --- a/collection/github-cli/install.sh +++ b/src/github-cli/install.sh diff --git a/collection/go/feature.json b/src/go/feature.json index 0f8c6db..0f8c6db 100644 --- a/collection/go/feature.json +++ b/src/go/feature.json diff --git a/collection/go/install.sh b/src/go/install.sh index 47ab299..47ab299 100644 --- a/collection/go/install.sh +++ b/src/go/install.sh diff --git a/collection/gradle/feature.json b/src/gradle/feature.json index 3a393b9..3a393b9 100644 --- a/collection/gradle/feature.json +++ b/src/gradle/feature.json diff --git a/collection/gradle/install.sh b/src/gradle/install.sh index 2fe7fa9..2fe7fa9 100644 --- a/collection/gradle/install.sh +++ b/src/gradle/install.sh diff --git a/collection/hugo/feature.json b/src/hugo/feature.json index 0b91ac1..0b91ac1 100644 --- a/collection/hugo/feature.json +++ b/src/hugo/feature.json diff --git a/collection/hugo/install.sh b/src/hugo/install.sh index 3913c7a..3913c7a 100644 --- a/collection/hugo/install.sh +++ b/src/hugo/install.sh diff --git a/collection/java/feature.json b/src/java/feature.json index 263c2c8..263c2c8 100644 --- a/collection/java/feature.json +++ b/src/java/feature.json diff --git a/collection/java/install.sh b/src/java/install.sh index f5880cd..f5880cd 100644 --- a/collection/java/install.sh +++ b/src/java/install.sh diff --git a/collection/java/wrapper.sh b/src/java/wrapper.sh index 4d2aef3..4d2aef3 100644 --- a/collection/java/wrapper.sh +++ b/src/java/wrapper.sh diff --git a/collection/jekyll/feature.json b/src/jekyll/feature.json index 852aa30..852aa30 100644 --- a/collection/jekyll/feature.json +++ b/src/jekyll/feature.json diff --git a/collection/jekyll/install.sh b/src/jekyll/install.sh index 53efa82..53efa82 100644 --- a/collection/jekyll/install.sh +++ b/src/jekyll/install.sh diff --git a/collection/jupyterlab/feature.json b/src/jupyterlab/feature.json index e080339..e080339 100644 --- a/collection/jupyterlab/feature.json +++ b/src/jupyterlab/feature.json diff --git a/collection/jupyterlab/install.sh b/src/jupyterlab/install.sh index 45267b0..45267b0 100644 --- a/collection/jupyterlab/install.sh +++ b/src/jupyterlab/install.sh diff --git a/collection/kubectl-helm-minikube/feature.json b/src/kubectl-helm-minikube/feature.json index 18723c7..18723c7 100644 --- a/collection/kubectl-helm-minikube/feature.json +++ b/src/kubectl-helm-minikube/feature.json diff --git a/collection/kubectl-helm-minikube/install.sh b/src/kubectl-helm-minikube/install.sh index 0981024..0981024 100644 --- a/collection/kubectl-helm-minikube/install.sh +++ b/src/kubectl-helm-minikube/install.sh diff --git a/collection/maven/feature.json b/src/maven/feature.json index bc4f5f3..bc4f5f3 100644 --- a/collection/maven/feature.json +++ b/src/maven/feature.json diff --git a/collection/maven/install.sh b/src/maven/install.sh index f8369f5..f8369f5 100644 --- a/collection/maven/install.sh +++ b/src/maven/install.sh diff --git a/collection/node/feature.json b/src/node/feature.json index 5a8e81d..5a8e81d 100644 --- a/collection/node/feature.json +++ b/src/node/feature.json diff --git a/collection/node/install.sh b/src/node/install.sh index 0b2190b..0b2190b 100644 --- a/collection/node/install.sh +++ b/src/node/install.sh diff --git a/collection/powershell/feature.json b/src/powershell/feature.json index d81bb4b..d81bb4b 100644 --- a/collection/powershell/feature.json +++ b/src/powershell/feature.json diff --git a/collection/powershell/install.sh b/src/powershell/install.sh index 3110356..3110356 100644 --- a/collection/powershell/install.sh +++ b/src/powershell/install.sh diff --git a/collection/python/feature.json b/src/python/feature.json index 18728f3..18728f3 100644 --- a/collection/python/feature.json +++ b/src/python/feature.json diff --git a/collection/python/install.sh b/src/python/install.sh index bdfc4d8..bdfc4d8 100644 --- a/collection/python/install.sh +++ b/src/python/install.sh diff --git a/collection/ruby/feature.json b/src/ruby/feature.json index 3ba0a36..3ba0a36 100644 --- a/collection/ruby/feature.json +++ b/src/ruby/feature.json diff --git a/collection/ruby/install.sh b/src/ruby/install.sh index 9908510..9908510 100644 --- a/collection/ruby/install.sh +++ b/src/ruby/install.sh diff --git a/collection/rust/feature.json b/src/rust/feature.json index 47df7e1..47df7e1 100644 --- a/collection/rust/feature.json +++ b/src/rust/feature.json diff --git a/collection/rust/install.sh b/src/rust/install.sh index 1d90b14..1d90b14 100644 --- a/collection/rust/install.sh +++ b/src/rust/install.sh diff --git a/collection/sshd/feature.json b/src/sshd/feature.json index 4de71d9..4de71d9 100644 --- a/collection/sshd/feature.json +++ b/src/sshd/feature.json diff --git a/collection/sshd/install.sh b/src/sshd/install.sh index eb33a09..eb33a09 100644 --- a/collection/sshd/install.sh +++ b/src/sshd/install.sh diff --git a/collection/terraform/feature.json b/src/terraform/feature.json index 02670a5..02670a5 100644 --- a/collection/terraform/feature.json +++ b/src/terraform/feature.json diff --git a/collection/terraform/install.sh b/src/terraform/install.sh index f2614ae..f2614ae 100644 --- a/collection/terraform/install.sh +++ b/src/terraform/install.sh diff --git a/test/dotnet/test.sh b/test/dotnet/test.sh new file mode 100644 index 0000000..781fc16 --- /dev/null +++ b/test/dotnet/test.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -e + +# Import test library +source featuresTest.library.sh root + +# Definition specific tests +check "dotnet" dotnet --info +check "sdks" dotnet --list-sdks + +# Report result +reportResults
\ No newline at end of file diff --git a/test/go/test.sh b/test/go/test.sh new file mode 100644 index 0000000..a41e89a --- /dev/null +++ b/test/go/test.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +set -e + +# Import test library +source featuresTest.library.sh root + +check "version" go version + +# Report result +reportResults
\ No newline at end of file |