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

test: use the first five chars of md5sum of unique workflow run ident… #49

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

tommyp1ckles
Copy link
Collaborator

@tommyp1ckles tommyp1ckles commented Mar 25, 2024

The tuple (repo, run_id, run_attempt) identifies a workflow run, however this is too long for the terraform talos name. So we use this to generate a 5-digit hash instead of using random 3 digit ids which are prone to collisions.

@tommyp1ckles tommyp1ckles force-pushed the pr/tp/fix-naming-collisions branch 3 times, most recently from cf376ec to 1001a79 Compare March 27, 2024 02:56
@tommyp1ckles tommyp1ckles reopened this Apr 16, 2024
…ifier.

The tuple (repo, run_id, run_attempt) identifies a run, however this is too
long for the terraform talos name. So we use this to generate a 5-digit hash
instead of using random 3 digit ids which are prone to collisions.

Signed-off-by: Tom Hadlaw <[email protected]>
@tommyp1ckles tommyp1ckles merged commit f3633c1 into main Apr 22, 2024
8 checks passed
@PhilipSchmid PhilipSchmid deleted the pr/tp/fix-naming-collisions branch June 12, 2024 09:42
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