Skip to content

Commit d0ce88b

Browse files
committed
Update doc on creating a new repo
- Added section for creating the bootstrap pipeline.
1 parent 64c96df commit d0ce88b

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

content/maintainers/creating-a-new-repo.md

+14
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ For class libraries projects a Sonarcloud project has to be setup in order to ru
3636

3737
## Setup Azure DevOps
3838

39+
### Build Pipeline
40+
3941
1. Open a new browser window on which you are signed in to GitHub as `nfbot`.
4042
1. On the repo Settings, navigate to "GitHub Apps".
4143
1. Click "Configure" button for Azure Pipelines.
@@ -62,6 +64,18 @@ For class libraries projects a Sonarcloud project has to be setup in order to ru
6264
1. Add the following variables, all set to secret, with the values comming from the .NET Foundation signing service. Variables are `SignClientId`, `SignClientSecret`, `SignKeyVaultCertificate`, `SignKeyVaultUrl` and `SignTenantId`. **Make sure** that all the variables are set to `secret` by clicking on the appropriate option.
6365
1. Go back to the pipelines view and with the current pipeline selected, click on the ellipsis icon and then on "Status badge". Copy the markdown code that shows on the pop-up. This will be required to add the correct build badges in the repo readme in a moment.
6466

67+
### Bootstrap pipeline
68+
69+
1. Go to the project pipelines page and click "New Pipeline".
70+
1. Choose GitHub, select the repository, in configuration step select the option "Existing Azure Pipelines YAML file" and in the path, the azure-bootstrap.yml.
71+
1. Click on "Variables" and add the following.
72+
1. Add `AZURE_DEVOPS_PAT` with the PAT for ADO access. **Make sure** that the variable is set to `secret` by clicking on the appropriate option.
73+
1. Click the "Save" button on the Variables pop-up (it will take you back to the pipeline yaml).
74+
1. Cline the "Save" button at the top right and go through the commit message.
75+
1. Navigate back to the Pipeline, select it and click "Edit" (at the top right). Then click on the 3 vertical dots (again at the top right) and then "Triggers".
76+
1. Rename the pipeline to match the project name ending in bootstap (like in "nanoFramework.Json bootstrap").
77+
1. Click "Save" in the toolbar (NOT "Save & Queue").
78+
6579
## Prepare the initial commit
6680

6781
1. Fork the repo into your preferred GutHub account and clone it locally.

0 commit comments

Comments
 (0)