Skip to content

test: run upgrade test every time#2048

Merged
AndrewChubatiuk merged 2 commits intomasterfrom
upgrade-tests-every-time
Apr 9, 2026
Merged

test: run upgrade test every time#2048
AndrewChubatiuk merged 2 commits intomasterfrom
upgrade-tests-every-time

Conversation

@vrutkovs
Copy link
Copy Markdown
Collaborator

@vrutkovs vrutkovs commented Apr 9, 2026

I think recent version bump on master is making upgrade tests fail and we noticed this too late

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 6 files

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name=".github/workflows/operatorhub.yaml">

<violation number="1" location=".github/workflows/operatorhub.yaml:63">
P1: Installing `opm` into `/usr/local/bin` without `sudo` can fail with permission denied on GitHub runners, breaking the release workflow.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review, or fix all with cubic.

Comment thread .github/workflows/operatorhub.yaml Outdated
Comment on lines +63 to +64
curl -sL https://github.com/operator-framework/operator-registry/releases/download/v1.65.0/linux-amd64-opm -o /usr/local/bin/opm
chmod +x /usr/local/bin/opm
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot Apr 9, 2026

Choose a reason for hiding this comment

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

P1: Installing opm into /usr/local/bin without sudo can fail with permission denied on GitHub runners, breaking the release workflow.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At .github/workflows/operatorhub.yaml, line 63:

<comment>Installing `opm` into `/usr/local/bin` without `sudo` can fail with permission denied on GitHub runners, breaking the release workflow.</comment>

<file context>
@@ -48,58 +48,58 @@ jobs:
 
+      - name: Install opm
+        run: |
+          curl -sL https://github.com/operator-framework/operator-registry/releases/download/v1.65.0/linux-amd64-opm -o /usr/local/bin/opm
+          chmod +x /usr/local/bin/opm
+
</file context>
Suggested change
curl -sL https://github.com/operator-framework/operator-registry/releases/download/v1.65.0/linux-amd64-opm -o /usr/local/bin/opm
chmod +x /usr/local/bin/opm
sudo curl -fsSL https://github.com/operator-framework/operator-registry/releases/download/v1.65.0/linux-amd64-opm -o /usr/local/bin/opm
sudo chmod +x /usr/local/bin/opm
Fix with Cubic

@vrutkovs vrutkovs force-pushed the upgrade-tests-every-time branch from 1e35fbf to 84daf51 Compare April 9, 2026 16:54
@vrutkovs vrutkovs changed the title chore: migrate Openshift bundles to FBC test: run upgrade test every time Apr 9, 2026
@AndrewChubatiuk AndrewChubatiuk force-pushed the upgrade-tests-every-time branch from 96d92a3 to a04676e Compare April 9, 2026 17:21
@AndrewChubatiuk AndrewChubatiuk merged commit 4163b38 into master Apr 9, 2026
5 checks passed
@AndrewChubatiuk AndrewChubatiuk deleted the upgrade-tests-every-time branch April 9, 2026 17:34
vrutkovs added a commit that referenced this pull request Apr 17, 2026
* test: run upgrade test every time

* reuse e2e target

---------

Co-authored-by: Andrii Chubatiuk <andrew.chubatiuk@gmail.com>
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.

2 participants