aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/release.yaml4
-rw-r--r--.github/workflows/test-all.yaml5
-rw-r--r--.github/workflows/test-manual.yaml7
-rw-r--r--.github/workflows/test-pr.yaml8
-rw-r--r--.github/workflows/test-scenarios.yaml8
-rw-r--r--devcontainers-cli-0.7.0-jospicer01.tgzbin277282 -> 0 bytes
6 files changed, 23 insertions, 9 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 4b59eb9..0b33120 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -2,7 +2,7 @@ name: "(Release) Release dev container features (v2)"
on:
push:
tags:
- - "v0.0.2" # Temporary
+ - "v*"
workflow_dispatch:
jobs:
@@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- name: Generate tgz
- uses: ./.github/devcontainers-action # devcontainers/action
+ uses: ./.github/devcontainers-action # TODO: Once 'devcontainers/action' is published, use that.
with:
publish-features: "true"
base-path-to-features: "./src"
diff --git a/.github/workflows/test-all.yaml b/.github/workflows/test-all.yaml
index fd4e50e..04aa088 100644
--- a/.github/workflows/test-all.yaml
+++ b/.github/workflows/test-all.yaml
@@ -42,5 +42,8 @@ jobs:
steps:
- uses: actions/checkout@v2
+ - name: "Install latest devcontainer CLI"
+ run: npm install -g @devcontainers/cli
+
- name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
- run: npx --yes ./devcontainers-cli-0.7.0-jospicer01.tgz features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`
+ run: devcontainer features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`
diff --git a/.github/workflows/test-manual.yaml b/.github/workflows/test-manual.yaml
index 4d637d2..eba6d99 100644
--- a/.github/workflows/test-manual.yaml
+++ b/.github/workflows/test-manual.yaml
@@ -21,5 +21,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: " Testing '${{ github.event.inputs.features }}' against '${{ github.event.inputs.baseImage }}'"
- run: npx --yes ./devcontainers-cli-0.7.0-jospicer01.tgz features test --features ${{ github.event.inputs.features }} --base-image ${{ github.event.inputs.baseImage }} --collection-folder `pwd` --log-level ${{ github.event.inputs.logLevel }}
+ - name: "Install latest devcontainer CLI"
+ run: npm install -g @devcontainers/cli
+
+ - name: "Testing '${{ github.event.inputs.features }}' against '${{ github.event.inputs.baseImage }}'"
+ run: devcontainer features test --features ${{ github.event.inputs.features }} --base-image ${{ github.event.inputs.baseImage }} --collection-folder `pwd` --log-level ${{ github.event.inputs.logLevel }}
diff --git a/.github/workflows/test-pr.yaml b/.github/workflows/test-pr.yaml
index 46334d7..b558eac 100644
--- a/.github/workflows/test-pr.yaml
+++ b/.github/workflows/test-pr.yaml
@@ -55,5 +55,9 @@ jobs:
]
steps:
- uses: actions/checkout@v2
- - name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
- run: npx --yes ./devcontainers-cli-0.7.0-jospicer01.tgz features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`
+
+ - name: "Install latest devcontainer CLI"
+ run: npm install -g @devcontainers/cli
+
+ - name: "Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
+ run: devcontainer features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`
diff --git a/.github/workflows/test-scenarios.yaml b/.github/workflows/test-scenarios.yaml
index 61e3026..91fbf50 100644
--- a/.github/workflows/test-scenarios.yaml
+++ b/.github/workflows/test-scenarios.yaml
@@ -12,5 +12,9 @@ jobs:
if: "!contains(github.event.head_commit.message, 'no-ci') && !contains(github.event.head_commit.message, 'CI ignore')"
steps:
- uses: actions/checkout@v2
- - name: " Running predefined test scenarios"
- run: npx --yes ./devcontainers-cli-0.7.0-jospicer01.tgz features test --scenarios `pwd`/test-scenarios -c `pwd`
+
+ - name: "Install latest devcontainer CLI"
+ run: npm install -g @devcontainers/cli
+
+ - name: "Running predefined test scenarios"
+ run: devcontainer features test --scenarios `pwd`/test-scenarios -c `pwd`
diff --git a/devcontainers-cli-0.7.0-jospicer01.tgz b/devcontainers-cli-0.7.0-jospicer01.tgz
deleted file mode 100644
index 9514206..0000000
--- a/devcontainers-cli-0.7.0-jospicer01.tgz
+++ /dev/null
Binary files differ