Skip to content

Conversation

jsmid1
Copy link
Contributor

@jsmid1 jsmid1 commented Sep 24, 2025

This PR is for testing purposes.

Summary by CodeRabbit

  • Tests

    • Updated end-to-end and UI test pipeline tasks to point to a new test repository and revision so automated tests run against the intended test sources.
  • Chores

    • CI pipeline maintenance to keep test sources current, improving reliability and reducing flakiness.

Copy link

coderabbitai bot commented Sep 24, 2025

Walkthrough

Updated a Tekton pipeline YAML to change the Git repository URL and revision for two tasks; PathInRepo and image references remain unchanged.

Changes

Cohort / File(s) Summary
Pipeline task repository updates
integration-tests/pipelines/tssc-cli-e2e.yaml
For tasks tssc-e2e-tests and rhtap-ui-tests: changed Git URL from https://github.com/redhat-appstudio/tssc-test.git to https://github.com/jsmid1/tssc-test.git and changed revision from main to RHTAP-5631. pathInRepo and image references were not modified.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • otaviof
  • Roming22

Poem

"I hopped through YAML, soft and spry,
Swapped a repo, a branch nearby.
Two tasks now point where fresh code lives,
No images touched — just gentle shifts.
A rabbit's cheer for tidy digs! 🥕"

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title Check ⚠️ Warning The title indicates tasks were changed for testing purposes but is overly generic and cluttered with the “[DO NOT MERGE]” prefix, and it fails to specify the primary change of updating pipeline tasks to a new Git repository and revision. Please remove the “[DO NOT MERGE]” prefix and adopt a concise title that highlights the main change, for example “Update tssc-cli e2e pipeline tasks to use jsmid1/tssc-test@RHTAP-5631.”
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 877e6df and ac5b170.

📒 Files selected for processing (1)
  • integration-tests/pipelines/tssc-cli-e2e.yaml (2 hunks)

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

openshift-ci bot commented Sep 24, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: jsmid1
Once this PR has been reviewed and has the lgtm label, please assign rhopp for approval. For more information see the Code Review Process.

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

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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Nitpick comments (2)
integration-tests/pipelines/tssc-cli-e2e.yaml (2)

149-153: Parameterize tssc test repo/revision; default to upstream/main

Verified jsmid1 fork branch RHTAP-5631 and the referenced path exist.

File: integration-tests/pipelines/tssc-cli-e2e.yaml (lines 149-153)

-          - name: url
-            value: https://github.com/jsmid1/tssc-test.git
+          - name: url
+            value: $(params.tssc-tests-repo)
-          - name: revision
-            value: RHTAP-5631
+          - name: revision
+            value: $(params.tssc-tests-revision)

Add these pipeline params under spec.params:

- name: tssc-tests-repo
  description: Git repo for tssc test tasks
  type: string
  default: https://github.com/redhat-appstudio/tssc-test.git
- name: tssc-tests-revision
  description: Git revision for tssc test tasks
  type: string
  default: main

171-175: Replace hardcoded tssc-tests repo/revision with params

integration-tests/pipelines/tssc-cli-e2e.yaml (lines 171-175) — verified branch RHTAP-5631 and integration-tests/tasks/tssc-ui.yaml exist in https://github.com/jsmid1/tssc-test.git. Apply this diff:

-          - name: url
-            value: https://github.com/jsmid1/tssc-test.git
+          - name: url
+            value: $(params.tssc-tests-repo)
-          - name: revision
-            value: RHTAP-5631
+          - name: revision
+            value: $(params.tssc-tests-revision)
📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e92b52a and 945287b.

📒 Files selected for processing (1)
  • integration-tests/pipelines/tssc-cli-e2e.yaml (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Red Hat Konflux / tssc-cli-on-pull-request

@jsmid1
Copy link
Contributor Author

jsmid1 commented Sep 25, 2025

/retest

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a8ec0ee and 877e6df.

📒 Files selected for processing (1)
  • integration-tests/pipelines/tssc-cli-e2e.yaml (2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: Red Hat Konflux / tssc-cli-on-pull-request

Comment on lines +130 to +132
value: https://github.com/jsmid1/tssc-test.git
- name: revision
value: main
value: RHTAP-5631
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🔴 Critical

Revert remote task source to trusted org repo

Pointing the Tekton git resolver at a personal fork on branch RHTAP-5631 bypasses the vetted redhat-appstudio/tssc-test code and exposes the pipeline to unreviewed remote resources—exactly the supply-chain compromise scenario Tekton’s trusted-resources model is designed to guard against.(github.com) Restore these references to the upstream organization repository (or ensure they are signed and verified before execution) before this merges.

-          - name: url
-            value: https://github.com/jsmid1/tssc-test.git
-          - name: revision
-            value: RHTAP-5631
+          - name: url
+            value: https://github.com/redhat-appstudio/tssc-test.git
+          - name: revision
+            value: main

Also applies to: 152-154

🤖 Prompt for AI Agents
integration-tests/pipelines/tssc-cli-e2e.yaml around lines 130-132 (and also
lines 152-154): the git resolver is pointed at a personal fork and branch
(jsmid1/tssc-test, revision RHTAP-5631); replace the repository URL and revision
with the vetted upstream organization repo and appropriate trusted ref (e.g.,
github.com/redhat-appstudio/tssc-test and a stable tag/branch or commit hash),
or ensure that any external repo/branch used is cryptographically
signed/verified and referenced accordingly; update both locations (130-132 and
152-154) to reference the trusted upstream repo and trusted ref before merging.

@jsmid1
Copy link
Contributor Author

jsmid1 commented Oct 2, 2025

/retest

@jsmid1
Copy link
Contributor Author

jsmid1 commented Oct 2, 2025

/retest

1 similar comment
@jsmid1
Copy link
Contributor Author

jsmid1 commented Oct 2, 2025

/retest

Copy link

sonarqubecloud bot commented Oct 2, 2025

@jsmid1
Copy link
Contributor Author

jsmid1 commented Oct 2, 2025

/retest

@konflux-ci-qe-bot
Copy link

@jsmid1: The following test has Failed, say /retest to rerun failed tests.

PipelineRun Name Status Rerun command Build Log Test Log
e2e-4.19-27rdm Failed /retest View Pipeline Log View Test Logs

Inspecting Test Artifacts

To inspect your test artifacts, follow these steps:

  1. Install ORAS (see the ORAS installation guide).
  2. Download artifacts with the following commands:
mkdir -p oras-artifacts
cd oras-artifacts
oras pull quay.io/konflux-test-storage/rhtap-team/rhtap-cli:e2e-4.19-27rdm

Test results analysis

<not enabled>

OCI Artifact Browser URL

<not enabled>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants