Skip to content

Commit 93879d3

Browse files
devversionalan-agius4
authored andcommitted
build: update remote execution environment (#3141)
Updates the remote execution environment, hoping to fix some Firefox issues. PR Close #3141
1 parent 26b2c12 commit 93879d3

File tree

7 files changed

+8
-67
lines changed

7 files changed

+8
-67
lines changed

bazel/integration/tests/angular-cli/angular.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"options": {
7373
"tsConfig": "tsconfig.spec.json",
7474
"assets": ["src/favicon.ico", "src/assets"],
75+
"browsers": "ChromeHeadlessNoSandbox",
7576
"styles": ["src/styles.css"],
7677
"scripts": []
7778
}

bazel/integration/tests/angular-cli/test/specs/example.e2e.ts

Lines changed: 0 additions & 7 deletions
This file was deleted.

bazel/integration/tests/angular-cli/test/specs/tsconfig.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

bazel/integration/tests/angular-cli/test/wdio.conf.js

Lines changed: 0 additions & 38 deletions
This file was deleted.

bazel/remote-execution/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ platform(
1515
# from the image, the image doesn't need to be updated frequently. There are rare cases where
1616
# it needs to be updated. e.g. for a more recent Bash version, or new system settings that are
1717
# required for launching browsers.
18-
"container-image": "docker://us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image@sha256:3389d808edbcdf8999338fd617dda68cdbaa259b431f19e41e58941cdac900a3",
18+
"container-image": "docker://us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image@sha256:c853f16afdba9422f9e22548d32428a0b89e11987697c2aadd98dfa7977c7db1",
1919
# By default in Google Cloud Remote build execution, network access is disabled. We explicitly set the
2020
# property in the platform again in case the default ever changes. Network access is not desirable in
2121
# Bazel builds as it is potential source of flaky tests and therefore also breaks hermeticity.

bazel/remote-execution/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ FROM ghcr.io/puppeteer/puppeteer:24.23.0@sha256:d7afe89d44cb5fc2d8a8ed16bf21817a
55
# image- preventing us from preparing Firefox dependencies.
66
USER root
77

8-
# Perform update/upgrade with Debian bullseye added. Puppeteer uses
9-
# `node:18` which does not have the repository added for installing Firefox.
8+
# Perform update/upgrade with Debian bullseye added.
9+
# This allows us to install Firefox for its dependencies.
1010
RUN echo 'deb http://deb.debian.org/debian bullseye main' >> /etc/apt/sources.list
1111
RUN apt-get -y update && apt-get -y upgrade
1212

bazel/remote-execution/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ or from GitHub packages. Only `pkg.dev` or `gcr.io`.
77
gcloud auth configure-docker \
88
us-west2-docker.pkg.dev
99

10-
sudo docker build . --network=host -t angular-devinfra-rbe-image:latest
10+
docker build . --network=host -t angular-devinfra-rbe-image:latest
1111

12-
sudo docker tag angular-devinfra-rbe-image:latest \
13-
us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image:202305
12+
docker tag angular-devinfra-rbe-image:latest \
13+
us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image:2025-10
1414

15-
sudo docker push us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image:202305
15+
docker push us-west2-docker.pkg.dev/internal-200822/remote-execution-images/angular-devinfra-rbe-image:2025-10
1616
````

0 commit comments

Comments
 (0)