From 07e2a2152ee2f65d568e51c8da49e9988d792fa0 Mon Sep 17 00:00:00 2001 From: Matheus Nogueira Date: Tue, 21 Mar 2023 17:37:15 -0300 Subject: [PATCH] Fix/chocolatey (#2229) * fix chocolatey test pipeline * set api key for chocolatey * enable debug in chocolatey * disable push * use cholatey repo url directly * set changes to correct pipeline * remove test file * test chocolatey * fix env injection a * fix env injection in real pipeline * test deploy * test with different version * use correct tag * remove test pipeline * update doc --- .github/workflows/release-version.yml | 4 +--- docs/src/components/GtagInstallCliTabs.jsx | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release-version.yml b/.github/workflows/release-version.yml index a31197699e..3d39ce2525 100644 --- a/.github/workflows/release-version.yml +++ b/.github/workflows/release-version.yml @@ -201,9 +201,7 @@ jobs: cd scripts/choco choco pack - choco apikey --key $CHOCOLATEY_API_KEY --source $CHOCOLATEY_REPO - choco push tracetest.$PACKAGE_VERSION.nupkg --source $CHOCOLATEY_REPO + choco push --source https://chocolatey.kubeshop.io/chocolatey --api-key $env:CHOCOLATEY_API_KEY tracetest.$env:PACKAGE_VERSION.nupkg env: CHOCOLATEY_API_KEY: ${{ secrets.COMMOM_CHOCO_API_KEY }} - CHOCOLATEY_REPO: ${{ secrets.CHOCOLATEY_REPO }} PACKAGE_VERSION: ${{ steps.cliDownload.outputs.version }} diff --git a/docs/src/components/GtagInstallCliTabs.jsx b/docs/src/components/GtagInstallCliTabs.jsx index 2cf4b115a7..1bd1f81bc4 100644 --- a/docs/src/components/GtagInstallCliTabs.jsx +++ b/docs/src/components/GtagInstallCliTabs.jsx @@ -39,10 +39,10 @@ export default function GtagInstallCliTabs() { language="bash" title="Terminal" > - {`choco source add --name=kubeshop_repo --source=https://chocolatey.kubeshop.io/chocolatey & choco install tracetest`} + {`choco source add --name=kubeshop_repo --source=https://chocolatey.kubeshop.io/chocolatey ; choco install tracetest`} ); -}; \ No newline at end of file +};