From 5da6837a295559327db8b328f2ef348304350924 Mon Sep 17 00:00:00 2001 From: Sachin Sampras M Date: Tue, 28 Jul 2026 13:49:17 +0100 Subject: [PATCH] fix: switch E2E CI from cli_server to cgw strategy The cli-server is being removed from the operator. Switch the E2E workflow to use the cgw strategy with the Developer Portal URL for CLI binary downloads. The version is controlled by the CLI_CGW_VERSION env var at the top of the workflow. Also remove cli-server.local from /etc/hosts. Signed-off-by: Sachin Sampras M --- .github/workflows/e2e.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index a197794..cf1da71 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -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: @@ -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 @@ -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 }}" run: | REKOR_UI_URL=$(kubectl get rekor -o jsonpath='{.items[0].status.rekorSearchUIUrl}' -n ${{ env.TEST_NAMESPACE }}) export REKOR_UI_URL