|
| 1 | +# Collaboration via Azure DevOps |
| 2 | + |
| 3 | +Azure DevOps is a comprehensive suite of development tools provided by Microsoft that enables teams to plan, develop, test, and deliver software efficiently. It offers integrated services including Azure Repos for Git repositories, Azure Pipelines for CI/CD, Azure Boards for work tracking, and more—making it a complete DevOps platform for enterprise teams. |
| 4 | + |
| 5 | +Bruno's Git functionality allows you to work with Azure DevOps to manage, collaborate, and maintain your API development workflow. |
| 6 | + |
| 7 | +## Configure Azure DevOps |
| 8 | + |
| 9 | +You need to set up an SSH key with Azure DevOps. While you can also set up personal access tokens (HTTPS), this requires you to enter your token on every operation. SSH is a more convenient and secure way to work with Azure DevOps. |
| 10 | + |
| 11 | +### Create Repository on Azure DevOps |
| 12 | + |
| 13 | +To get started, you have to create a project/repository on Azure DevOps. Follow these steps: |
| 14 | + |
| 15 | +1. Log into your Azure DevOps account at [dev.azure.com](https://dev.azure.com) (create one if you don't have one) |
| 16 | +2. Click on **+ New project** or select an existing project |
| 17 | +3. If creating a new project, fill in the required fields (Project name, Description, Visibility) |
| 18 | +4. Click **Create** |
| 19 | +5. Navigate to **Repos** in the left sidebar |
| 20 | +6. If you need to create a new repository within the project, click **+ New repository** |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | +Once you have a repository, click on the **Clone** button in the top-right corner and copy the SSH URL, which looks similar to: |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | +```bash |
| 30 | +[email protected]:v3/ <organization >/ <project >/ <repo-name > |
| 31 | +``` |
| 32 | + |
| 33 | +### Configure SSH Key |
| 34 | + |
| 35 | +Follow these steps to configure an SSH key on your local system: |
| 36 | + |
| 37 | +#### 1. Generate SSH Key |
| 38 | + |
| 39 | +Open your terminal and execute: |
| 40 | + |
| 41 | +```bash |
| 42 | +ssh-keygen -t ed25519 -C "[email protected]" -f ~/.ssh/id_ed25519_azuredevops |
| 43 | +``` |
| 44 | + |
| 45 | +#### 2. Add SSH Key to SSH Agent |
| 46 | + |
| 47 | +Add the SSH key to your SSH agent so it can be used for authentication: |
| 48 | + |
| 49 | +```bash |
| 50 | +ssh-add ~/.ssh/id_ed25519_azuredevops |
| 51 | +``` |
| 52 | + |
| 53 | +#### 3. Add the SSH Key to Your Azure DevOps Account |
| 54 | + |
| 55 | +1. Go to **Azure DevOps** > **User Settings** (click your avatar in the top-right) > **SSH public keys** |
| 56 | +2. Click **+ New Key** |
| 57 | +3. Give your key a name (e.g., "Bruno Development") |
| 58 | +4. Paste your `id_ed25519_azuredevops.pub` content in the **Public Key Data** field |
| 59 | +5. Click **Add** |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | +## Use Azure DevOps with Bruno |
| 64 | + |
| 65 | +1. Create a Collection inside Bruno (if you haven't already) |
| 66 | +2. Click on the **Git** icon (next to Safe Mode) and select **Initialize repo** |
| 67 | +3. Click on **main** and select **Remotes** from the dropdown |
| 68 | +4. Add **origin** as the name of the remote and paste your repository URL (copied previously) |
| 69 | + |
| 70 | +Now you can perform push, pull, and other Git operations directly from Bruno. |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | +For more detailed information about Git operations in Bruno, check out the [Collaboration via GUI documentation](/git-integration/using-gui/intro). |
0 commit comments