Skip to content

ci: restore v0.60 sample environment initialization - #2663

Open
willdavsmith wants to merge 2 commits into
v0.60from
willdavsmith-scheduled-sample-test-fix
Open

ci: restore v0.60 sample environment initialization#2663
willdavsmith wants to merge 2 commits into
v0.60from
willdavsmith-scheduled-sample-test-fix

Conversation

@willdavsmith

Copy link
Copy Markdown
Contributor

Summary

Restore explicit Radius environment initialization in the v0.60 sample-test workflow and correct release-channel selection for pull requests.

Reason for change

Fixes #2661.

Radius v0.60.2 installs only the control plane. The workflow still passed the removed installation --preview flag for demo and assumed installation created the default resource group/environment for all samples.

Adapt the initialization fix from #2657 to v0.60: create the default resource group and workspace, create the appropriate preview or legacy environment, and select it before deployment. Preserve the preview default recipe pack and existing legacy recipe registrations.

Release PRs also incorrectly compared their bare base branch against a pull-ref pattern, leaving the CLI version as edge. Derive the release channel from the actual PR base branch instead.

The separate issue-reporting permission failure is tracked in #2662 and is not changed here.

How to test

  • Run Test Samples (K3D) on the PR branch with version: 0.60.2.
  • Confirm demo, dapr, and volumes complete initialization, deployment, and cleanup; confirm demo Playwright passes.
  • Confirm a PR targeting v0.60 selects RADIUS_VERSION=0.60, not edge.
  • After merge, confirm a scheduled v0.60 run succeeds.

Completed validation: workflow run 34253711907 passed all three matrix jobs on commit 35b56643d2ef53641c2c26caccacf48c6eaa3f5f using Radius 0.60.2. Local YAML parsing, modified shell syntax, eight event/version-selection cases, and diff checks also passed. PR-event and post-merge scheduled execution remain to be confirmed.

File change summary

File Summary of change
.github/workflows/test.yaml Remove the unsupported installation flag, initialize/select deployment state explicitly, retain preview/legacy recipe behavior, and fix release PR channel selection.

Signed-off-by: willdavsmith <willdavsmith@gmail.com>
@willdavsmith
willdavsmith requested review from a team as code owners September 8, 2026 17:02
@willdavsmith
willdavsmith changed the base branch from v0.59 to v0.60 September 8, 2026 17:02
Signed-off-by: willdavsmith <willdavsmith@gmail.com>
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

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.

Scheduled K3D sample tests fail during default environment initialization

1 participant