Skip to content

Commit 05a63a0

Browse files
catastrophe-brandonclaudekarelhala
authored
RHCLOUD-44853: Update pipeline to use v2 ConfigMaps and remove chrome sidecar (#737)
* Update pipeline to use v2 ConfigMaps and remove chrome sidecar Update the pull request pipeline to align with the new shared konflux pipeline definition that removes the insights-chrome-dev sidecar. Changes: - Remove chrome-port parameter (was 9912) - Rename test-app-port to e2e-app-port - Remove test-app-name parameter - Update frontend-proxy-routes-configmap to use -v2 suffix - Update pipeline reference to catastrophe-brandon/konflux-pipelines commit fda9a7ea - Remove taskRunSpecs section (sidecar configuration now handled by pipeline) The new architecture routes all requests directly to the application container, simplifying the pipeline execution. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * fix: add hostAliases for stage.foo.redhat.com in E2E tests Add hostAliases configuration to properly resolve stage.foo.redhat.com to localhost in the E2E test pod. This is the Kubernetes-native way to configure /etc/hosts entries. Without this configuration, getent hosts stage.foo.redhat.com fails and the E2E tests cannot connect to the frontend-dev-proxy sidecar. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> * Update .tekton/frontend-starter-app-pull-request.yaml Co-authored-by: Karel Hala <khala@redhat.com> * Update .tekton/frontend-starter-app-pull-request.yaml Co-authored-by: Karel Hala <khala@redhat.com> * Update .tekton/frontend-starter-app-pull-request.yaml Co-authored-by: Karel Hala <khala@redhat.com> --------- Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: Karel Hala <khala@redhat.com>
1 parent c642090 commit 05a63a0

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.tekton/frontend-starter-app-pull-request.yaml

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,8 @@ spec:
3333
value: .
3434
- name: rebuild
3535
value: "true"
36-
- name: test-app-name
37-
value: frontend-starter-app
38-
- name: test-app-port
36+
- name: e2e-app-port
3937
value: "8000"
40-
- name: chrome-port
41-
value: "9912"
4238
- name: unit-tests-script
4339
value: |
4440
#!/bin/bash
@@ -75,7 +71,7 @@ spec:
7571
- name: e2e-credentials-secret
7672
value: frontend-starter-app-credentials-secret
7773
- name: frontend-proxy-routes-configmap
78-
value: frontend-starter-app-dev-proxy-caddyfile
74+
value: frontend-starter-app-dev-proxy-caddyfile-v2
7975
pipelineRef:
8076
resolver: git
8177
params:
@@ -99,17 +95,6 @@ spec:
9995
- ip: "127.0.0.1"
10096
hostnames:
10197
- "stage.foo.redhat.com"
102-
# Add ConfigMap volume for test app Caddyfile
103-
volumes:
104-
- name: test-app-caddyfile
105-
configMap:
106-
name: frontend-starter-app-test-app-caddyfile
107-
sidecarSpecs:
108-
# Mount test app Caddyfile into run-application sidecar
109-
- name: run-application
110-
volumeMounts:
111-
- name: test-app-caddyfile
112-
mountPath: /etc/caddy
11398
workspaces:
11499
- name: workspace
115100
volumeClaimTemplate:

0 commit comments

Comments
 (0)