Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jv rox 21500 long running clusters should be able to run any commit #42

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

JoukoVirtanen
Copy link
Contributor

@JoukoVirtanen JoukoVirtanen commented Dec 19, 2023

Draft

Currently it is only possible to run the create long running github action for tagged commit that are short. E.g 4.3.0. Running with a longer tag such as 4.3.x-496-g61befc9f19 will cause the cluster name to be too long, resulting in a crash. This PR makes it possible run long running clusters with any commit.

Testing

Go to https://github.com/stackrox/test-gh-actions/actions/workflows/create-clusters.yml

Click "Run workflow"

Change the branch to jv-ROX-21500-long-running-clusters-should-be-able-to-run-any-commit

Change "Version of the images" to 4.3.x-496-g61befc9f19

Check "Create a long-running cluster on RC1"

Click "Run workflow"

@JoukoVirtanen JoukoVirtanen requested a review from a team as a code owner December 19, 2023 23:58
gh_log notice "working_directory= $working_directory"

ls
for file in `ls`; do

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[shellcheck (suggestion)] reported by reviewdog 🐶

Suggested change
for file in `ls`; do
for file in $(ls); do

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.

1 participant