Skip to content

Commit

Permalink
Fix/chocolatey (#2229)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
mathnogueira committed Mar 21, 2023
1 parent 98240bc commit 07e2a21
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release-version.yml
Expand Up @@ -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 }}
4 changes: 2 additions & 2 deletions docs/src/components/GtagInstallCliTabs.jsx
Expand Up @@ -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`}
</CodeBlock>
</div>
</TabItem>
</Tabs>
);
};
};

0 comments on commit 07e2a21

Please sign in to comment.