Replies: 1 comment
-
20241012164325803_AHWF17E6AC0486C.2.1.2.mp4 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm creating a custom devcontainer feature using https://github.com/devcontainers/feature-starter.
My custom devcontainer feature needs GitHub.com access.
Is there a way for devcontainer test to reuse SSH keys?
devcontainer features test --features featureX --skip-scenariosMy attempt but it seems the devcontainer features test cli ignores the mount and containerEnv in the
scenarios.json{ "test": { "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "chezmoi": { "github_username": "dkirrane" } }, "mounts": [ // SSH Agent forwarding by mounting the SSH agent socket (SSH_AUTH_SOCK) // The SSH agent socket (SSH_AUTH_SOCK) is shared between outer feature devcontainer and inner feature test scenario container { "source": "${localEnv:SSH_AUTH_SOCK}", "target": "/tmp/ssh-agent.sock", "type": "bind" } ], "containerEnv": { "SSH_AUTH_SOCK": "/tmp/ssh-agent.sock" } } }Beta Was this translation helpful? Give feedback.
All reactions