Configure source control for Windows Azure Pack: Web Sites

 

Applies To: Windows Azure Pack

Windows Azure Pack: Web Sites supports automated publishing from a build definition within Visual Studio Team Foundation Server (TFS). For more information, see Publish from TFS to Windows Azure Pack: Web Sites.

In addition to TFS, the Web Site service supports using the following additional applications as source control repositories:

  • Bitbucket

  • GitHub

  • CodePlex

  • Dropbox

Before you can use one of these applications, you need to configure Windows Azure Pack: Web Sites with access information.

To configure source control

  1. In the management portal for administrators, click Web Site Clouds to open the Web Site Clouds dashboard.

  2. Click Source Control.

  3. Enter the information for the source control application you are using.

While these applications are not part of the Windows Azure Pack: Web Sites itself, the following information helps you gather the data that you need from the applications in order to configure the Web Sites cloud controller.

Bitbucket

Use the following steps for Bitbucket.

  1. Create an account at https://bitbucket.org.

  2. Create a project.

  3. Go to https://bitbucket.org/account/user/\<user name>/api and add an Oauth consumer.

    For the URL, enter the URL for the management portal for tenants.

  4. After you add the consumer, you will see the client ID and client secret. This is the information you need for the Web Sites cloud controller.

GitHub

Use the following steps for GitHub.

  1. Create an account at https://github.com.

  2. Go to https://github.com/applications/settings and click Register new application.

  3. For the URL, enter the URL for the management portal for tenants.

  4. For the Callback URL, enter <tenantURL>/websites/GitHubTokenAuthorize.

  5. Click Register application.

  6. After you register the application, you will see the client ID and client secret. This is the information you need for the Web Sites cloud controller.

Codeplex

Use the following steps for Codeplex.

  1. Create an account at https://www.codeplex.com.

  2. Create a new project.

  3. Go to https://www.codeplex.com/site/developers/apps and create an application.

    For the URL and callback URL, enter the URL for the management portal for tenants.

  4. After you create the application, you will see the client ID and client secret. This is the information you need for the Web Sites cloud controller.

Dropbox

Use the following steps for Dropbox.

  1. Register at http://www.dropbox.com.

  2. Go to https://www.dropbox.com/developers.

  3. Click Apps Console, and then click Create an app.

  4. Enter an app name and domains, and then click Create app.

  5. After you create the application, you will see the app key, app secret, and app folder. This is the information you need for the Web Sites cloud controller.

    The app key corresponds to the client ID, and the app secret corresponds to the client secret.

See Also

Deploy Windows Azure Pack: Web Sites