ask-cli
package https://www.npmjs.com/package/ask-clinpm i -g ask-cli
ngrok
andgolang
if using the local Alexa Server instead of a Lambda in AWS
You're covered, the repo includes an Alexa Skill Server built in Go which you can use instead of AWS Lambda.
Steps:
ngrok http 3000
# Paste the HTTPs URL ontoapis.custom.endpoint.uri
inalexa-teamcity/skill.json
, leave the pathecho/teamcity
intactcd go-ci-commander/alexa-teamcity
ask init
# Make sure you choose a profile which has sufficient permissions, more here.ask deploy
# After completed copy theskill_id
in./ask/config
, you'll use it belowgo build *.go
ALEXA_APP_ID="{skill_id}" TEAMCITY_URL="http://{teamcity_host}:{port}" TEAMCITY_USER="{user}" TEAMCITY_PASS="{pwd}" ./main
- Add your Build configuration IDs to
types[].values[]
inmodels/en-GB.json
. You can also use synonyms for your build IDs so they are easier to pronounce etc. - Redeploy the skill model,
ask deploy
ask simulate --text "ask teamcity to trigger {myBuildType}" --locale "en-GB"
# or simply use the Alexa Test simulator, Echoism etc.
In progress, working on a Lambda alternative to the local Alexa Skill Server