Skip to content

fix: long-running cluster access script needs to run from local machine#35

Merged
tommartensen merged 1 commit intomainfrom
tm/ROX-19105-fix-cluster-access-instruction
Oct 19, 2023
Merged

fix: long-running cluster access script needs to run from local machine#35
tommartensen merged 1 commit intomainfrom
tm/ROX-19105-fix-cluster-access-instruction

Conversation

@tommartensen
Copy link
Copy Markdown
Collaborator

... instead of via curl.
That is because it is sourcing lib.sh from the same directory, which is obviously not available if only the script is downloaded.

Example error:

$ curl -L https://raw.githubusercontent.com/stackrox/stackrox/master/scripts/release-tools/setup-central-access.sh | bash -s -- long-fake-load-4.2.2-rc.1
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   813  100   813    0     0   2944      0 --:--:-- --:--:-- --:--:--  3000
bash: line 7: ./lib.sh: No such file or directory

This updates the Slack notification.

@tommartensen tommartensen self-assigned this Oct 18, 2023
@tommartensen tommartensen requested a review from a team as a code owner October 18, 2023 13:28
@tommartensen tommartensen merged commit 8172018 into main Oct 19, 2023
@tommartensen tommartensen deleted the tm/ROX-19105-fix-cluster-access-instruction branch October 19, 2023 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants