Search code examples
cloud-foundryswisscomdev

Deploy app from CircleCI with


I'm looking to automatically deploy my app once we release a new version. We use CircleCI, so firing these commands shouldn't be a big deal.

cf login -a https://api.lyra-836.appcloud.swisscom.com -u myuser -p seret
cf push myapp

However I don't want to expose my personal credentials (Passeport acount) into our git repository. Is it possible to generate an API key for that purpose?

How do you handle that? I might also need to ssh into the instance to fire some migrations scripts after the deployment, same goes there.


Solution

  • Currently Swisscoms Application cloud does not offer technical accounts but you can create an additional account easily. Then add it to your org/space as developer and it should be able to fulfill your needs.