Search…
Git Version Control Systems

Introduction

Bunnyshell uses your connected Git account to do the following:
  • Pull your code;
  • Extract the relevant information;
  • Automatically identify your application's dependency;
  • Build for your applications;
  • Generate environments.

Supported Git Version Control Systems (VCS)

Webhooks

Webhooks are calls made from your Git Version Control Systems (VCS) back to Bunnyshell when certain events happen. Bunnyshell, based on defined rules, uses these events to trigger automatic updates of applications or automatic creating of ephemeral environments.
You can find below the git action Bunnyshell tracks and the automatic actions that can be triggered:
  • Code push - Update an environment with the latest code on a branch.
  • New Pull Request - Create ephemeral environments for the branch in the Pull Request.
  • Re-open Pull Request - Recreate an environment when a Pull Request is re-opened.
  • Closed Pull Request - Destroy an ephemeral environment when the Pull Request is closed or merged.
  • Pull Request comment - Create an ephemeral environment when the Pull Request receives a specific comment.

Connect your Git repositories

To connect and use your repositories in Bunnyshell, go to the main interface and follow the steps below:
  1. 1.
    Click Integrations
    on the left-side menu.
  2. 2.
    Select Git integrations.
  3. 3.
    Click Connect git account and select one of the available providers.
You will be asked to login into your Git provider account and allow read-only access to Bunnyshell. Once this is done, you will be redirected to Bunnyshell and your repository is ready to be used.
To connect an additional account from the same Git provider, make sure you are not signed into an account that is already linked to Bunnyshell. Open a separate window in your browser, go to the Git provider's website and, if necessary, log out.
Bunnyshell also allows you to connect private repositories in Gitlab and Github.
Connecting a private Gitlab repository
Bunnyshell
Connecting a private Github repository
Bunnyshell