Created
May 19, 2020 18:54
-
-
Save seleniumgists/2ffa37ea60f9ac0f4311f2ce990b8e0e to your computer and use it in GitHub Desktop.
generated automatically from #selenium on seleniumhq slack
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [8:38 AM] # | |
| # This docker-compose configuration runs tests against stage or prod depending on target | |
| # | |
| version: '3' | |
| networks: | |
| piq_customer_ui: | |
| driver: bridge | |
| services: | |
| ########## GRID | |
| # master hub | |
| selenium-hub: | |
| image: selenium/hub:4.0.0-alpha-5-20200515 | |
| ports: | |
| - 4444:4444 | |
| privileged: true | |
| networks: | |
| - piq_customer_ui | |
| environment: | |
| - GRID_BROWSER_TIMEOUT=100000 | |
| - GRID_TIMEOUT=90000 | |
| # node agent | |
| chrome1: | |
| image: selenium/node-chrome:4.0.0-alpha-5-20200515 | |
| ports: | |
| - 55901:5900 | |
| volumes: | |
| - /dev/shm:/dev/shm | |
| - $HOME/selenium_download:/home/seluser/Downloads | |
| networks: | |
| - piq_customer_ui | |
| environment: | |
| - HUB_HOST=selenium-hub | |
| - HUB_PORT=4444 | |
| command: > | |
| bash -c "(sleep 3) && (/opt/bin/entry_point.sh)" | |
| # node agent | |
| chrome2: | |
| image: selenium/node-chrome:4.0.0-alpha-5-20200515 | |
| ports: | |
| - 55902:5900 | |
| volumes: | |
| - /dev/shm:/dev/shm | |
| - $HOME/selenium_download:/home/seluser/Downloads | |
| networks: | |
| - piq_customer_ui | |
| environment: | |
| - HUB_HOST=selenium-hub | |
| - HUB_PORT=4444 | |
| command: > | |
| bash -c "(sleep 4) && (/opt/bin/entry_point.sh)" | |
| # node agent | |
| chrome3: | |
| image: selenium/node-chrome:4.0.0-alpha-5-20200515 | |
| ports: | |
| - 55903:5900 | |
| volumes: | |
| - /dev/shm:/dev/shm | |
| - $HOME/selenium_download:/home/seluser/Downloads | |
| networks: | |
| - piq_customer_ui | |
| environment: | |
| - HUB_HOST=selenium-hub | |
| - HUB_PORT=4444 | |
| command: > | |
| bash -c "(sleep 5) && (/opt/bin/entry_point.sh)" | |
| # node agent | |
| chrome4: | |
| image: selenium/node-chrome:4.0.0-alpha-5-20200515 | |
| ports: | |
| - 55904:5900 | |
| volumes: | |
| - /dev/shm:/dev/shm | |
| - $HOME/selenium_download:/home/seluser/Downloads | |
| networks: | |
| - piq_customer_ui | |
| environment: | |
| - HUB_HOST=selenium-hub | |
| - HUB_PORT=4444 | |
| command: > | |
| bash -c "(sleep 6) && (/opt/bin/entry_point.sh)" | |
| ######### END GRID | |
| # test framework e2e stage target | |
| piq-customer-ui-e2e-tests-stage: | |
| image: hgdata1/piq-customer-ui-e2e-tests:latest-grid-node-4.0 | |
| environment: | |
| PROTRACTOR_ENV: container | |
| SLACK_WEBHOOK_URL: <https://hooks.slack.com/services/T02FG26P>...... | |
| ENV: hip_staging | |
| USER: $USER | |
| SUITE: Full | |
| volumes: | |
| - ./scripts:/usr/sbin | |
| - ./stage_results:/app/results | |
| links: | |
| - selenium-hub | |
| - chrome1 | |
| - chrome2 | |
| - chrome3 | |
| - chrome4 | |
| networks: | |
| - piq_customer_ui | |
| command: > | |
| bash -c "(sleep 20) && (node ./scripts/checkGrid.js && (node ./scripts/sendSlackTestStart.js; ./scripts/runGridStagingSuite.bash; ./scripts/monitorRunSendResults.bash staging))" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment