Giter Site home page Giter Site logo

v1.9.0 fails to run about argo-cd-action HOT 7 OPEN

clowdhaus avatar clowdhaus commented on July 28, 2024 4
v1.9.0 fails to run

from argo-cd-action.

Comments (7)

nxc933 avatar nxc933 commented on July 28, 2024 1

This issue still is present as of 1.16.0. running rm -f /home/runner/argocd on each run seems to fix this, but shouldn't be necessary.
@bryantbiggs

from argo-cd-action.

bryantbiggs avatar bryantbiggs commented on July 28, 2024

could you expand the output from the argo-cd-action step? it would also help if you could re-run with debug output to see any additional information

from argo-cd-action.

cenobitedk avatar cenobitedk commented on July 28, 2024
...
##[debug]'
##[debug]Loading env
Run clowdhaus/[email protected]
  with:
    options: --grpc-web --auth-token *** --server argo-cd.lqd.dk:443
  
    command: app create selfservice-web-application-test-baea616 --upsert --sync-policy auto --self-heal --repo [email protected]:nuuday/business-selfservice-helm-charts.git --path selfservice-web-application --values values-test.yaml --dest-namespace business-selfservice-test --dest-server https://api-knet.lqd.dk --project business-selfservice --parameter image.tag=baea616-20220207T102429 --parameter image.name=selfservice-web-application-test --parameter service.name=selfservice-web-application-test-baea616 --parameter service.ingress.rules.host=selvbetjening-test-baea616.knet.lqd.dk
  
    version: 2.2.4
  env:
    IMAGE_NAME: selfservice-web-application-test
    ARTIFACT_IMAGE_NAME: selfservice-web-application
    SHA: baea616409c2d1b3a452db2f2ba99afc8bbcbb[84](https://github.com/nuuday/tdc-selfservice/runs/5091483593?check_suite_focus=true#step:4:84)
    ID: baea616
    TAG: baea616-20220207T102429
    GITHUB_TOKEN: ***
##[debug][index] command: app,create,selfservice-web-application-test-baea616,--upsert,--sync-policy,auto,--self-heal,--repo,[email protected]:nuuday/business-selfservice-helm-charts.git,--path,selfservice-web-application,--values,values-test.yaml,--dest-namespace,business-selfservice-test,--dest-server,https://api-knet.lqd.dk/,--project,business-selfservice,--parameter,image.tag=baea616-20220207T[102](https://github.com/nuuday/tdc-selfservice/runs/5091483593?check_suite_focus=true#step:4:102)429,--parameter,image.name=selfservice-web-application-test,--parameter,service.name=selfservice-web-application-test-baea616,--parameter,service.ingress.rules.host=selvbetjening-test-baea616.knet.lqd.dk
##[debug][index] options: --grpc-web,--auth-token,***
##[debug][index] version: 2.2.4
##[debug]isExplicit: 2.2.4
##[debug]explicit? true
##[debug]checking cache: /home/github/_work/_tool/argocd/2.2.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.2.4/argocd-linux-amd64
##[debug]Downloading https://github.com/argoproj/argo-cd/releases/download/v2.2.4/argocd-linux-amd64
##[debug]Destination /home/github/argocd
Destination file path /home/github/argocd already exists
Waiting 14 seconds before trying again
Destination file path /home/github/argocd already exists
Waiting 14 seconds before trying again
Error: Destination file path /home/github/argocd already exists
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: Run clowdhaus/[email protected]

I hope this is enough. I didn't include the debug out before the action, cause it only seem to relate to setting up env vars.

from argo-cd-action.

cenobitedk avatar cenobitedk commented on July 28, 2024
~/_work/_tool$ ls -R    
.:
argocd

./argocd:
2.2.3

./argocd/2.2.3:
x64  x64.complete

./argocd/2.2.3/x64:
argocd

This is the content of the _tool folder

from argo-cd-action.

cenobitedk avatar cenobitedk commented on July 28, 2024

@bryantbiggs Let me know if you need more information

from argo-cd-action.

rafael-rsr avatar rafael-rsr commented on July 28, 2024

Hello, has this issue been completed? I am having the same problem. Thank you

from argo-cd-action.

olegandreyev avatar olegandreyev commented on July 28, 2024

Issue is still relevant, seems it crashes after downloading argo version

##[debug]Unable to find "argocd" executable, downloading it now
##[debug][debug()] getExecutableUrl: https://github.com/argoproj/argo-cd/releases/download/v2.2.4/argocd-linux-amd64
##[debug]Downloading https://github.com/argoproj/argo-cd/releases/download/v2.2.4/argocd-linux-amd64
##[debug]Destination /home/github/argocd
Destination file path /home/github/argocd already exists

Downloading tool can't save argo client because directory exists

from argo-cd-action.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.