-
Notifications
You must be signed in to change notification settings - Fork 455
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
ERROR (Errno::ENOENT): No such file or directory - aws #720
Comments
I'm using AWS registry and this way of getting token Anyway, this doesn't look like kamal issue but some local misconfiguration |
yes, in irb token returns kamal setup in verbose mode
when I change my ---
servers:
- 192.168.1.100
registry:
server: whatever
username: AWS
password: <%= %x(aws_test ecr get-login-password --region eu-west-1 --profile linked) %> # here aws_test not aws it returns
|
3.2.2 :002 > Kamal::Cli::Main.new.setup
INFO [616be28b] Running /usr/bin/env mkdir -p .kamal on 34.243.90.110
INFO [616be28b] Finished in 1.066 seconds with exit status 0 (successful).
Acquiring the deploy lock...
Ensure Docker is installed...
INFO [64a095cd] Running docker -v on 34.243.90.110
INFO [64a095cd] Finished in 0.279 seconds with exit status 0 (successful).
INFO [f96bc497] Running /usr/bin/env mkdir -p .kamal on 34.243.90.110
INFO [f96bc497] Finished in 0.187 seconds with exit status 0 (successful).
Push env files...
INFO [d99d2446] Running /usr/bin/env mkdir -p .kamal/env/roles on 34.243.90.110
INFO [d99d2446] Finished in 0.176 seconds with exit status 0 (successful).
... |
The error comes from Look
|
@dawidof are you getting this error in the GitHub Actions CI? |
Refused from Kamal, in my case I'm using aws with load balancers, vpc and many other services from Amazon, and Kamal is not really made for such things, I'm using an old terraform and it works great, github actions also configured to build container and push to ECR. |
It seems you do not understand how Kamal works. The configuration file is getting read locally in the environment where you executed the
In this case, |
@dawidof Can this issue be closed? Looks like it's not related to the kamal tool but the local setup. |
As for me, it's related to Kamal, |
This happened with me because I was using kamal with docker and awscli wasn't there. I fixed installing the gem. |
My
deploy.yml
file containsIt tries to execute
aws
command, but returns this errorERROR (Errno::ENOENT): No such file or directory - aws
, locally in terminal this command returns tokenThe text was updated successfully, but these errors were encountered: