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
services: | |
barometer: | |
baseUrl: http://localhost:9092 | |
deck: | |
baseUrl: http://localhost:9000 | |
lighthouse: | |
baseUrl: http://localhost:5000 | |
orca: | |
baseUrl: http://localhost:8083 | |
front50: |
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: | |
client: | |
maxErrorRetry: 20 | |
addSpinnakerUserToUserAgent: true | |
enabled: true | |
credentials: | |
primaryAccountTypes: ${providers.aws.primaryCredentials.name}, ${providers.google.primaryCredentials.name}, ${providers.cf.primaryCredentials.name}, ${providers.azure.primaryCredentials.name} | |
challengeDestructiveActionsEnvironments: ${providers.aws.primaryCredentials.name}, ${providers.google.primaryCredentials.name}, ${providers.cf.primaryCredentials.name}, ${providers.azure.primaryCredentials.name} |
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
server: | |
port: ${services.front50.port:8080} | |
address: ${services.front50.host:localhost} | |
spinnaker: | |
redis: | |
enabled: true | |
s3: | |
enabled: true |
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
server: | |
port: ${services.front50.port:8080} | |
address: ${services.front50.host:localhost} | |
redis: | |
enabled: ${services.front50.redis.enabled:false} | |
s3: | |
enabled: true | |
bucket: YOUR_BUCKET_NAME |
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
server: | |
port: ${services.front50.port:8080} | |
address: ${services.front50.host:localhost} | |
redis: | |
enabled: ${services.front50.redis.enabled:false} | |
s3: | |
enabled: true | |
bucket: YOUR_BUCKET_NAME |
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
{ "hello":"true" } |
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
buildRpm { | |
from('src/spinnaker/') { | |
addParentDirs = false | |
into '/opt/spinnaker/' | |
} | |
} |
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
query |
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
{ | |
'mykey':'myval' | |
} |
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
events = [{'v': 331, 'c': 'USA'}, {'v': 432, 'c': 'MX'},{'v':237 ,'c':'MX'}, {'v': 239, 'c': 'USA'}] | |
sorted_events = sorted(events, key=lambda e: e['c']) | |
for key, groups in groupby(sorted_events, lambda e: e['c']): | |
sum_events = sum([g['v'] for g in groups]) | |
print "country: %s has %i total events" % (key, sum_events) |