ac34df319a
- This PR adds a new mount type: `docker.sock` (in addition to `cache` and `tmp`) - It's then able to mount the LOCAL (as in, from the machine running dagger) docker socket inside the container by pretending to be an SSH Agent (hijacking the SSH agent forwarding support of buildkit) Signed-off-by: Andrea Luzzardi <aluzzardi@gmail.com> |
||
---|---|---|
.. | ||
cli | ||
compute | ||
examples/react/.dagger/env/default | ||
ops | ||
stdlib | ||
cli.bats | ||
compute.bats | ||
examples.bats | ||
helpers.bash | ||
ops.bats | ||
package.json | ||
README.md | ||
stdlib.bats | ||
yarn.lock |
Testing
TL;DR
# Install dependancies
yarn install
# Install gnu parallel if needed
# macOS
brew install parallel
# Debian derivatives
# apt-get install parallel
# Install sops if needed
# macOS
brew install sops
# Run all tests
yarn test
By default, the dagger
binary is expected to be found in ../cmd/dagger/dagger
relative to the tests
directory.
If you need to change this, pass along DAGGER_BINARY=somewhere/dagger