-
Notifications
You must be signed in to change notification settings - Fork 706
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change integration img base image (#5004)
* Bump up integration img Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * wip update integration base img Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Rename executor to e2e-runner Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Change container image Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Rename integration to e2e-runner Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com> * Fix pod selector Signed-off-by: Antonio Gamez Diaz <agamez@vmware.com>
- Loading branch information
Showing
8 changed files
with
40 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
# Copyright 2020-2022 the Kubeapps contributors. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
use-cases/*js | ||
.git | ||
reports/screenshots/**/* | ||
node_modules/ | ||
tests/**/* | ||
reports/**/* | ||
reports-html/**/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# Copyright 2019-2022 the Kubeapps contributors. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Dependencies taken from https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#chrome-headless-doesnt-launch-on-unix | ||
# TODO(agamez): this is the latest version based upon debian-10. | ||
# see: https://github.com/vmware-tanzu/kubeapps/issues/4206#issuecomment-1152374865 | ||
FROM bitnami/node:16.15.0-debian-10-r5 | ||
RUN install_packages ca-certificates fonts-liberation gconf-service libappindicator1 libappindicator3-1 libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 libdrm2 libexpat1 libfontconfig1 libgbm1 libgbm-dev libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libice6 libnspr4 libnss3 libpango-1.0-0 libpangocairo-1.0-0 libsm6 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libxss1 libxtst6 lsb-release wget xdg-utils libxshmfence-dev | ||
ADD . /app/ | ||
# Make sure we don't ship the current tests with the image | ||
# Renaming or relocating tests might mess things up otherwise | ||
RUN rm -rf /app/tests | ||
RUN yarn install | ||
CMD [ "yarn", "start" ] | ||
FROM mcr.microsoft.com/playwright:v1.23.0-focal | ||
WORKDIR /app/ | ||
|
||
# Copy and install deps | ||
COPY package.json yarn.lock /app/ | ||
RUN yarn install --frozen-lockfile | ||
|
||
# Install browsers | ||
RUN npx playwright install | ||
|
||
# Note that the playwright config and the actual test files | ||
# will be later passed via kubectl cp in runtime |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters