tektoncd / website

Tekton Website
https://tekton.dev
Apache License 2.0
62 stars 149 forks source link

CLI Linux repo installs wrong version #608

Open mchasteen opened 1 month ago

mchasteen commented 1 month ago

linux instructions install an older version it appears:

sudo apt update;sudo apt install -y gnupg sudo mkdir -p /etc/apt/keyrings/ sudo gpg --no-default-keyring --keyring /etc/apt/keyrings/tektoncd.gpg --keyserver keyserver.ubuntu.com --recv-keys 3EFE0E0A2F2F60AA echo "deb [signed-by=/etc/apt/keyrings/tektoncd.gpg] http://ppa.launchpad.net/tektoncd/cli/ubuntu eoan main"|sudo tee /etc/apt/sources.list.d/tektoncd-ubuntu-cli.list sudo apt update && sudo apt install -y tektoncd-cli

tkn version Thu 30 May 2024 11:40:53 PM

Client version: 2020-04-01T10:57:38Z Pipeline version: unknown

found via issue: https://github.com/tektoncd/pipeline/issues/5804

I resolved the issue by: sudo apt remove tektoncd-cli curl -LO https://github.com/tektoncd/cli/releases/download/v0.37.0/tektoncd-cli-0.37.0_Linux-64bit.deb sudo apt install ./tektoncd-cli-0.37.0_Linux-64bit.deb

tkn version Thu 30 May 2024 11:55:11 PM Client version: 0.37.0 Chains version: v0.20.1 Pipeline version: v0.56.4 Triggers version: v0.26.1 Dashboard version: v0.43.1 Operator version: v0.70.2

AlanGreene commented 1 month ago

Thanks for reporting this @mchasteen

@tektoncd/cli-maintainers fyi

piyush-garg commented 1 month ago

Hey @mchasteen Can you please try by replacing eoan to noble

mchasteen commented 1 month ago

Changing eoan to noble worked:

tkn version Fri 31 May 2024 03:44:21 PM Client version: 0.37.0 Chains version: v0.20.1 Pipeline version: v0.56.4 Triggers version: v0.26.1 Dashboard version: v0.43.1 Operator version: v0.70.2