IBM-Cloud / phonebot

Slackbot using IBM Watson and Twilio to make phone calls via slack commands
MIT License
237 stars 32 forks source link

Repository cloning failed: Failed to query status of cloning repository operation. #17

Closed gitjps closed 7 years ago

gitjps commented 7 years ago

"Deploy to Bluemix" failed

jthomas commented 7 years ago

Can you provide some more information about what went wrong? It would help it you included the deployment logs.

gitjps commented 7 years ago

Downloading artifacts...DOWNLOAD SUCCESSFUL Target: https://api.ng.bluemix.net Using manifest file /home/pipeline/9cee9c62-c15c-4271-8ca4-dc2a4516155c/manifest.yml

Creating app phonebot-jps-2113 in org ... / space dev as ... OK

Using route phonebot-jps-2113.mybluemix.net Binding phonebot-jps-2113.mybluemix.net to phonebot-jps-2113... OK

Uploading phonebot-jps-2113... Uploading app files from: /home/pipeline/9cee9c62-c15c-4271-8ca4-dc2a4516155c Uploading 67.6K, 24 files

Done uploading OK FAILED Could not find service twilio to bind to phonebot-jps-2113

Finished: FAILED

jthomas commented 7 years ago

Right, so according to the last line of the logs, Cloud Foundry is telling us it cannot find the "twilio" service to bind to the application.

You need to follow this section of the instructions to create your Twilio service before deploying the application. https://github.com/IBM-Bluemix/phonebot#twilio

Run the following CF CLI command to expose your developer account credentials to the platform. _Replace the ACCOUNTSID and TOKEN values with credentials from your account settings page.

$ cf cups twilio -p '{"accountSID":"ACCOUNT_SID","authToken":"TOKEN", "url": "https://api.twilio.com"}'