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

Simplify GCP VM name generation #1765

Merged
merged 4 commits into from
Jul 31, 2024
Merged

Conversation

Stringy
Copy link
Collaborator

@Stringy Stringy commented Jul 31, 2024

Description

Remove collection method (unused)
Remove collector- prefix (it's implied)
Truncate family name to max 16 characters
Hash and truncate the job id suffix

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why you did not do so. (Valid reasons include "CI is sufficient" or "No testable changes")
In addition to reviewing your code, reviewers must also review your testing instructions, and make sure they are sufficient.

For more details, ref the Confluence page about this section.

Remove collection method (unused)
Remove collector- prefix (it's implied)
Truncate family name to max 16 characters
@Stringy Stringy marked this pull request as ready for review July 31, 2024 15:05
@Stringy Stringy requested a review from a team as a code owner July 31, 2024 15:05
Copy link
Collaborator

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

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

Looks good, just a couple comments and waiting on CI to check everything is in order.

ansible/roles/create-all-vms/tasks/by-family.yml Outdated Show resolved Hide resolved
@Stringy Stringy requested a review from Molter73 July 31, 2024 15:42
Copy link
Collaborator

@Molter73 Molter73 left a comment

Choose a reason for hiding this comment

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

LGTM!

@Stringy Stringy merged commit 213f319 into master Jul 31, 2024
44 checks passed
@Stringy Stringy deleted the giles/fix-coreos-gcp-vm-name-size branch July 31, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants