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

Commit 5a23107

Browse files
committed
docs: update rclone configs in sample
Config: no_check_bucket - don't attempt to check the bucket exists or create it This needed if the user you are using does not have bucket creation permissions It's useful when trying to minimise the number of transactions rclone does if you know the bucket exists already Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent 5c92a89 commit 5a23107

File tree

7 files changed

+11
-0
lines changed

7 files changed

+11
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -562,6 +562,7 @@ services:
562562
- RCLONE_CONFIG_S3_ACCESS_KEY_ID=xxx
563563
- RCLONE_CONFIG_S3_SECRET_ACCESS_KEY=xxx
564564
- RCLONE_CONFIG_S3_ENDPOINT=https://storage.googleapis.com
565+
- RCLONE_CONFIG_S3_NO_CHECK_BUCKET=true
565566
```
566567
567568
`SE_VIDEO_FILE_NAME=auto` will use the session id as the video file name. This ensures that the video file name is unique to upload.

charts/selenium-grid/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,7 @@ videoRecorder:
527527
RCLONE_CONFIG_MYS3_ACCESS_KEY_ID: "xxx"
528528
RCLONE_CONFIG_MYS3_SECRET_ACCESS_KEY: "xxx"
529529
RCLONE_CONFIG_MYS3_ENDPOINT: "https://storage.googleapis.com"
530+
RCLONE_CONFIG_MYS3_NO_CHECK_BUCKET: "true"
530531
```
531532

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

charts/selenium-grid/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1080,6 +1080,7 @@ videoRecorder:
10801080
# RCLONE_CONFIG_S3_ACL: "private"
10811081
# RCLONE_CONFIG_S3_ACCESS_KEY_ID: "xxx"
10821082
# RCLONE_CONFIG_S3_SECRET_ACCESS_KEY: "xxx"
1083+
# RCLONE_CONFIG_S3_NO_CHECK_BUCKET: "true"
10831084
# RCLONE_CONFIG_GS_TYPE: "s3"
10841085
# RCLONE_CONFIG_GS_PROVIDER: "GCS"
10851086
# RCLONE_CONFIG_GS_ENV_AUTH: "true"
@@ -1089,6 +1090,7 @@ videoRecorder:
10891090
# RCLONE_CONFIG_GS_ACCESS_KEY_ID: "xxx"
10901091
# RCLONE_CONFIG_GS_SECRET_ACCESS_KEY: "xxx"
10911092
# RCLONE_CONFIG_GS_ENDPOINT: "https://storage.googleapis.com"
1093+
# RCLONE_CONFIG_GS_NO_CHECK_BUCKET: "true"
10921094
ports:
10931095
- 9000
10941096
resources:

docker-compose-v3-video-upload.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ services:
5353
- RCLONE_CONFIG_S3_ACCESS_KEY_ID=${GS_ACCESS_KEY_ID}
5454
- RCLONE_CONFIG_S3_SECRET_ACCESS_KEY=${GS_SECRET_ACCESS_KEY}
5555
- RCLONE_CONFIG_S3_ENDPOINT=https://storage.googleapis.com
56+
- RCLONE_CONFIG_S3_NO_CHECK_BUCKET=true
5657

5758
edge_video:
5859
image: selenium/video:ffmpeg-6.1-20240224
@@ -73,6 +74,7 @@ services:
7374
- RCLONE_CONFIG_S3_ACCESS_KEY_ID=${GS_ACCESS_KEY_ID}
7475
- RCLONE_CONFIG_S3_SECRET_ACCESS_KEY=${GS_SECRET_ACCESS_KEY}
7576
- RCLONE_CONFIG_S3_ENDPOINT=https://storage.googleapis.com
77+
- RCLONE_CONFIG_S3_NO_CHECK_BUCKET=true
7678

7779
firefox_video:
7880
image: selenium/video:ffmpeg-6.1-20240224
@@ -93,6 +95,7 @@ services:
9395
- RCLONE_CONFIG_S3_ACCESS_KEY_ID=${GS_ACCESS_KEY_ID}
9496
- RCLONE_CONFIG_S3_SECRET_ACCESS_KEY=${GS_SECRET_ACCESS_KEY}
9597
- RCLONE_CONFIG_S3_ENDPOINT=https://storage.googleapis.com
98+
- RCLONE_CONFIG_S3_NO_CHECK_BUCKET=true
9699

97100
selenium-hub:
98101
image: selenium/hub:4.18.1-20240224

tests/charts/ci/base-recorder-values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ videoRecorder:
2424
RCLONE_CONFIG_S3_ACL: "private"
2525
RCLONE_CONFIG_S3_ACCESS_KEY_ID: "${AWS_ACCESS_KEY_ID}"
2626
RCLONE_CONFIG_S3_SECRET_ACCESS_KEY: "${AWS_SECRET_ACCESS_KEY}"
27+
RCLONE_CONFIG_S3_NO_CHECK_BUCKET: "true"
2728
RCLONE_CONFIG_GS_TYPE: "s3"
2829
RCLONE_CONFIG_GS_PROVIDER: "GCS"
2930
RCLONE_CONFIG_GS_ENV_AUTH: "true"
@@ -33,6 +34,7 @@ videoRecorder:
3334
RCLONE_CONFIG_GS_ACCESS_KEY_ID: "${GS_ACCESS_KEY_ID}"
3435
RCLONE_CONFIG_GS_SECRET_ACCESS_KEY: "${GS_SECRET_ACCESS_KEY}"
3536
RCLONE_CONFIG_GS_ENDPOINT: "https://storage.googleapis.com"
37+
RCLONE_CONFIG_GS_NO_CHECK_BUCKET: "true"
3638

3739
ingress-nginx:
3840
controller:

tests/charts/templates/render/dummy.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ videoRecorder:
116116
RCLONE_CONFIG_S3_ACL: "private"
117117
RCLONE_CONFIG_S3_ACCESS_KEY_ID: "xxx"
118118
RCLONE_CONFIG_S3_SECRET_ACCESS_KEY: "xxx"
119+
RCLONE_CONFIG_S3_NO_CHECK_BUCKET: "true"
119120

120121
nodeConfigMap:
121122
extraScripts:

tests/charts/templates/render/dummy_solution.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ selenium-grid:
100100
RCLONE_CONFIG_S3_ACL: "private"
101101
RCLONE_CONFIG_S3_ACCESS_KEY_ID: "xxx"
102102
RCLONE_CONFIG_S3_SECRET_ACCESS_KEY: "xxx"
103+
RCLONE_CONFIG_S3_NO_CHECK_BUCKET: "true"
103104

104105
nodeConfigMap:
105106
extraScripts:

0 commit comments

Comments
 (0)