Skip to content

Conversation

@MikeSpreitzer
Copy link
Contributor

@MikeSpreitzer MikeSpreitzer commented Jan 5, 2026

Summary

This is a follow-on to #594, fixing remaining issues from that PR.

  1. Update the release process to include E2E testing of the new release.

  2. Fix organization and other issues in the documentation of E2E testing.

  3. Fix the indenting in test/e2e/setup-kubeflex.sh.

  4. Make test/e2e/setup-kubeflex.sh follow the instructions of the release being tested.

  5. Describe input to test/e2e/setup-kubeflex.sh in
    on.workflow_call, so that, e.g., a future PR could make the goreleaser workflow call the E2E test workflow on the release just made.

  6. When testing a release, install bin/kflex from that release (because the E2E test suite uses it).

  7. Use the same Helm release name when testing a release as when testing local source, so that the debugging job steps for examining the release do not fail.

Related issue(s)

Fixes #

@kubestellar-prow kubestellar-prow bot added dco-signoff: yes Indicates the PR's author has signed the DCO. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Jan 5, 2026
@MikeSpreitzer MikeSpreitzer requested review from Copilot, pdettori and waltforme and removed request for Copilot and waltforme January 5, 2026 07:34
@MikeSpreitzer
Copy link
Contributor Author

/cc @francostellari
@shivansh-source

1. Update the release process to include E2E testing of
   the new release.

2. Fix organization and other issues in the documentation
   of E2E testing.

3. Fix the indenting in test/e2e/setup-kubeflex.sh.

4. Make test/e2e/setup-kubeflex.sh follow the instructions
   of the release being tested.

5. Describe input to test/e2e/setup-kubeflex.sh in
   `on.workflow_call`.

Signed-off-by: Mike Spreitzer <[email protected]>
@MikeSpreitzer
Copy link
Contributor Author

Successfully tested against local source by CI (https://github.com/kubestellar/kubeflex/actions/runs/20709952170).

Successfully tested against release v0.9.1 at https://github.com/MikeSpreitzer/kubeflex/actions/runs/20709969498

Successfully demonstrated that release v0.9.2 is broken at https://github.com/MikeSpreitzer/kubeflex/actions/runs/20710030611

@pdettori
Copy link
Contributor

pdettori commented Jan 5, 2026

/lgtm

@kubestellar-prow kubestellar-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 5, 2026
@kubestellar-prow
Copy link
Contributor

LGTM label has been added.

DetailsGit tree hash: f201a267e0f3f0493132ce1ff8fc2bfc59618fc8

@MikeSpreitzer MikeSpreitzer requested a review from Copilot January 5, 2026 17:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses remaining issues from #594 related to E2E testing infrastructure. It improves the release process by adding E2E validation, fixes documentation organization, and enhances the test setup script to properly handle different release versions with correct installation methods.

Key changes:

  • Added E2E testing as a required step in the release process
  • Enhanced test setup script to use the official installation script for releases and handle version-specific installation differences
  • Standardized workflow inputs for better integration with other workflows

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
test/e2e/setup-kubeflex.sh Updated to use official installation script for releases and handle version-specific Helm installation patterns
test/e2e/README.md Reorganized and simplified documentation structure for clarity
docs/contributors.md Added E2E testing validation step to the release process
.github/workflows/test-e2e.yaml Added workflow_call inputs to enable programmatic invocation with release parameter

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.


bash <(curl -s https://raw.githubusercontent.com/kubestellar/kubeflex/refs/tags/${release}/scripts/install-kubeflex.sh) --version $release --ensure-folder bin --strip-bin -X

if [[ "${release}" < v0.9.2 ]]; then
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

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

String comparison using < will perform lexicographic comparison, not semantic version comparison. This will fail for versions like v0.10.0 or v0.9.10, which would be considered 'less than' v0.9.2 lexicographically. Use a proper version comparison function or tool like sort -V to compare semantic versions.

Copilot uses AI. Check for mistakes.
```
Wait until goreleaser completes the release process.

1. Invoke [the E2E test workflow](.github/workflows/test-e2e.yaml) on
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

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

The file path '.github/workflows/test-e2e.yaml' is a relative path from the docs directory, but it should be relative to the repository root or use an absolute GitHub URL. The correct relative path from the docs directory would be '../.github/workflows/test-e2e.yaml'.

Suggested change
1. Invoke [the E2E test workflow](.github/workflows/test-e2e.yaml) on
1. Invoke [the E2E test workflow](../.github/workflows/test-e2e.yaml) on

Copilot uses AI. Check for mistakes.
@kubestellar-prow kubestellar-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Jan 5, 2026
Signed-off-by: Mike Spreitzer <[email protected]>
@MikeSpreitzer
Copy link
Contributor Author

@pdettori
Copy link
Contributor

pdettori commented Jan 5, 2026

/lgtm

@kubestellar-prow kubestellar-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jan 5, 2026
@kubestellar-prow
Copy link
Contributor

LGTM label has been added.

DetailsGit tree hash: c7a348ee7cdc3799d38b974d6b628acddb41fbcb

@MikeSpreitzer
Copy link
Contributor Author

/approve

@kubestellar-prow
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: MikeSpreitzer

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kubestellar-prow kubestellar-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 5, 2026
@kubestellar-prow kubestellar-prow bot merged commit 92b0e21 into kubestellar:main Jan 5, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants