Skip to content

Conversation

@jason-lynch
Copy link
Member

@jason-lynch jason-lynch commented Nov 30, 2025

The cluster tests use the same image build that we use to publish release images. The tests were also written to use the latest tag by default. However, we don't produce a latest tag when we publish release candidate images. This caused the tests to fail on the most recent release branch because it was trying to test a nonexistent image.

This commit resolves the issue by reusing the existing CONTROL_PLANE_VERSION environment variable to compute the default tag in the cluster tests.

You can test this change by temporarily creating a pre-release tag and running the tests.

Caution

Please be careful not to push this tag by accident because doing so will trigger a release!

# create a new pre-release tag
git tag v0.6.0-rc.1

# run the tests using the pre-release tag
make test-cluster

# delete the tag
git tag -d v0.6.0-rc.1

The cluster tests use the same image build that we use to publish
release images. The tests were also written to use the `latest` tag by
default. However, we don't produce a `latest` tag when we publish
release candidate images. This caused the tests to fail on the most
recent release branch because it was trying to test a nonexistent image.

This commit resolves the issue by reusing the existing
`CONTROL_PLANE_VERSION` environment variable to compute the default tag
in the cluster tests.

You can test this change by temporarily creating a pre-release tag and
running the tests.

> [!CAUTION]
> Please be careful not to push this tag by accident because doing so
> will trigger a release!

```sh
# create a new pre-release tag
git tag v0.6.0-rc.1

# run the tests using the pre-release tag
make test-cluster

# delete the tag
git tag -d v0.6.0-rc.1
```
Copy link
Contributor

@rshoemaker rshoemaker left a comment

Choose a reason for hiding this comment

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

LGTM

@jason-lynch jason-lynch merged commit dbabfcb into main Dec 1, 2025
2 checks passed
@jason-lynch jason-lynch deleted the test/fix-cluster-test-for-rcs branch December 1, 2025 14:48
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.

3 participants