Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update E2E tests to use Node.js 20 and Chrome 121 #3294

Merged
merged 1 commit into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions packages/e2e/.dockerignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
base-image
15 changes: 3 additions & 12 deletions packages/e2e/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2022-2023 The Tekton Authors
# Copyright 2022-2024 The Tekton Authors
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Expand All @@ -9,17 +9,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM cypress/browsers:node18.12.0-chrome107
RUN apt-get update && apt-get install -y gpg &&\
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | gpg --dearmor -o /usr/share/keyrings/kubernetes-apt-keyring.gpg &&\
echo "deb [signed-by=/usr/share/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /" | tee /etc/apt/sources.list.d/kubernetes.list &&\
apt-get update && apt-get install -y \
kubectl \
&& rm -rf /var/lib/apt/lists/*
USER node
WORKDIR /home/node
ENV CI=true
ENV NO_COLOR=true
FROM gcr.io/tekton-releases/dogfooding/dashboard-e2e-base:node20.11.0-chrome121

ENTRYPOINT ["npm", "run", "test:ci"]
CMD ["--", "--browser", "chrome"]

Expand Down
Loading