Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit de6f9da

Browse files
committed
Merge remote-tracking branch 'fork/trunk' into 4.17.0
2 parents bf80431 + 01fc206 commit de6f9da

File tree

4 files changed

+11
-7
lines changed

4 files changed

+11
-7
lines changed

Base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ RUN if [ `arch` = "aarch64" ]; then \
143143
&& chmod -R 775 /external_jars ; \
144144
fi
145145

146-
RUN if [ -f "/tmp/cs" ]; then \
146+
RUN if [ -f "/tmp/cs" ]; then \
147147
/tmp/cs fetch --classpath --cache /external_jars \
148148
io.opentelemetry:opentelemetry-exporter-otlp:${OPENTELEMETRY_VERSION} \
149149
io.opentelemetry:opentelemetry-exporter-jaeger:${OPENTELEMETRY_VERSION} \

NodeBase/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN apt-get -qqy update \
4545
#=====
4646
RUN apt-get update -qqy \
4747
&& apt-get -qqy --no-install-recommends install \
48-
x11vnc \
48+
x11vnc x11-utils fluxbox \
4949
&& rm -rf /var/lib/apt/lists/* /var/cache/apt/*
5050

5151
#=========

charts/selenium-grid/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -464,7 +464,7 @@ By default, the uploader uses [RCLONE](https://rclone.org/) to upload the video
464464

465465
The uploader requires `destinationPrefix` to be set. It is used to instruct the uploader where to upload the video. The format of destinationPrefix is `remote-name://bucket-name/path`. The `remote-name` is configured in RCLONE. The `bucket-name` is the name of the bucket in the remote location. The `path` is the path to the folder in the bucket.
466466

467-
By default, the config file is loaded from file [configs/uploader/rclone/config.conf](configs/uploader/rclone/config.conf) to the Secret. You can override the config file via `--set-file uploaderConfigMap.secretFiles.config.conf=/path/to/your_config.conf` or set via YAML values.
467+
By default, the config file is loaded from file [configs/uploader/rclone/config.conf](configs/uploader/rclone/config.conf) to the Secret. You can override the config file via `--set-file uploaderConfigMap.secretFiles.config\.conf=/path/to/your_config.conf` or set via YAML values.
468468

469469
For example, to configure an S3 remote hosted on AWS with named `mys3` and the bucket name is `mybucket`, you can set the following values:
470470

@@ -511,7 +511,7 @@ videoRecorder:
511511

512512
Those 2 ways are equivalent. You can choose one of them or combine them together. When both config file and ENV vars are set, value in `config.conf` will take precedence.
513513

514-
Beside the configuration, the script for entry point of uploader container also needed. By default, it is loaded from file [configs/uploader/rclone/entry_point.sh](configs/uploader/rclone/entry_point.sh) to the ConfigMap. You can override the script via `--set-file uploaderConfigMap.extraScripts.entry_point.sh=/path/to/your_script.sh` or set via YAML values. For example:
514+
Beside the configuration, the script for entry point of uploader container also needed. By default, it is loaded from file [configs/uploader/rclone/entry_point.sh](configs/uploader/rclone/entry_point.sh) to the ConfigMap. You can override the script via `--set-file uploaderConfigMap.extraScripts.entry_point\.sh=/path/to/your_script.sh` or set via YAML values. For example:
515515

516516
```yaml
517517
uploaderConfigMap:
@@ -563,9 +563,9 @@ There are multiple ways to configure your certificate, private key, truststore t
563563
```bash
564564
helm upgrade -i test selenium-grid \
565565
--set tls.enabled=true \
566-
--set-file tls.certificate=/path/to/your_cert.pem \
567-
--set-file tls.privateKey=/path/to/your_private_key.pkcs8 \
568-
--set-file tls.trustStore=/path/to/your_truststore.jks \
566+
--set-file tls.certificate=/path/to/your_cert\.pem \
567+
--set-file tls.privateKey=/path/to/your_private_key\.pkcs8 \
568+
--set-file tls.trustStore=/path/to/your_truststore\.jks \
569569
--set-string tls.trustStorePassword=your_truststore_password
570570
```
571571

charts/selenium-grid/configs/uploader/rclone/entry_point.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ do
2727
else [ "$FILE" != "" ] && [ "$DESTINATION" != "" ];
2828
echo "Uploading ${FILE} to ${DESTINATION}"
2929
rclone --config ${UPLOAD_CONFIG_DIRECTORY}/${UPLOAD_CONFIG_FILE_NAME} ${UPLOAD_COMMAND} ${UPLOAD_OPTS} "${FILE}" "${DESTINATION}"
30+
if [ $? -eq 0 ];
31+
then
32+
rm -rf $FILE
33+
fi
3034
fi
3135
if [ -f ${SE_VIDEO_FOLDER}/force_exit ] && [ ! -s ${SE_VIDEO_FOLDER}/uploadpipe ];
3236
then

0 commit comments

Comments
 (0)