|
| 1 | +# Utilize Relay Node to set up hybrid Autoscaling Grid with using on-premise and test cloud provider (e.g. SauceLabs, BrowserStack, etc.) |
| 2 | +# |
| 3 | +# For example: below incoming requests will be served by Node container on-premise |
| 4 | +# options = ChromeOptions() |
| 5 | +# options.set_capability('platformName', 'Linux') |
| 6 | +# driver = webdriver.Remote(options=options, command_executor=SELENIUM_GRID_URL) |
| 7 | +# |
| 8 | +# Below incoming requests will be served by Relay Node where commands are forwarded to test cloud provider |
| 9 | +# options = ChromeOptions() |
| 10 | +# options.set_capability('platformName', 'macOS 13.0') |
| 11 | +# driver = webdriver.Remote(options=options, command_executor=SELENIUM_GRID_URL) |
| 12 | +crossBrowsers: |
| 13 | + chromeNode: |
| 14 | + - nameOverride: '{{ $.Release.Name }}-node-chrome-linux' |
| 15 | + hpa: |
| 16 | + platformName: 'Linux' |
| 17 | + firefoxNode: |
| 18 | + - nameOverride: '{{ $.Release.Name }}-node-firefox-linux' |
| 19 | + hpa: |
| 20 | + platformName: 'Linux' |
| 21 | + edgeNode: |
| 22 | + - nameOverride: '{{ $.Release.Name }}-node-edge-linux' |
| 23 | + hpa: |
| 24 | + platformName: 'Linux' |
| 25 | + relayNode: |
| 26 | + - nameOverride: '{{ $.Release.Name }}-node-relay-chrome-macos' |
| 27 | + hpa: |
| 28 | + browserName: 'chrome' |
| 29 | + platformName: 'macOS' |
| 30 | + - nameOverride: '{{ $.Release.Name }}-node-relay-chrome-windows' |
| 31 | + hpa: |
| 32 | + browserName: 'chrome' |
| 33 | + platformName: 'Windows' |
| 34 | + - nameOverride: '{{ $.Release.Name }}-node-relay-firefox-macos' |
| 35 | + hpa: |
| 36 | + browserName: 'firefox' |
| 37 | + platformName: 'macOS' |
| 38 | + - nameOverride: '{{ $.Release.Name }}-node-relay-firefox-windows' |
| 39 | + hpa: |
| 40 | + browserName: 'firefox' |
| 41 | + platformName: 'Windows' |
| 42 | + - nameOverride: '{{ $.Release.Name }}-node-relay-edge-macos' |
| 43 | + hpa: |
| 44 | + browserName: "MicrosoftEdge" |
| 45 | + sessionBrowserName: "msedge" |
| 46 | + platformName: 'macOS' |
| 47 | + - nameOverride: '{{ $.Release.Name }}-node-relay-edge-windows' |
| 48 | + hpa: |
| 49 | + browserName: "MicrosoftEdge" |
| 50 | + sessionBrowserName: "msedge" |
| 51 | + platformName: 'Windows' |
| 52 | + - nameOverride: '{{ $.Release.Name }}-node-relay-safari-macos' |
| 53 | + hpa: |
| 54 | + browserName: 'safari' |
| 55 | + platformName: 'macOS' |
| 56 | + |
| 57 | +relayNode: |
| 58 | + enabled: true |
| 59 | + videoRecorder: |
| 60 | + enabled: false |
| 61 | + extraEnvironmentVariables: |
| 62 | +# - name: SAUCE_USERNAME |
| 63 | +# value: "<your_SAUCE_USERNAME>" |
| 64 | +# - name: SAUCE_ACCESS_KEY |
| 65 | +# value: "<your_SAUCE_ACCESS_KEY>" |
| 66 | +# - name: SAUCE_REGION |
| 67 | +# value: "<your_SAUCE_REGION>" |
| 68 | +# - name: SE_NODE_RELAY_URL |
| 69 | +# value: "https://$SAUCE_USERNAME:$SAUCE_ACCESS_KEY@ondemand.$SAUCE_REGION.saucelabs.com:443/wd/hub" |
| 70 | + extraEnvFrom: |
| 71 | +# - secretRef: |
| 72 | +# name: your-secret-with-all-env-vars |
0 commit comments