Skip to content

Trim repo/org/enterprise to 63 characters in label values#2657

Merged
nikola-jokic merged 2 commits intomasterfrom
nikola-jokic/repo-name-limit
Jun 9, 2023
Merged

Trim repo/org/enterprise to 63 characters in label values#2657
nikola-jokic merged 2 commits intomasterfrom
nikola-jokic/repo-name-limit

Conversation

@nikola-jokic
Copy link
Copy Markdown
Collaborator

No description provided.

@nikola-jokic nikola-jokic requested review from a team, mumoshu and toast-gear as code owners June 9, 2023 08:58

const trimLabelVauleSuffix = "-trim"

func trimLabelValue(val string) string {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

do we have anything else need to trim? both in code and helm chart, might worth to double check all labels on an installed ARC.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I'll test it 😄

@nikola-jokic nikola-jokic merged commit 9493481 into master Jun 9, 2023
@nikola-jokic nikola-jokic deleted the nikola-jokic/repo-name-limit branch June 9, 2023 18:57
@Link- Link- added the gha-runner-scale-set Related to the gha-runner-scale-set mode label Jul 28, 2023
@Link- Link- added this to the gha-runner-scale-set-0.5.0 milestone Jul 28, 2023
@Link- Link- mentioned this pull request Jul 28, 2023
unpollito pushed a commit to DistruApp/actions-runner-controller that referenced this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gha-runner-scale-set Related to the gha-runner-scale-set mode

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants