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
| version: '3.3' | |
| services: | |
| db_1: | |
| image: mongo:3.0 | |
| expose: | |
| - "27017" | |
| command: --replSet murmur --storageEngine wiredTiger --noauth | |
| networks: | |
| - skynet | |
| ports: |
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
| declare -A PROD_ELBS=( | |
| ['event-hub']='https://internal-EVENT-HUB-ElasticL-1ILXONWA5WVBO-1730405677.us-west-2.elb.amazonaws.com/status' | |
| ['rumour']='https://internal-RUMOUR-BL-ElasticL-KN74IRPXS2BJ-169515076.us-west-2.elb.amazonaws.com/status' | |
| ['rumour-mill']='https://internal-RUMOUR-MI-ElasticL-X41S034MC4GD-1591402018.us-west-2.elb.amazonaws.com/status' | |
| ['waffle-event-importer']='https://internal-WAFFLE-EV-ElasticL-GESVLPVBS8QG-212817913.us-west-2.elb.amazonaws.com/status' | |
| ['waffle-api']='https://internal-WAFFLE-AP-ElasticL-OQESXU7V80HA-1925452.us-west-2.elb.amazonaws.com/status' | |
| ) | |
| function prod_statuses { | |
| for service in "${!PROD_ELBS[@]}"; do |
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
| <html data-ng-app="myMooApp"> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.5/angular.min.js"></script> | |
| <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.js"></script> | |
| <body> | |
| <div ng-controller="myMooCtrl"> | |
| <button ng-click="start()">Start Test</button> | |
| </div> | |
| <script> | |
| var app = angular.module("myMooApp", []); |
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
| aws cloudformation describe-stacks --query "Stacks[] | [][@.StackName, @.Parameters[?ParameterKey==\`Version\`].ParameterValue[] | [0]]" --output text |