fix: update changeset docs
Signed-off-by: Alisson Fabiano <afabiano@eshopworld.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
---
|
||||
'@backstage/plugin-azure-devops-backend': patch
|
||||
---
|
||||
|
||||
`createRouter` now requires an additional reader: `UrlReader` argument
|
||||
|
||||
```diff
|
||||
export default async function createPlugin(
|
||||
env: PluginEnvironment,
|
||||
): Promise<Router> {
|
||||
return createRouter({
|
||||
logger: env.logger,
|
||||
config: env.config,
|
||||
+ reader: env.reader,
|
||||
});
|
||||
}
|
||||
```
|
||||
|
||||
Remember to check if you have already provided these settings previously.
|
||||
|
||||
#### [Azure DevOps]
|
||||
|
||||
```yaml
|
||||
# app-config.yaml
|
||||
azureDevOps:
|
||||
host: dev.azure.com
|
||||
token: my-token
|
||||
organization: my-company
|
||||
```
|
||||
|
||||
#### [Azure Integrations]
|
||||
|
||||
```yaml
|
||||
# app-config.yaml
|
||||
integrations:
|
||||
azure:
|
||||
- host: dev.azure.com
|
||||
token: ${AZURE_TOKEN}
|
||||
```
|
||||
@@ -1,36 +1,9 @@
|
||||
---
|
||||
'@backstage/plugin-azure-devops': minor
|
||||
'@backstage/plugin-azure-devops-backend': minor
|
||||
'@backstage/plugin-azure-devops-common': minor
|
||||
---
|
||||
|
||||
Added README card for Azure Devops
|
||||
|
||||
**Before:**
|
||||
|
||||
Remember to check if you have already provided these settings previously, as we will need them for the reamde card to work.
|
||||
|
||||
#### [Azure DevOps](https://github.com/backstage/backstage/blob/master/app-config.yaml#L48L51:~:text=azureDevOps%3A,%3A%20my%2Dcompany)
|
||||
|
||||
```yaml
|
||||
# app-config.yaml
|
||||
azureDevOps:
|
||||
host: dev.azure.com
|
||||
token: my-token
|
||||
organization: my-company
|
||||
```
|
||||
|
||||
#### [Azure Integrations](https://github.com/backstage/backstage/blob/master/app-config.yaml#L48L51:~:text=azure%3A,%3A%20%24%7BAZURE_TOKEN%7D)
|
||||
|
||||
```yaml
|
||||
# app-config.yaml
|
||||
integrations:
|
||||
azure:
|
||||
- host: dev.azure.com
|
||||
token: ${AZURE_TOKEN}
|
||||
```
|
||||
|
||||
**After:**
|
||||
Added README card `EntityAzureReadmeCard` for Azure Devops.
|
||||
|
||||
To get the README component working you'll need to do the following two steps:
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ In this case `<project-name>` will be the name of your Team Project and `<build-
|
||||
|
||||
To get the Azure Pipelines component working you'll need to do the following two steps:
|
||||
|
||||
1. First we need to add the @backstage/plugin-azure-devops package to your frontend app:
|
||||
1. First we need to add the `@backstage/plugin-azure-devops` package to your frontend app:
|
||||
|
||||
```bash
|
||||
# From your Backstage root directory
|
||||
|
||||
Reference in New Issue
Block a user