From 7d4a09304f67729ff3942b526a100f0bb35ea2f7 Mon Sep 17 00:00:00 2001 From: Morgan Bentell Date: Mon, 22 May 2023 11:56:57 +0200 Subject: [PATCH 1/2] use latest techdocs docker image by default Signed-off-by: Morgan Bentell --- .changeset/heavy-ravens-fold.md | 5 +++++ plugins/techdocs-node/src/stages/generate/techdocs.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/heavy-ravens-fold.md diff --git a/.changeset/heavy-ravens-fold.md b/.changeset/heavy-ravens-fold.md new file mode 100644 index 0000000000..f5f88c7662 --- /dev/null +++ b/.changeset/heavy-ravens-fold.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-techdocs-node': patch +--- + +Use latest techdocs docker image by default. The latest image contains security updates. diff --git a/plugins/techdocs-node/src/stages/generate/techdocs.ts b/plugins/techdocs-node/src/stages/generate/techdocs.ts index d2ad0021be..06160b85c9 100644 --- a/plugins/techdocs-node/src/stages/generate/techdocs.ts +++ b/plugins/techdocs-node/src/stages/generate/techdocs.ts @@ -53,7 +53,7 @@ export class TechdocsGenerator implements GeneratorBase { * The default docker image (and version) used to generate content. Public * and static so that techdocs-node consumers can use the same version. */ - public static readonly defaultDockerImage = 'spotify/techdocs:v1.2.0'; + public static readonly defaultDockerImage = 'spotify/techdocs:v1.2.1'; private readonly logger: Logger; private readonly containerRunner?: ContainerRunner; private readonly options: GeneratorConfig; From ad3fd99183cc305cbad1115f8089485ccb6d6290 Mon Sep 17 00:00:00 2001 From: Morgan Bentell Date: Wed, 24 May 2023 15:25:35 +0200 Subject: [PATCH 2/2] update api-report Signed-off-by: Morgan Bentell --- plugins/techdocs-node/api-report.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/techdocs-node/api-report.md b/plugins/techdocs-node/api-report.md index 2a2fe12946..b7941ac89a 100644 --- a/plugins/techdocs-node/api-report.md +++ b/plugins/techdocs-node/api-report.md @@ -243,7 +243,7 @@ export class TechdocsGenerator implements GeneratorBase { config: Config; scmIntegrations: ScmIntegrationRegistry; }); - static readonly defaultDockerImage = 'spotify/techdocs:v1.2.0'; + static readonly defaultDockerImage = 'spotify/techdocs:v1.2.1'; static fromConfig( config: Config, options: GeneratorOptions,