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

Error: Destination file path /home/actions/argocd already exists #26

Open
pnewhook opened this issue Dec 6, 2023 · 1 comment
Open

Comments

@pnewhook
Copy link

pnewhook commented Dec 6, 2023

Describe the bug
When running argo-cd-action on a custom runner, steps fail if the /home/actions/argocd directory already exists

To Reproduce
Steps to reproduce the behavior:

  1. Add argo-cd-actions@v2.0.0 to a project that uses a custom runner and has previously used argo-cd-action v1.12.1
  2. Run an argocd command
  3. Get an error. that the /home/actions/argocd directory already exists

Debug Log

##[debug][index] command: app,sync,foo,-l,argocd.argoproj.io/instance=bar
##[debug][index] options: --auth-token=***
##[debug][index] version: 2.8.4
##[debug]isExplicit: 2.8.4
##[debug]explicit? true
##[debug]checking cache: /home/actions/_work/_tool/argocd/2.8.4/x64
##[debug]not found
##[debug]Unable to find "argocd" executable, downloading it now
##[debug][debug()] getExecutableUrl: https://github.com/argoproj/argo-cd/releases/download/v2.8.4/argocd-linux-amd64
##[debug]Downloading https://github.com/argoproj/argo-cd/releases/download/v2.8.4/argocd-linux-amd64
##[debug]Destination /home/actions/argocd
Destination file path /home/actions/argocd already exists
Waiting 16 seconds before trying again
Destination file path /home/actions/argocd already exists
Waiting 17 seconds before trying again
Error: Destination file path /home/actions/argocd already exists
@lrobles-iterable
Copy link

I am getting this issue as well running version 2.6.7 on self hosted runners

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

No branches or pull requests

2 participants