cloud-native-toolkit / cloud-native-toolkit/planning

Terminal setup logic prone to leaving downlevel versions of tools on workstations

Open
#864 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
4
Forks
1
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
Logic used in https://github.com/cloud-native-toolkit/cloud-shell-commands/blob/main/install.sh will skip over existing installs of tools which may be downlevel, e.g. `igc`, `tkn`, `argocd` . This causes issues for users who may have used these tools before on a workstation and will miss out on features needed for the latest release.

**To Reproduce**
Steps to reproduce the behavior:
1. Previously install tools like `tkn` from brew or have used Cloud Native Tookit in the past on a workstation
2. Attempt to setup terminal with `curl -sL shell.cloudnativetoolkit.dev | bash -`

**Expected behavior**

```
igc --version
1.20.0
```

**Actual behavior**

```
igc --version
0.5.4
```

**IBM Cloud**
Select the services and tools affected

- [ ] IBM Kubernetes Service Managed Service
- [ ] Red Hat OpenShift Managed Services
- [ ] Jenkins
- [ ] Tekton
- [ ] SonarQube
- [ ] Pact
- [ ] Artifactory
- [ ] IBM Image Registry

**Desktop (please complete the following information):**
- OS: MacOS
- Browser N/A
- Version 11.4

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.