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
Missing argocd binary from argocd-test-tools docker image #9459
Comments
I can't think of a reason why it wouldn't be acceptable. Might slow down the test container build a bit, but seems like a worthwhile tradeoff. |
@crenshaw-dev I just pushed a possible fix in #9467, let me know what you think about it |
Hi. The test tools image should not contain any of the Argo CD binaries, but rather build it upon start-up. The only thing that the image should contain is the build and execution environment. So probably, the right thing to do would be to make the |
Checklist:
argocd version
.Describe the bug
While I was trying to run ArgoCD locally for development purposes, using the
argocd-test-tools
docker image as described in the docs, I found an issue adding private git repository because theargocd
binary is missing from the image.I was able to add the repository from the UI, but during the application creation, while referencing an helm dependency in a subpath of the repo, the dependency was not detected and I got this error in the logs
10:36:50 repo-server | ERRO[0126] finished unary call with code Internal error="rpc error: code = Internal desc = Failed to fetch default: 'git fetch origin --tags --force' failed exit status 128: error: cannot run argocd: No such file or directory\nfatal: could not read Username for 'https://gitlab.<company.tld>/': terminal prompts disabled" grpc.code=Internal grpc.method=GetAppDetails grpc.request.deadline="2022-05-18T10:37:49Z" grpc.service=repository.RepoServerService grpc.start_time="2022-05-18T10:36:49Z" grpc.time_ms=262.449 span.kind=server system=grpc
The problem exists only when running locally because the
argocd
binary is missing from theargocd-test-tools
docker image but not fromquay.io/argoproj/argocd
Would be acceptable to change the
argocd-test-tool
image to also include the argocd binary?To Reproduce
Follow the steps from Running ArgoCD locally and try to create an application from a private git repository
Logs
The text was updated successfully, but these errors were encountered: