How to download the app with the CLI from the Swisscom App Cloud?

后端 未结 1 1732
抹茶落季
抹茶落季 2021-01-26 19:26

I am trying to download my app wich is currently running in the Swisscom App Cloud.

Therefore I installed the cf-download plugin.

My command: cf download a

相关标签:
1条回答
  • 2021-01-26 19:58

    You can do that with an API call

    Apps API Downloads the staged droplet for an App GET /v2/apps/:guid/droplet/download When using a remote blobstore, such as AWS, the response is a redirect to the actual location of the droplet.

    step by step:

    cf app $APP --guid
    cf curl /v2/apps/$GUID/droplet/download > testing.gz
    tar -xzvf testing.gz
    

    I successfully tested it on Swisscom App Cloud.

    0 讨论(0)
提交回复
热议问题