Skip to content

[improvement] shorten resource names for templates and tests for easier compatibility with Linode API label length limits#871

Merged
AshleyDumaine merged 2 commits into
mainfrom
shorten-resource-names
Sep 9, 2025
Merged

[improvement] shorten resource names for templates and tests for easier compatibility with Linode API label length limits#871
AshleyDumaine merged 2 commits into
mainfrom
shorten-resource-names

Conversation

@AshleyDumaine

@AshleyDumaine AshleyDumaine commented Sep 8, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it: Shrinks the name of resources to more easily comply with the 32 character label limit for the linode API. This makes the following changes to the templates:

  • shortens all instances of "${CLUSTER_NAME}-control-plane" to "${CLUSTER_NAME}-cp"
  • removes -md-0 from the worker node templates

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests
  • adds or updates e2e tests

@codecov

codecov Bot commented Sep 8, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.17%. Comparing base (f440b2f) to head (d28623b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #871   +/-   ##
=======================================
  Coverage   65.17%   65.17%           
=======================================
  Files          71       71           
  Lines        7957     7957           
=======================================
  Hits         5186     5186           
  Misses       2469     2469           
  Partials      302      302           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v2.3.2...v2.3.3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@AshleyDumaine AshleyDumaine changed the title [improvement] shink resource name lengths for templates and tests [improvement] shorten resource names for templates and tests for easier compatibility with Linode API label length limits Sep 9, 2025
@AshleyDumaine AshleyDumaine merged commit 0706684 into main Sep 9, 2025
31 of 32 checks passed
@AshleyDumaine AshleyDumaine deleted the shorten-resource-names branch September 9, 2025 16:44
eljohnson92 pushed a commit that referenced this pull request Dec 10, 2025
…er compatibility with Linode API label length limits (#871)

* 🌱 Bump softprops/action-gh-release from 2.3.2 to 2.3.3 (#869)

Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.3.2 to 2.3.3.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](softprops/action-gh-release@v2.3.2...v2.3.3)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-version: 2.3.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* shrink the test names further

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

(cherry picked from commit 0706684)
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