From de10b275d34c0e70e1641ba7ba657df9d2a8388f Mon Sep 17 00:00:00 2001 From: Zhihe Li Date: Fri, 2 Jun 2023 13:33:51 -0400 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20Update=20worker=20binar?= =?UTF-8?q?y=20name=20to=20just=20boundary=20(#1704)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ✅ Closes: ICU-9570 --- .../app/components/form/worker/create-worker-led/index.js | 4 ++-- ui/admin/tests/acceptance/workers/create-test.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/admin/app/components/form/worker/create-worker-led/index.js b/ui/admin/app/components/form/worker/create-worker-led/index.js index 355f9ab64..aa62a3de2 100644 --- a/ui/admin/app/components/form/worker/create-worker-led/index.js +++ b/ui/admin/app/components/form/worker/create-worker-led/index.js @@ -120,10 +120,10 @@ sudo apt-get update && sudo apt-get install boundary ;\\ boundary server -config="${configPath}/pki-worker.hcl"`; const hcpContent = `sudo apt-get update && sudo apt-get install jq unzip ;\\ -wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary-worker/latest?license_class=hcp" \ +wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary/latest?license_class=enterprise" \ | jq -r '.builds[] | select(.arch == "amd64" and .os == "linux") | .url')" ;\\ unzip *.zip ;\\ -./boundary-worker server -config="${configPath}/pki-worker.hcl"`; +./boundary server -config="${configPath}/pki-worker.hcl"`; return this.features.isEnabled('byow-pki-hcp-cluster-id') ? hcpContent diff --git a/ui/admin/tests/acceptance/workers/create-test.js b/ui/admin/tests/acceptance/workers/create-test.js index f5f78b6f7..39870e1d4 100644 --- a/ui/admin/tests/acceptance/workers/create-test.js +++ b/ui/admin/tests/acceptance/workers/create-test.js @@ -77,7 +77,7 @@ module('Acceptance | workers | create', function (hooks) { assert .dom(createSection[1]) .doesNotIncludeText( - 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary-worker/latest?license_class=hcp"' + 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary/latest?license_class=enterprise"' ); }); @@ -90,7 +90,7 @@ module('Acceptance | workers | create', function (hooks) { assert .dom(createSection[1]) .includesText( - 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary-worker/latest?license_class=hcp"' + 'wget -q "$(curl -fsSL "https://api.releases.hashicorp.com/v1/releases/boundary/latest?license_class=enterprise"' ); assert .dom(createSection[1])