Comments (5)
Hello.
I developed a feature using the feature template and noticed that the test for option selection was not covered.
Is it possible to run multiple installations by referencing a pre-created options matrix (json file) when running an installation as a test?
Or the user may want to give options as CLI arguments to parallelize using the matrix on GitHub Actions.
Similarly, it would be useful to be able to specify the platform (CPU architecture).
edit: I understand that we can add scenarios.json
to the folder for each feature, but it seems useless because when I set up the GitHub matrix, the tests in scenarios.json
are run under all matrix conditions--skip-scenarios
seems work fine.
from cli.
Can we add another task? Currently, there isn't a way to supply --docker-path
/--docker-compose-path
to any of the features commands, which causes issues if you're using podman in ci scenarios.
from cli.
@Clockwork-Muse Do you mean a way to specify the path to the docker/docker-compose CLIs? Yes, I'll convert your request into an issue 👍 (If you're interested, we'd also accept a PR on this)
from cli.
Yes, that's what I meant.
from cli.
If there is a scenario.json file and no test.sh, the test will not run unless --skip-autogenerated is set. We should be smarter about this
👍 id very much like to see this so that i can do this in something like gh actions:
devcontainer features test -f ${{ matrix.id }}
as a workaround I'm currently doing this:
if [[ -e test/${{ matrix.id }}/test.sh ]]; then
devcontainer features test -f ${{ matrix.id }}
else
devcontainer features test -f ${{ matrix.id }} --skip-autogenerated
fi
accidentally made devcontainers/spec#294 🙄
from cli.
Related Issues (20)
- Secrets for containerEnv HOT 2
- Unable to build a devcontainer features with podman HOT 3
- Feature: Add a "force" flag to feature push to override an existing version HOT 1
- Failed to load user settings HOT 5
- Reverted! thanks for the advice HOT 7
- Global gitconfig fails to copy to devcontainer with postCreateCommand HOT 2
- `devcontainer open` command removed HOT 2
- Redundant Dockerfile required in order to push to correct repo HOT 8
- Question: How do I find a template ID for the `devcontainer templates apply` command? HOT 9
- Failed to publish feature to ghcr.io HOT 5
- devcontainer/cli with docker compose is always reusing existing container HOT 4
- Option `--build-no-cache` appears to use cache HOT 3
- git worktree support HOT 2
- Full support to NODE_EXTRA_CA_CERTS is coming to Electron HOT 1
- Opening interactive shells via exec subcommand is unresponsive HOT 5
- Dockerfile for runing devcontainer/cli
- `docker-compose.devcontainer.containerFeatures.TIMESTAMP.yml` race conditions
- Start devcontainer (up) from already built image HOT 2
- Dependency confusion attack from looking for manifest in docker.io first HOT 2
- Can't publish a feature with private AWS ECR repository as a registry HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.