Repository navigation
Conversation
…onents Pass installer-repo/installer-ref through to the e2e reusable workflows so PRs touching fulfillment-service, osac-operator, osac-aap, or bare-metal-fulfillment-operator deploy osac-installer from the same fork/ref, matching the existing components[].repo/.ref pattern. Also removes the two nested e2e workflow files under osac-installer/.github/ that GitHub never discovers there (workflows only run from the repo root's .github/workflows/) and that duplicated the root callers.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: eliorerz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
WalkthroughThe root BMaaS, CaaS, and VMaaS workflows now pass explicit installer repository and ref inputs. BMaaS uses a new reusable workflow source. The installer’s nested BMaaS and VMaaS workflows were removed. ChangesInstaller source routing
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 11✅ Passed checks (11 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/e2e-bmaas-full-install.yml:
- Line 70: Update the reusable workflow reference in the uses declaration to
replace the mutable osac-3528-drop-dead-osac-ui-followup ref with the full
40-character immutable commit SHA, preserving the existing workflow path and
organization.
- Line 80: Replace the mutable installer-ref expression with the pull request
head SHA for PR events and github.sha otherwise in all three callers:
.github/workflows/e2e-bmaas-full-install.yml:80,
.github/workflows/e2e-caas-full-install.yml:87, and
.github/workflows/e2e-vmaas-full-install.yml:87. Keep the installer-ref key
unchanged while ensuring each workflow uses immutable revisions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: osac-project/coderabbit/.coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: 11449623-9c21-499b-90a9-66db9c0e909a
📒 Files selected for processing (5)
.github/workflows/e2e-bmaas-full-install.yml.github/workflows/e2e-caas-full-install.yml.github/workflows/e2e-vmaas-full-install.ymlosac-installer/.github/workflows/e2e-bmaas-full-install.ymlosac-installer/.github/workflows/e2e-vmaas-full-install.yml
💤 Files with no reviewable changes (2)
- osac-installer/.github/workflows/e2e-bmaas-full-install.yml
- osac-installer/.github/workflows/e2e-vmaas-full-install.yml
| needs: changes | ||
| if: needs.changes.outputs.should-run == 'true' | ||
| uses: osac-project/osac-test-infra/.github/workflows/e2e-bmaas-full-install.yml@main | ||
| uses: eliorerz/osac-test-infra/.github/workflows/e2e-bmaas-full-install.yml@osac-3528-drop-dead-osac-ui-followup |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
#!/usr/bin/env bash
set -euo pipefail
sha="$(
git ls-remote --exit-code \
https://github.com/eliorerz/osac-test-infra.git \
refs/heads/osac-3528-drop-dead-osac-ui-followup |
awk 'NR == 1 { print $1 }'
)"
[[ "$sha" =~ ^[0-9a-f]{40}$ ]]
printf '%s\n' "$sha"Repository: osac-project/osac
Length of output: 196
🏁 Script executed:
#!/usr/bin/env bash
set -euo pipefail
echo "== workflow snippet =="
sed -n '1,120p' .github/workflows/e2e-bmaas-full-install.yml
echo
echo "== all uses in workflow =="
rg -n "uses:|GITHUB_TOKEN|permissions:|pull_request_target|checkout|pull-request" .github/workflows/e2e-bmaas-full-install.ymlRepository: osac-project/osac
Length of output: 6029
Pin the reusable workflow to an immutable commit.
eliorerz/osac-test-infra is referenced with the mutable branch osac-3528-drop-dead-osac-ui-followup at line 70. Use the full 40-character commit SHA for this ref or switch the branch to a pinned SHA before merging.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/e2e-bmaas-full-install.yml at line 70, Update the reusable
workflow reference in the uses declaration to replace the mutable
osac-3528-drop-dead-osac-ui-followup ref with the full 40-character immutable
commit SHA, preserving the existing workflow path and organization.
Source: Path instructions
| # must deploy from this PR's own fork/ref, not the reusable workflow's | ||
| # standalone-repo default. | ||
| installer-repo: ${{ github.event.pull_request.head.repo.full_name || github.repository }} | ||
| installer-ref: ${{ github.event.pull_request.head.ref || github.ref_name }} |
There was a problem hiding this comment.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
Use immutable installer revisions in all three callers.
Each installer-ref uses a mutable repository ref. Use github.event.pull_request.head.sha for pull request events and github.sha for non-PR events in all three workflows.
.github/workflows/e2e-bmaas-full-install.yml#L80.github/workflows/e2e-caas-full-install.yml#L87.github/workflows/e2e-vmaas-full-install.yml#L87
📍 Affects 3 files
.github/workflows/e2e-bmaas-full-install.yml#L80-L80(this comment).github/workflows/e2e-caas-full-install.yml#L87-L87.github/workflows/e2e-vmaas-full-install.yml#L87-L87
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In @.github/workflows/e2e-bmaas-full-install.yml at line 80, Replace the mutable
installer-ref expression with the pull request head SHA for PR events and
github.sha otherwise in all three callers:
.github/workflows/e2e-bmaas-full-install.yml:80,
.github/workflows/e2e-caas-full-install.yml:87, and
.github/workflows/e2e-vmaas-full-install.yml:87. Keep the installer-ref key
unchanged while ensuring each workflow uses immutable revisions.
|
Verification complete. The e2e-bmaas run against this branch (pointed at eliorerz/osac-test-infra@osac-3528-drop-dead-osac-ui-followup) passed end to end, including Install OSAC (which previously failed trying to fetch a nonexistent osac-ui:0.0.0 OCI chart) and Run E2E tests. Closing without merging per this PR's stated purpose -- the real fix is in osac-test-infra#293, which has already merged. |
NO_ISSUE: update osac-aap to latest
…-e2e OSAC-2920: Add BMaaS E2E caller workflow
NO-ISSUE: Remove published filtering as public API servers only published catal…
Throwaway PR to exercise osac-project/osac-test-infra#293's chart-version-override hotfix (scoping the yq 0.0.0 override to file:// deps so osac-ui's real oci:// dependency isn't broken). Points the bmaas caller's
uses:at eliorerz/osac-test-infra@osac-3528-drop-dead-osac-ui-followup. Will be closed (not merged) once verified. See osac-project/osac-test-infra#293 for the real PR.Summary by CodeRabbit