Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
OPERATOR_REPO: securesign/secure-sign-operator
OPERATOR_REF: ${{ inputs.operator_ref || 'main' }}
TEST_NAMESPACE: test
CLI_CGW_VERSION: "1.4.2"

jobs:
e2e:
Expand Down Expand Up @@ -99,7 +100,7 @@ jobs:

- name: Add service hosts
run: |
echo "127.0.0.1 fulcio-server.local tuf.local rekor-server.local keycloak-internal.keycloak-system.svc rekor-search-ui.local cli-server.local tsa-server.local" \
echo "127.0.0.1 fulcio-server.local tuf.local rekor-server.local keycloak-internal.keycloak-system.svc rekor-search-ui.local tsa-server.local" \
| sudo tee -a /etc/hosts

- name: Install SecureSign
Expand All @@ -123,8 +124,8 @@ jobs:
working-directory: e2e
env:
OIDC_ISSUER_URL: "http://${{ steps.kind.outputs.oidc_host }}/realms/trusted-artifact-signer"
CLI_STRATEGY: cli_server
CLI_SERVER_URL: "http://cli-server.local"
CLI_STRATEGY: cgw
CGW_URL: "https://developers.redhat.com/content-gateway/file/RHTAS/${{ env.CLI_CGW_VERSION }}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Action required

1. Content gateway path malformed 🐞 Bug ≡ Correctness

The new CGW_URL omits the required /cgw path segment, causing the strategy to construct CLI
download URLs under the wrong endpoint. CLI prerequisite setup will fail, preventing the E2E tests
from running.
Agent Prompt
## Issue description
The E2E workflow configures a Content Gateway base URL that omits the documented `/cgw` path segment. Update it to `https://developers.redhat.com/content-gateway/file/cgw/RHTAS/${{ env.CLI_CGW_VERSION }}` so the strategy constructs valid CLI archive URLs.

## Issue Context
The `cgw` strategy appends each platform-specific archive filename directly to `CGW_URL`. The repository documentation defines the base path as `/content-gateway/file/cgw/RHTAS/<version>`.

## Fix Focus Areas
- .github/workflows/e2e.yml[128-128]

ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools

run: |
REKOR_UI_URL=$(kubectl get rekor -o jsonpath='{.items[0].status.rekorSearchUIUrl}' -n ${{ env.TEST_NAMESPACE }})
export REKOR_UI_URL
Expand Down
Loading