You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 9, 2024. It is now read-only.
Hi everyone!
We've been trying to run juni build as part of our CI pipeline on github action.
The action itself can be found here: https://github.com/YouPrice/juni-build-github-action
The integration with our pipeline is as follows (the file has been redacted for brevity):
As you can see, we want to run juni build from inside the CI, and then commit & push the generated artifact.
However, the command gets stuck at the following point (github actions log):
Run YouPrice/juni-build-github-action@main
[...]
Removing network workspace_default
Network workspace_default not found.
Creating network "workspace_default" with the default driver
Pulling router-lambda (lambci/lambda:build-python3.6)...
build-python3.6: Pulling from lambci/lambda
Creating workspace_router-lambda_1 ...
Digest: sha256:9b1cea555bfed62d1fc9e9130efa9842ee144ef02e2a6a266f1c9e6adeb0866f
Status: Downloaded newer image for lambci/lambda:build-python3.6
Creating workspace_router-lambda_1 ... done
Attaching to workspace_router-lambda_1
router-lambda_1 | sh: /var/task/bin/package.sh: No such file or directory
workspace_router-lambda_1 exited with code 127
From what we can see, juniper manages to build the "inner" container just fine, but fails at retrieving the package.sh script that's created inside the temporary .juni directory. Running ls -a inside the container a few seconds after juni build shows that the .juni folder is indeed there.
How could we ensure that the package.sh is mounted correctly and accessible from within the innermost docker container?
Apologies if this is a tricky use-case, and thanks in advance! :)
The text was updated successfully, but these errors were encountered:
@miccio-dk I have the same problem here when a try to run juni inside a docker container. The strange thing is that by connecting via bash to the container I can see the .juni folder and the scripts in the container.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi everyone!
We've been trying to run
juni build
as part of our CI pipeline on github action.The action itself can be found here: https://github.com/YouPrice/juni-build-github-action
The integration with our pipeline is as follows (the file has been redacted for brevity):
As you can see, we want to run
juni build
from inside the CI, and then commit & push the generated artifact.However, the command gets stuck at the following point (github actions log):
From what we can see, juniper manages to build the "inner" container just fine, but fails at retrieving the
package.sh
script that's created inside the temporary.juni
directory. Runningls -a
inside the container a few seconds afterjuni build
shows that the.juni
folder is indeed there.How could we ensure that the
package.sh
is mounted correctly and accessible from within the innermost docker container?Apologies if this is a tricky use-case, and thanks in advance! :)
The text was updated successfully, but these errors were encountered: