Skip to content

Commit

Permalink
Update zahori-server version to 0.1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
davidvazqu3z committed Sep 15, 2022
1 parent b665ced commit 3d4b9f2
Show file tree
Hide file tree
Showing 4 changed files with 51 additions and 17 deletions.
8 changes: 4 additions & 4 deletions browsers
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
selenoid/vnc_chrome:99.0
selenoid/vnc_firefox:98.0
selenoid/vnc_chrome:105.0
browsers/edge:105.0
selenoid/vnc_firefox:104.0
selenoid/vnc_opera:90.0
browsers/safari:15.0
browsers/edge:99.0
selenoid/vnc_opera:85.0
34 changes: 34 additions & 0 deletions database/sql_versions/V0.1.14.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

---------------- ADD XRAY SUPPORT ----------------

-- Add field tmsExecutionId to executions
ALTER TABLE public.executions ADD tms_test_execution_id varchar NULL;

-- Remove duplicated XRAY test repository
DELETE FROM public.test_repositories WHERE test_repo_id = 1;
UPDATE public.test_repositories SET name = 'Jira Xray' WHERE test_repo_id = 2;
UPDATE public.test_repositories SET name = 'TestLink' WHERE name = 'Testlink';


---------------- UPDATE BROWSER VERSIONS ----------------
UPDATE public.browsers SET default_version = '105.0' WHERE browser_name = 'chrome';
UPDATE public.browsers SET default_version = '105.0' WHERE browser_name = 'edge';
UPDATE public.browsers SET default_version = '104.0' WHERE browser_name = 'firefox';
UPDATE public.browsers SET default_version = '90.0' WHERE browser_name = 'opera';
UPDATE public.browsers SET default_version = '15.0' WHERE browser_name = 'safari';


---------------- ADD SCREEN RESOLUTION NAMES ----------------
ALTER TABLE public.resolutions ADD name varchar NULL;

-- Add default data to resolutions table
INSERT INTO public.resolutions(client_id, process_id, width, height, "order", active, "name")
VALUES(1, 1, 1920, 1080, 0, true, 'Full HD');

INSERT INTO public.resolutions(client_id, process_id, width, height, "order", active, "name")
VALUES(1, 1, 1280, 720, 0, true, 'HD');

INSERT INTO public.resolutions(client_id, process_id, width, height, "order", active, "name")
VALUES(1, 1, 810, 1080, 0, true, 'iPad');


2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ services:
- database

zahori-server:
image: zahoriaut/zahori-server:0.1.13
image: zahoriaut/zahori-server:0.1.14
ports:
- "${ZAHORI_SERVER_PORT}:${ZAHORI_SERVER_PORT}"
network_mode: bridge
Expand Down
24 changes: 12 additions & 12 deletions selenoid/config/browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
"default": "latest",
"versions": {
"latest": {
"image": "browsers/edge:99.0",
"image": "browsers/edge:105.0",
"port": "4444",
"path": "/"
},
"99.0": {
"image": "browsers/edge:99.0",
"105.0": {
"image": "browsers/edge:105.0",
"port": "4444",
"path": "/"
}
Expand All @@ -33,12 +33,12 @@
"default": "latest",
"versions": {
"latest": {
"image": "selenoid/vnc_firefox:98.0",
"image": "selenoid/vnc_firefox:104.0",
"port": "4444",
"path": "/wd/hub"
},
"98.0": {
"image": "selenoid/vnc_firefox:98.0",
"104.0": {
"image": "selenoid/vnc_firefox:104.0",
"port": "4444",
"path": "/wd/hub"
}
Expand All @@ -48,11 +48,11 @@
"default": "latest",
"versions": {
"latest": {
"image": "selenoid/vnc_chrome:99.0",
"image": "selenoid/vnc_chrome:105.0",
"port": "4444"
},
"99.0": {
"image": "selenoid/vnc_chrome:99.0",
"105.0": {
"image": "selenoid/vnc_chrome:105.0",
"port": "4444"
}
}
Expand All @@ -61,11 +61,11 @@
"default": "latest",
"versions": {
"latest": {
"image": "selenoid/vnc_opera:85.0",
"image": "selenoid/vnc_opera:90.0",
"port": "4444"
},
"85.0": {
"image": "selenoid/vnc_opera:85.0",
"90.0": {
"image": "selenoid/vnc_opera:90.0",
"port": "4444"
}
}
Expand Down

0 comments on commit 3d4b9f2

Please sign in to comment.