Skip to content

Commit 5838e89

Browse files
authored
Merge branch 'trunk' into blacksmith-migration-dedd69b
2 parents 32fe7f9 + bf73ae9 commit 5838e89

File tree

8 files changed

+51
-48
lines changed

8 files changed

+51
-48
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ workflows:
1010
k8s-version: 'v1.25.16'
1111
test-strategy: playwright_connect_grid
1212
cluster: 'minikube'
13-
helm-version: 'v3.10.3'
13+
helm-version: 'v3.11.3'
1414
docker-version: '24.0.9'
1515
test-upgrade: true
1616
- kubernetes-test:

.github/workflows/helm-chart-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- k8s-version: 'v1.25.16'
3838
test-strategy: playwright_connect_grid
3939
cluster: 'minikube'
40-
helm-version: 'v3.10.3'
40+
helm-version: 'v3.11.3'
4141
docker-version: '24.0.9'
4242
test-upgrade: true
4343
service-mesh: true

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ PLATFORMS := $(or $(PLATFORMS),$(shell echo $$PLATFORMS),$(CURRENT_PLATFORM))
2626
SEL_PASSWD := $(or $(SEL_PASSWD),$(SEL_PASSWD),secret)
2727
CHROMIUM_VERSION := $(or $(CHROMIUM_VERSION),$(CHROMIUM_VERSION),latest)
2828
SBOM_OUTPUT := $(or $(SBOM_OUTPUT),$(SBOM_OUTPUT),package_versions.txt)
29-
KEDA_TAG_PREV_VERSION := $(or $(KEDA_TAG_PREV_VERSION),$(KEDA_TAG_PREV_VERSION),2.15.1-selenium-grid)
30-
KEDA_TAG_VERSION := $(or $(KEDA_TAG_VERSION),$(KEDA_TAG_VERSION),2.15.1-selenium-grid)
29+
KEDA_TAG_PREV_VERSION := $(or $(KEDA_TAG_PREV_VERSION),$(KEDA_TAG_PREV_VERSION),2.16.0-selenium-grid)
30+
KEDA_TAG_VERSION := $(or $(KEDA_TAG_VERSION),$(KEDA_TAG_VERSION),2.16.0-selenium-grid)
3131
KEDA_BASED_NAME := $(or $(KEDA_BASED_NAME),$(KEDA_BASED_NAME),ndviet)
32-
KEDA_BASED_TAG := $(or $(KEDA_BASED_TAG),$(KEDA_BASED_TAG),2.15.1-selenium-grid-20241017)
32+
KEDA_BASED_TAG := $(or $(KEDA_BASED_TAG),$(KEDA_BASED_TAG),2.16.0-selenium-grid)
3333

3434
all: hub \
3535
distributor \
@@ -352,7 +352,7 @@ tag_latest:
352352
docker tag $(NAME)/standalone-docker:$(TAG_VERSION) $(NAME)/standalone-docker:latest
353353
docker tag $(NAME)/video:$(FFMPEG_TAG_VERSION)-$(BUILD_DATE) $(NAME)/video:latest
354354

355-
release_latest: release_grid_scaler_latest
355+
release_latest:
356356
docker push $(NAME)/base:latest
357357
docker push $(NAME)/hub:latest
358358
docker push $(NAME)/distributor:latest
@@ -397,7 +397,7 @@ tag_nightly:
397397
docker tag $(NAME)/standalone-docker:$(TAG_VERSION) $(NAME)/standalone-docker:nightly
398398
docker tag $(NAME)/video:$(FFMPEG_TAG_VERSION)-$(BUILD_DATE) $(NAME)/video:nightly
399399

