![]() The real magic happens in the URL that the above slash command is requesting. ![]() They live in a Node script hosted on azure in case you're wondering. Services - A comma delimited list of the services to setup:.ProjectName - The name of the new project, this is used for the Azure website names, the Bitbucket repo name, the Slack channel name and the Teamcity project.Our project setup slash command looks a bit like this: /project-setup A URL - a URL that is requested when somebody runs the slash command.The command - a command is made up of two parts - the command name and further text.We decided to use Slash commands as we can setup multiple commands under the same configured integration, we're all accustomed to using such commands for things like Hangouts and Giphy, and it's quick and easy to get an integration setup. We had a number of integration options when considering how to do this through Slack: The advantage of this approach is that anybody could do it (it doesn't rely on a developer or someone with knowledge of the above services), all of our tooling and integration is in one place and it's self documented. We love using Slack for our internal messaging (OK, OK, for sending memes to each other) so we wondered how we could integrate project setup with Slack. Create a Slack room (more about that below).Create a teamcity project, integrate git and add your builds.Create azurewebsites to deploy your dev and live sites to.Create your git repository (we use bitbucket here at Technology Studio towers).One of the most tedious parts of a developer's or project manager's life is setting up a new project, you have to:
0 Comments
Leave a Reply. |