@@ -90,56 +90,56 @@ RUN chmod a+x /checode/out/server-main.js \
9090# Do not change line above! It is used to cut this section to skip tests
9191
9292# Compile tests
93- RUN ./node_modules/.bin/gulp compile-extension:vscode-api-tests \
94- compile-extension:markdown-language-features \
95- compile-extension:typescript-language-features \
96- compile-extension:emmet \
97- compile-extension:git \
98- compile-extension:ipynb \
99- compile-extension-media \
100- compile-extension:configuration-editing
101-
102- # Compile test suites
103- # https://github.com/microsoft/vscode/blob/cdde5bedbf3ed88f93b5090bb3ed9ef2deb7a1b4/test/integration/browser/README.md#compile
104- RUN if [ "$(uname -m)" = "x86_64" ]; then npm --prefix test/smoke run compile && npm --prefix test/integration/browser run compile; fi
105-
106- # install test dependencies
107- ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0
108- RUN if [ "$(uname -m)" = "x86_64" ]; then npm run playwright-install; fi
109- # Install procps to manage to kill processes and centos stream repository
110- RUN if [ "$(uname -m)" = "x86_64" ]; then \
111- ARCH=$(uname -m) && \
112- yum install --nobest -y procps \
113- https://vault.centos.org/centos/8/extras/${ARCH}/os/Packages/epel-release-8-11.el8.noarch.rpm \
114- https://vault.centos.org/8-stream/BaseOS/${ARCH}/os/Packages/centos-gpg-keys-8-3.el8.noarch.rpm \
115- https://vault.centos.org/8-stream/BaseOS/${ARCH}/os/Packages/centos-stream-repos-8-3.el8.noarch.rpm; \
116- fi
117-
118- RUN if [ "$(uname -m)" = "x86_64" ]; then \
119- sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* \
120- && yum install -y chromium \
121- && PLAYWRIGHT_CHROMIUM_PATH=$(echo /opt/app-root/src/.cache/ms-playwright/chromium-*/) \
122- && rm "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome" \
123- && ln -s /usr/bin/chromium-browser "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome" ; \
124- fi
125-
126- # use of retry and timeout
127- COPY /build/scripts/helper/retry.sh /opt/app-root/src/retry.sh
128- RUN chmod u+x /opt/app-root/src/retry.sh
129-
130- # Run integration tests (Browser)
131- RUN if [ "$(uname -m)" = "x86_64" ]; then \
132- NODE_ARCH=$(echo "console.log(process.arch)" | node) \
133- VSCODE_REMOTE_SERVER_PATH="$(pwd)/../vscode-reh-web-linux-${NODE_ARCH}" \
134- /opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m ./scripts/test-web-integration.sh --browser chromium; \
135- fi
136-
137- # Run smoke tests (Browser)
138- RUN if [ "$(uname -m)" = "x86_64" ]; then \
139- NODE_ARCH=$(echo "console.log(process.arch)" | node) \
140- VSCODE_REMOTE_SERVER_PATH="$(pwd)/../vscode-reh-web-linux-${NODE_ARCH}" \
141- /opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m npm run smoketest-no-compile -- --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader" ; \
142- fi
93+ # RUN ./node_modules/.bin/gulp compile-extension:vscode-api-tests \
94+ # compile-extension:markdown-language-features \
95+ # compile-extension:typescript-language-features \
96+ # compile-extension:emmet \
97+ # compile-extension:git \
98+ # compile-extension:ipynb \
99+ # compile-extension-media \
100+ # compile-extension:configuration-editing
101+
102+ # # Compile test suites
103+ # # https://github.com/microsoft/vscode/blob/cdde5bedbf3ed88f93b5090bb3ed9ef2deb7a1b4/test/integration/browser/README.md#compile
104+ # RUN if [ "$(uname -m)" = "x86_64" ]; then npm --prefix test/smoke run compile && npm --prefix test/integration/browser run compile; fi
105+
106+ # # install test dependencies
107+ # ENV PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=0
108+ # RUN if [ "$(uname -m)" = "x86_64" ]; then npm run playwright-install; fi
109+ # # Install procps to manage to kill processes and centos stream repository
110+ # RUN if [ "$(uname -m)" = "x86_64" ]; then \
111+ # ARCH=$(uname -m) && \
112+ # yum install --nobest -y procps \
113+ # https://vault.centos.org/centos/8/extras/${ARCH}/os/Packages/epel-release-8-11.el8.noarch.rpm \
114+ # https://vault.centos.org/8-stream/BaseOS/${ARCH}/os/Packages/centos-gpg-keys-8-3.el8.noarch.rpm \
115+ # https://vault.centos.org/8-stream/BaseOS/${ARCH}/os/Packages/centos-stream-repos-8-3.el8.noarch.rpm; \
116+ # fi
117+
118+ # RUN if [ "$(uname -m)" = "x86_64" ]; then \
119+ # sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-* \
120+ # && yum install -y chromium \
121+ # && PLAYWRIGHT_CHROMIUM_PATH=$(echo /opt/app-root/src/.cache/ms-playwright/chromium-*/) \
122+ # && rm "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome" \
123+ # && ln -s /usr/bin/chromium-browser "${PLAYWRIGHT_CHROMIUM_PATH}/chrome-linux/chrome"; \
124+ # fi
125+
126+ # # use of retry and timeout
127+ # COPY /build/scripts/helper/retry.sh /opt/app-root/src/retry.sh
128+ # RUN chmod u+x /opt/app-root/src/retry.sh
129+
130+ # # Run integration tests (Browser)
131+ # RUN if [ "$(uname -m)" = "x86_64" ]; then \
132+ # NODE_ARCH=$(echo "console.log(process.arch)" | node) \
133+ # VSCODE_REMOTE_SERVER_PATH="$(pwd)/../vscode-reh-web-linux-${NODE_ARCH}" \
134+ # /opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m ./scripts/test-web-integration.sh --browser chromium; \
135+ # fi
136+
137+ # # Run smoke tests (Browser)
138+ # RUN if [ "$(uname -m)" = "x86_64" ]; then \
139+ # NODE_ARCH=$(echo "console.log(process.arch)" | node) \
140+ # VSCODE_REMOTE_SERVER_PATH="$(pwd)/../vscode-reh-web-linux-${NODE_ARCH}" \
141+ # /opt/app-root/src/retry.sh -v -t 3 -s 2 -- timeout -v 5m npm run smoketest-no-compile -- --web --headless --electronArgs="--disable-dev-shm-usage --use-gl=swiftshader"; \
142+ # fi
143143
144144# Do not change line below! It is used to cut this section to skip tests
145145# ## Ending of tests
0 commit comments