400-
release_nightly: release_grid_scaler_nightly
400+
release_nightly:
401401
docker push $(NAME)/base:nightly
402402
docker push $(NAME)/hub:nightly
403403
docker push $(NAME)/distributor:nightly
@@ -477,7 +477,7 @@ tag_major_minor:
477477
docker tag $(NAME)/standalone-firefox:$(TAG_VERSION) $(NAME)/standalone-firefox:$(MAJOR_MINOR_PATCH)
478478
docker tag $(NAME)/standalone-docker:$(TAG_VERSION) $(NAME)/standalone-docker:$(MAJOR_MINOR_PATCH)
479479

480-
release: tag_major_minor release_grid_scaler
480+
release: tag_major_minor
481481
@if ! docker images $(NAME)/base | awk '{ print $$2 }' | grep -q -F $(TAG_VERSION); then echo "$(NAME)/base version $(TAG_VERSION) is not yet built. Please run 'make build'"; false; fi
482482
@if ! docker images $(NAME)/hub | awk '{ print $$2 }' | grep -q -F $(TAG_VERSION); then echo "$(NAME)/hub version $(TAG_VERSION) is not yet built. Please run 'make build'"; false; fi
483483
@if ! docker images $(NAME)/distributor | awk '{ print $$2 }' | grep -q -F $(TAG_VERSION); then echo "$(NAME)/distributor version $(TAG_VERSION) is not yet built. Please run 'make build'"; false; fi
@@ -918,7 +918,7 @@ chart_test_autoscaling_disabled:
918918
chart_test_autoscaling_deployment_https:
919919
PLATFORMS=$(PLATFORMS) CHART_FULL_DISTRIBUTED_MODE=true CHART_ENABLE_BASIC_AUTH=true \
920920
SECURE_INGRESS_ONLY_DEFAULT=true INGRESS_DISABLE_USE_HTTP2=true SELENIUM_GRID_PROTOCOL=https CHART_ENABLE_INGRESS_HOSTNAME=true SELENIUM_GRID_PORT=443 \
921-
SELENIUM_GRID_AUTOSCALING_MIN_REPLICA=0 MAX_SESSIONS_FIREFOX=3 MAX_SESSIONS_EDGE=2 MAX_SESSIONS_CHROME=1 TEST_NAME_OVERRIDE=true \
921+
SELENIUM_GRID_AUTOSCALING_MIN_REPLICA=0 MAX_SESSIONS_FIREFOX=1 MAX_SESSIONS_EDGE=1 MAX_SESSIONS_CHROME=1 TEST_NAME_OVERRIDE=true \
922922
VERSION=$(TAG_VERSION) VIDEO_TAG=$(FFMPEG_TAG_VERSION)-$(BUILD_DATE) KEDA_BASED_NAME=$(KEDA_BASED_NAME) KEDA_BASED_TAG=$(KEDA_BASED_TAG) NAMESPACE=$(NAMESPACE) BINDING_VERSION=$(BINDING_VERSION) BASE_VERSION=$(BASE_VERSION) \
923923
TEMPLATE_OUTPUT_FILENAME="k8s_fullDistributed_basicAuth_secureIngress_defaultCerts_ingressHostName_disableHttp2_autoScaling_patchKEDA_scaledObject_subPath.yaml" \
924924
./tests/charts/make/chart_test.sh DeploymentAutoscaling

