Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sshfs example is broken #144

Closed
imjasonh opened this issue Oct 21, 2022 · 2 comments · Fixed by #143
Closed

sshfs example is broken #144

imjasonh opened this issue Oct 21, 2022 · 2 comments · Fixed by #143

Comments

@imjasonh
Copy link
Member

#143 adds e2e tests in CI that build all our examples, and seems to indicate the sshfs.yaml example fails at head:

https://github.com/chainguard-dev/melange/actions/runs/3299985902/jobs/5443974029

Running from head (in an alpine container with go and bubblewrap):

go run ./ build examples/sshfs.yaml --pipeline-dir=pipelines --arch=amd64
...
2022/10/21 19:41:03 melange (sshfs/x86_64): fatal: destination path '.' already exists and is not an empty directory.
@imjasonh
Copy link
Member Author

imjasonh commented Oct 21, 2022

Also mbedtls: https://github.com/chainguard-dev/melange/actions/runs/3300008753/jobs/5444023407

2022/10/21 19:40:49 melange (mbedtls/x86_64): fatal: destination path '.' already exists and is not an empty directory.

@imjasonh
Copy link
Member Author

Seems these examples expect to be run with --empty-workspace, and fail otherwise since git-checkout's default destination is . (the workspace).

Running with --empty-workspace shows mbedtls still fails because the branch was renamed, but that can be fixed.

#143 should fix this if it can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant