Skip to content

Conversation

@jsmid1
Copy link
Contributor

@jsmid1 jsmid1 commented Sep 15, 2025

This PR is for testing purposes.

Summary by CodeRabbit

  • Tests
    • Added a new integration test configuration combining: GitHub (source control), Azure (CI), Quay (container registry), and remote TPA and ACS.
    • Appended the new scenario to the existing matrix; all other scenarios and test definitions remain unchanged.
    • No user-facing behavior is affected; this update only expands the integration test coverage.
    • No changes to exported or public interfaces.

@openshift-ci openshift-ci bot requested review from Roming22 and otaviof September 15, 2025 12:09
@openshift-ci
Copy link

openshift-ci bot commented Sep 15, 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 prietyc123 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

@coderabbitai
Copy link

coderabbitai bot commented Sep 15, 2025

Walkthrough

Updated the pipeline task Git source and revision in the tssc-cli-e2e pipeline and appended a new tssc configuration entry to the integration test plan JSON. No control flow or pipeline logic was changed.

Changes

Cohort / File(s) Summary of Changes
Pipeline source updates
integration-tests/pipelines/tssc-cli-e2e.yaml
Changed the tssc-test Git source URL from https://github.com/redhat-appstudio/tssc-test.git to https://github.com/jsmid1/tssc-test.git and updated the revision from main to RHTAP-4916-config for the UI test task(s) referencing integration-tests/tasks/tssc-ui.yaml.
Testplan additions
integration-tests/config/testplan.json
Appended a new tssc entry with { "git":"github", "ci":"azure", "registry":"quay", "tpa":"remote", "acs":"remote" } to the tssc array.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

lgtm

Suggested reviewers

  • otaviof
  • Roming22
  • rhopp

Poem

I hopped through YAML, tiny paws anew,
Swapped a URL, and pointed to a new view.
A testplan grows one record more,
Fresh branch, fresh fork, I bounced on the floor.
🐇✨

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Title Check ⚠️ Warning The title accurately describes adding Azure to the CI configuration but includes unnecessary noise in the form of “[DO NOT MERGE]” and the ticket reference, which detract from clarity and conciseness. Please remove the “[DO NOT MERGE]” tag and the ticket identifier so the title simply reads “Add Azure to CI configuration” for improved readability.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

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.

@jsmid1
Copy link
Contributor Author

jsmid1 commented Sep 15, 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

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

171-176: Parameterize repo URL and revision for easier toggling in test vs. prod.

Make these values pipeline params to avoid future code diffs and accidental merges with test settings.

Within this block:

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

Add params near other pipeline params:

- name: tssc-test-repo-url
  type: string
  default: https://github.com/redhat-appstudio/tssc-test.git
- name: tssc-test-revision
  type: string
  default: main
📜 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 9852260 and 5063705.

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

165-168: Keeping onError: continue here is fine for non‑blocking UI tests.

This protects cluster deprovision and artifact collection even if UI tests fail.


171-176: Resolved — target file exists at the specified ref (HTTP 200)
HTTP 200 confirmed for the raw URL; no CI change required.


149-154: Confirm intentional version skew between steps.

Resolved task specs differ: redhat-appstudio/tssc-test@main -> integration-tests/tasks/tssc-e2e.yaml (10,063 bytes, metadata.name: tssc-e2e) vs jsmid1/tssc-test@RHTAP-4916-config -> integration-tests/tasks/tssc-ui.yaml (6,124 bytes, metadata.name: tssc-ui). Confirm this split is intentional to avoid task/API drift.

File: integration-tests/pipelines/tssc-cli-e2e.yaml — lines 149–154 and 171–176.

Comment on lines 171 to 158
- name: url
value: https://github.com/redhat-appstudio/tssc-test.git
value: https://github.com/jsmid1/tssc-test.git
- name: revision
value: main
value: RHTAP-4916-config
- name: pathInRepo
value: integration-tests/tasks/tssc-ui.yaml
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Pin to a commit SHA and avoid personal fork for pipeline supply‑chain safety.

Pointing Tekton resolver to a mutable branch on a personal fork is risky. Pin to an immutable commit SHA (and, ideally, keep source under the trusted org) to ensure reproducible, auditable runs.

Apply after replacing <COMMIT_SHA> with the exact commit on RHTAP-4916-config:

-          - name: url
-            value: https://github.com/jsmid1/tssc-test.git
+          - name: url
+            value: https://github.com/jsmid1/tssc-test.git
           - name: revision
-            value: RHTAP-4916-config
+            value: <COMMIT_SHA>
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: url
value: https://github.com/redhat-appstudio/tssc-test.git
value: https://github.com/jsmid1/tssc-test.git
- name: revision
value: main
value: RHTAP-4916-config
- name: pathInRepo
value: integration-tests/tasks/tssc-ui.yaml
- name: url
value: https://github.com/jsmid1/tssc-test.git
- name: revision
value: <COMMIT_SHA>
- name: pathInRepo
value: integration-tests/tasks/tssc-ui.yaml
🤖 Prompt for AI Agents
In integration-tests/pipelines/tssc-cli-e2e.yaml around lines 171 to 176 the
Tekton resolver points at a mutable branch on a personal fork; replace the
repository URL with the trusted org repo (not a personal fork) and set revision
to the exact commit SHA instead of the branch name (replace <COMMIT_SHA> with
the actual SHA for RHTAP-4916-config); ensure pathInRepo remains correct and
verify the SHA exists in the chosen trusted repo so the pipeline uses an
immutable, auditable source.

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/config/testplan.json (2)

28-32: Fix indentation to match surrounding JSON style.

Align with the existing 6–8 space indentation for consistency.

-      {
-      "git": "github",
-      "ci": "azure",
-      "registry": "quay",
-      "tpa": "remote",
-      "acs": "remote"
+      {
+        "git": "github",
+        "ci": "azure",
+        "registry": "quay",
+        "tpa": "remote",
+        "acs": "remote"
       }

26-33: Confirm test coverage for the new Azure/remote variant.

The tests array is unchanged; ensure there’s at least one test path exercising this new tssc combo or that it’s intentionally excluded for this DO NOT MERGE run.

📜 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 5063705 and 670f265.

📒 Files selected for processing (2)
  • integration-tests/config/testplan.json (1 hunks)
  • integration-tests/pipelines/tssc-cli-e2e.yaml (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • integration-tests/pipelines/tssc-cli-e2e.yaml
🔇 Additional comments (1)
integration-tests/config/testplan.json (1)

26-33: Schema compatibility: verify that "ci": "azure" is supported by consumers

If code validates/branches on CI values, ensure "azure" is included in the accepted enum (e.g., tekton, githubactions, gitlabci); otherwise this entry may be ignored or fail validation.

Location: integration-tests/config/testplan.json (lines 26–33 — snippet unchanged)

      },
      {
      "git": "github",
      "ci": "azure",
      "registry": "quay",
      "tpa": "remote",
      "acs": "remote"
      }

@jsmid1
Copy link
Contributor Author

jsmid1 commented Sep 16, 2025

/retest

@jsmid1 jsmid1 changed the title [DO NOT MERGE] [RHTAP-4916-config] Changes task for testing [DO NOT MERGE] [RHTAP-4916-config] Add Azure to CI configuration Sep 16, 2025
@sonarqubecloud
Copy link

sonarqubecloud bot commented Oct 2, 2025

@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.17-rf76b 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.17-rf76b

Test results analysis

<not enabled>

OCI Artifact Browser URL

<not enabled>

@jsmid1 jsmid1 closed this Oct 14, 2025
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