Skip to content

Commit

Permalink
Exiting container when Standalone or Node exits (#1504)
Browse files Browse the repository at this point in the history
* Exiting container when Standalone or Node exits
  • Loading branch information
diemol committed Feb 7, 2022
1 parent f96102b commit 281e5c4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/k8s-deploy-test.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
name: "Test Selenium Grid 4 deployment on Minikube Cluster"

on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
workflow_dispatch:

jobs:
deploy:
Expand All @@ -18,10 +13,10 @@ jobs:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Minikube
uses: manusa/actions-setup-minikube@v2.3.0
uses: manusa/actions-setup-minikube@v2.4.3
with:
minikube version: "v1.13.1"
kubernetes version: "v1.19.2"
minikube version: 'v1.24.0'
kubernetes version: 'v1.23.0'
github token: ${{ secrets.GITHUB_TOKEN }}
driver: none
- name: Interact with Minikube
Expand Down
3 changes: 2 additions & 1 deletion NodeBase/selenium.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ stderr_capture_maxbytes=50MB

[program:selenium-node]
priority=15
command=/opt/bin/start-selenium-node.sh
command=bash -c "/opt/bin/start-selenium-node.sh && kill -s SIGINT `cat /var/run/supervisor/supervisord.pid`"
stopasgroup = true
autostart=true
autorestart=false
startsecs=0
Expand Down
3 changes: 2 additions & 1 deletion Standalone/selenium.conf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ stderr_capture_maxbytes=50MB

[program:selenium-standalone]
priority=15
command=/opt/bin/start-selenium-standalone.sh
command=bash -c "/opt/bin/start-selenium-standalone.sh && kill -s SIGINT `cat /var/run/supervisor/supervisord.pid`"
stopasgroup = true
autostart=true
autorestart=false
startsecs=0
Expand Down

0 comments on commit 281e5c4

Please sign in to comment.