From 5669597c4d0faa2242d487a677f3eb8231f1049a Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 16 Jun 2023 12:25:19 -0400 Subject: [PATCH 1/4] Remove debug log of Nomad token Signed-off-by: josh --- .changeset/red-mayflies-smoke.md | 5 +++++ plugins/nomad-backend/src/service/router.ts | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 .changeset/red-mayflies-smoke.md diff --git a/.changeset/red-mayflies-smoke.md b/.changeset/red-mayflies-smoke.md new file mode 100644 index 0000000000..75cab2d87a --- /dev/null +++ b/.changeset/red-mayflies-smoke.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-nomad-backend': patch +--- + +Fix to remove debug log of token diff --git a/plugins/nomad-backend/src/service/router.ts b/plugins/nomad-backend/src/service/router.ts index f9355b27d0..d6b5aa1fc6 100644 --- a/plugins/nomad-backend/src/service/router.ts +++ b/plugins/nomad-backend/src/service/router.ts @@ -92,8 +92,6 @@ export async function createRouter( // Get job ID const jobID = (req.params.job_id as string) ?? ''; - logger.info(`token: ${token}`); - // Issue the request const apiResp = await fetch( `${addr}/v1/job/${jobID}/versions?namespace=${encodeURIComponent( From 121ed59402deaf226905958c1d7f689d62a50342 Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 16 Jun 2023 12:28:01 -0400 Subject: [PATCH 2/4] Bump backend package Signed-off-by: josh --- plugins/nomad/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nomad/package.json b/plugins/nomad/package.json index 7501aabf31..864702162f 100644 --- a/plugins/nomad/package.json +++ b/plugins/nomad/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-nomad", - "version": "0.0.0", + "version": "0.0.1", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", From 09b5d76725b07998c359594060dddf155d146dca Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 16 Jun 2023 12:32:57 -0400 Subject: [PATCH 3/4] Fix to make patch on backend Signed-off-by: josh --- plugins/nomad-backend/package.json | 2 +- plugins/nomad/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/nomad-backend/package.json b/plugins/nomad-backend/package.json index 344d120001..54b2cc8836 100644 --- a/plugins/nomad-backend/package.json +++ b/plugins/nomad-backend/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-nomad-backend", - "version": "0.0.0", + "version": "0.0.1", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", diff --git a/plugins/nomad/package.json b/plugins/nomad/package.json index 864702162f..7501aabf31 100644 --- a/plugins/nomad/package.json +++ b/plugins/nomad/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-nomad", - "version": "0.0.1", + "version": "0.0.0", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0", From 6a07a190dadec0c00a9d41cb8b763dbff47b9d12 Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 16 Jun 2023 14:34:55 -0400 Subject: [PATCH 4/4] Drop changelog Signed-off-by: josh --- .changeset/red-mayflies-smoke.md | 5 ----- plugins/nomad-backend/package.json | 2 +- 2 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .changeset/red-mayflies-smoke.md diff --git a/.changeset/red-mayflies-smoke.md b/.changeset/red-mayflies-smoke.md deleted file mode 100644 index 75cab2d87a..0000000000 --- a/.changeset/red-mayflies-smoke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@backstage/plugin-nomad-backend': patch ---- - -Fix to remove debug log of token diff --git a/plugins/nomad-backend/package.json b/plugins/nomad-backend/package.json index 54b2cc8836..344d120001 100644 --- a/plugins/nomad-backend/package.json +++ b/plugins/nomad-backend/package.json @@ -1,6 +1,6 @@ { "name": "@backstage/plugin-nomad-backend", - "version": "0.0.1", + "version": "0.0.0", "main": "src/index.ts", "types": "src/index.ts", "license": "Apache-2.0",