charts/selenium-grid/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
## :heavy_check_mark: selenium-grid-0.37.1
2+
3+
- Chart is using image tag 4.26.0-20241101
4+
- Chart is tested on Kubernetes versions: v1.25.16, v1.26.15, v1.27.16, v1.28.15, v1.29.10, v1.30.6, v1.31.2,
5+
- Chart is tested on container runtime Docker versions: 24.0.9, 24.0.9, 24.0.9, 24.0.9, 25.0.5, 26.1.4, 27.2.0,
6+
- Chart is tested on Helm versions: v3.11.3, v3.11.3, v3.12.3, v3.13.3, v3.14.3, v3.15.4, v3.16.1,
7+
8+
### Changed
9+
- [`fc81fd05`](http://github.com/seleniumhq/docker-selenium/commit/fc81fd05ac7f5b51b91e089d4e189c5b2ea5e720) - Release chart 0.37.1 :: Viet Nguyen Duc
10+
- [`82350ba8`](http://github.com/seleniumhq/docker-selenium/commit/82350ba80a959464c74ecf6582bea2ac97eca913) - Update chart configuration table :: Selenium CI Bot
11+
- [`edfe8a30`](http://github.com/seleniumhq/docker-selenium/commit/edfe8a3020db5beeb1d7f11a0b45194aae3fe6d3) - chore(deps): update helm release kube-prometheus-stack to v65.8.1 (#2428) :: renovate[bot]
12+
- [`a1887055`](http://github.com/seleniumhq/docker-selenium/commit/a1887055c59b200b8ffd5f46a02809fc6be9dc25) - chore(deps): update helm release jaeger to v3.3.2 (#2455) :: renovate[bot]
13+
- [`e0a7d63b`](http://github.com/seleniumhq/docker-selenium/commit/e0a7d63b75c7540a9447a8008feb164e715fcb3e) - chore(deps): update helm release keda to v2.16.0 (#2459) :: renovate[bot]
14+
- [`06663919`](http://github.com/seleniumhq/docker-selenium/commit/06663919defd859345c7b5d942106405453d30cf) - Update chart 0.37.0 changelog [skip ci] :: Selenium CI Bot
15+
16+
### Experimental
17+
- Selenium Grid Scaler implementation preview. [README](https://github.com/seleniumhq/docker-selenium/tree/trunk/.keda/README.md)
18+
119
## :heavy_check_mark: selenium-grid-0.37.0
220

321
- Chart is using image tag 4.26.0-20241101

charts/selenium-grid/CONFIGURATION.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# selenium-grid
22

3-
![Version: 0.37.0](https://img.shields.io/badge/Version-0.37.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.26.0-20241101](https://img.shields.io/badge/AppVersion-4.26.0--20241101-informational?style=flat-square)
3+
![Version: 0.37.1](https://img.shields.io/badge/Version-0.37.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.26.0-20241101](https://img.shields.io/badge/AppVersion-4.26.0--20241101-informational?style=flat-square)
44

55
A Helm chart for creating a Selenium Grid Server in Kubernetes
66

@@ -18,10 +18,10 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
1818

1919
| Repository | Name | Version |
2020
|------------|------|---------|
21-
| https://jaegertracing.github.io/helm-charts | jaeger | 3.3.1 |
22-
| https://kedacore.github.io/charts | keda | 2.15.2 |
21+
| https://jaegertracing.github.io/helm-charts | jaeger | 3.3.2 |
22+
| https://kedacore.github.io/charts | keda | 2.16.0 |
2323
| https://kubernetes.github.io/ingress-nginx | ingress-nginx | 4.11.3 |
24-
| https://prometheus-community.github.io/helm-charts | kube-prometheus-stack | 65.2.0 |
24+
| https://prometheus-community.github.io/helm-charts | kube-prometheus-stack | 65.8.1 |
2525

2626
## Values
2727

@@ -177,7 +177,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
177177
| components.router.nodePort | int | `30444` | Router expose NodePort |
178178
| components.router.startupProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":5,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Startup probe settings |
179179
| components.router.readinessProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":12,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Readiness probe settings |
180-
| components.router.livenessProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":10,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Liveness probe settings |
180+
| components.router.livenessProbe | object | `{"enabled":true,"failureThreshold":30,"initialDelaySeconds":60,"path":"/readyz","periodSeconds":60,"successThreshold":1,"timeoutSeconds":60}` | Liveness probe settings |
181181
| components.router.resources | object | `{}` | Resources for router container |
182182
| components.router.securityContext | object | `{}` | SecurityContext for router container |
183183
| components.router.serviceType | string | `"ClusterIP"` | Kubernetes service type (see https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) |
@@ -199,7 +199,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
199199
| components.distributor.nodePort | int | `30553` | Distributor expose NodePort |
200200
| components.distributor.startupProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":5,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Startup probe settings |
201201
| components.distributor.readinessProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":12,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Readiness probe settings |
202-
| components.distributor.livenessProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":10,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Liveness probe settings |
202+
| components.distributor.livenessProbe | object | `{"enabled":true,"failureThreshold":30,"initialDelaySeconds":60,"path":"/readyz","periodSeconds":60,"successThreshold":1,"timeoutSeconds":60}` | Liveness probe settings |
203203
| components.distributor.resources | object | `{}` | Resources for Distributor container |
204204
| components.distributor.securityContext | object | `{}` | SecurityContext for Distributor container |
205205
| components.distributor.serviceType | string | `"ClusterIP"` | Kubernetes service type (see https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) |
@@ -283,7 +283,7 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
283283
| hub.nodePort | int | `31444` | Selenium Hub expose NodePort |
284284
| hub.startupProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":5,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Startup probe settings |
285285
| hub.readinessProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":12,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Readiness probe settings |
286-
| hub.livenessProbe | object | `{"enabled":true,"failureThreshold":10,"initialDelaySeconds":10,"path":"/readyz","periodSeconds":10,"successThreshold":1,"timeoutSeconds":10}` | Liveness probe settings |
286+
| hub.livenessProbe | object | `{"enabled":true,"failureThreshold":30,"initialDelaySeconds":60,"path":"/readyz","periodSeconds":60,"successThreshold":1,"timeoutSeconds":60}` | Liveness probe settings |
287287
| hub.subPath | string | `""` | Custom sub path for the hub deployment |
288288
| hub.extraEnvironmentVariables | string | `nil` | Custom environment variables for selenium-hub |
289289
| hub.extraEnvFrom | string | `nil` | Custom environment variables by sourcing entire configMap, Secret, etc. for selenium-hub |
@@ -577,7 +577,6 @@ A Helm chart for creating a Selenium Grid Server in Kubernetes
577577
| videoRecorder.extraVolumes | list | `[]` | Extra volumes for video recorder pod |
578578
| videoRecorder.s3 | object | `{"args":[],"command":[],"extraEnvironmentVariables":null,"imageName":"aws-cli","imagePullPolicy":"IfNotPresent","imageRegistry":"bitnami","imageTag":"latest","securityContext":{"runAsUser":0}}` | Container spec for the uploader if above it is defined as "uploader.name: s3" |
579579
| customLabels | object | `{}` | Custom labels for k8s resources |
580-
| keda.image | object | `{"keda":{"registry":"selenium","repository":"keda","tag":"2.15.1-selenium-grid-20241101"},"metricsApiServer":{"registry":"selenium","repository":"keda-metrics-apiserver","tag":"2.15.1-selenium-grid-20241101"},"webhooks":{"registry":"selenium","repository":"keda-admission-webhooks","tag":"2.15.1-selenium-grid-20241101"}}` | Specify image for KEDA components |
581580
| keda.additionalAnnotations | string | `nil` | Annotations for KEDA resources |
582581
| keda.http.timeout | int | `60000` | |
583582
| keda.webhooks | object | `{"enabled":false}` | Enable KEDA admission webhooks component |

charts/selenium-grid/Chart.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ apiVersion: v2
22
name: selenium-grid
33
description: A Helm chart for creating a Selenium Grid Server in Kubernetes
44
type: application
5-
version: 0.37.0
5+
version: 0.37.1
66
appVersion: 4.26.0-20241101
77
icon: https://github.com/SeleniumHQ/docker-selenium/raw/trunk/logo.png
88
dependencies:
99
- repository: https://kedacore.github.io/charts
10-
version: 2.15.2
10+
version: 2.16.0
1111
name: keda
1212
condition: autoscaling.enabled, keda.enabled
1313
- repository: https://kubernetes.github.io/ingress-nginx
1414
version: 4.11.3
1515
name: ingress-nginx
1616
condition: ingress.enableWithController, ingress-nginx.enabled
1717
- repository: https://jaegertracing.github.io/helm-charts
18-
version: 3.3.1
18+
version: 3.3.2
1919
name: jaeger
2020
condition: tracing.enabled, jaeger.enabled
2121
- repository: https://prometheus-community.github.io/helm-charts
22-
version: 65.2.0
22+
version: 65.8.1
2323
name: kube-prometheus-stack
2424
condition: monitoring.enabled, prometheus-stack.enabled
2525
maintainers:

charts/selenium-grid/values.yaml

Lines changed: 12 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -424,10 +424,10 @@ components:
424424
livenessProbe:
425425
enabled: true
426426
path: /readyz
427-
initialDelaySeconds: 10
428-
failureThreshold: 10
429-
timeoutSeconds: 10
430-
periodSeconds: 10
427+
initialDelaySeconds: 60
428+
failureThreshold: 30
429+
timeoutSeconds: 60
430+
periodSeconds: 60
431431
successThreshold: 1
432432
# -- Resources for router container
433433
resources: {}
@@ -494,10 +494,10 @@ components:
494494
livenessProbe:
495495
enabled: true
496496
path: /readyz
497-
initialDelaySeconds: 10
498-
failureThreshold: 10
499-
timeoutSeconds: 10
500-
periodSeconds: 10
497+
initialDelaySeconds: 60
498+
failureThreshold: 30
499+
timeoutSeconds: 60
500+
periodSeconds: 60
501501
successThreshold: 1
502502
# -- Resources for Distributor container
503503
resources: {}
@@ -716,10 +716,10 @@ hub:
716716
livenessProbe:
717717
enabled: true
718718
path: /readyz
719-
initialDelaySeconds: 10
720-
failureThreshold: 10
721-
timeoutSeconds: 10
722-
periodSeconds: 10
719+
initialDelaySeconds: 60
720+
failureThreshold: 30
721+
timeoutSeconds: 60
722+
periodSeconds: 60
723723
successThreshold: 1
724724
# -- Custom sub path for the hub deployment
725725
subPath: ""
@@ -1768,20 +1768,6 @@ customLabels: {}
17681768
# Configuration for dependency chart keda
17691769
keda:
17701770
# enabled: false
1771-
# -- Specify image for KEDA components
1772-
image:
1773-
keda:
1774-
registry: selenium
1775-
repository: keda
1776-
tag: "2.15.1-selenium-grid-20241101"
1777-
metricsApiServer:
1778-
registry: selenium
1779-
repository: keda-metrics-apiserver
1780-
tag: "2.15.1-selenium-grid-20241101"
1781-
webhooks:
1782-
registry: selenium
1783-
repository: keda-admission-webhooks
1784-
tag: "2.15.1-selenium-grid-20241101"
17851771
# -- Annotations for KEDA resources
17861772
additionalAnnotations:
17871773
http:

tests/charts/make/chart_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ MAX_SESSIONS_CHROME=${MAX_SESSIONS_CHROME:-"1"}
5555
MAX_SESSIONS_FIREFOX=${MAX_SESSIONS_FIREFOX:-"1"}
5656
MAX_SESSIONS_EDGE=${MAX_SESSIONS_EDGE:-"1"}
5757
TEST_NAME_OVERRIDE=${TEST_NAME_OVERRIDE:-"false"}
58-
TEST_PATCHED_KEDA=${TEST_PATCHED_KEDA:-"true"}
58+
TEST_PATCHED_KEDA=${TEST_PATCHED_KEDA:-"false"}
5959
BASIC_AUTH_EMBEDDED_URL=${BASIC_AUTH_EMBEDDED_URL:-"false"}
6060
SELENIUM_GRID_MONITORING=${SELENIUM_GRID_MONITORING:-"true"}
6161
TEST_EXISTING_PTS=${TEST_EXISTING_PTS:-"false"}

0 commit comments

Comments
 (0)