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
| build: | |
| box: | |
| id: youyo/hugo:latest | |
| cmd: /bin/sh | |
| steps: | |
| - script: | |
| name: Build static pages. | |
| code: |- | |
| hugo |
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
| phase1: | |
| box: | |
| id: golang:1.6.2-alpine | |
| cmd: /bin/sh | |
| steps: | |
| - wercker/setup-go-workspace: | |
| package-dir: github.com/youyo/wercker-test | |
| - script: | |
| name: Build | |
| code: |- |
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
| phase1: | |
| box: | |
| id: golang:1.6.2-alpine | |
| cmd: /bin/sh | |
| steps: | |
| - wercker/setup-go-workspace: | |
| package-dir: github.com/youyo/wercker-test | |
| - script: | |
| name: Build | |
| code: |- |
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
| $ fio -filename=efs/test2g -direct=1 -rw=write -bs=4k -size=2G -numjobs=64 -runtime=60 -group_reporting -name=file1 | |
| file1: (g=0): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1 | |
| ... | |
| file1: (g=0): rw=write, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1 | |
| fio-2.1.5 | |
| Starting 64 processes | |
| Jobs: 64 (f=62): [WWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWWW] [100.0% done] [0KB/1268KB/0KB /s] [0/317/0 iops] [eta 00m:00s] | |
| file1: (groupid=0, jobs=64): err= 0: pid=2852: Wed Jun 29 07:47:05 2016 | |
| write: io=76360KB, bw=1267.2KB/s, iops=316, runt= 60221msec | |
| clat (msec): min=7, max=257, avg=192.56, stdev=14.95 |
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
| $ fio -filename=efs/test2g -direct=1 -rw=randwrite -bs=4k -size=2G -numjobs=64 -runtime=60 -group_reporting -name=file1 | |
| file1: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1 | |
| ... | |
| file1: (g=0): rw=randwrite, bs=4K-4K/4K-4K/4K-4K, ioengine=sync, iodepth=1 | |
| fio-2.1.5 | |
| Starting 64 processes | |
| Jobs: 64 (f=52): [wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww] [100.0% done] [0KB/1272KB/0KB /s] [0/318/0 iops] [eta 00m:00s] | |
| file1: (groupid=0, jobs=64): err= 0: pid=2918: Wed Jun 29 07:50:31 2016 | |
| write: io=76032KB, bw=1262.5KB/s, iops=315, runt= 60228msec | |
| clat (msec): min=8, max=366, avg=163.02, stdev=13.49 |
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
| #cloud-config | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClVm7p5ckjmscB4gfJrI9O9Pa7Wo/7VEVkkgACZut7xBDK7dpD2wsavCUe9s2Ll4jFDc4UjsvypgPYhAGu3k9tGb8v7ysPHC2ZMh1zCdqrvuNMl+w3EnoEJW9iY5/NgCT807TqW890CUww3rHAYyyB0msmN62UgHdELFQHWAa7wNcQeTPUG0r8FaxwTYiMAtKoHz9YQMQJdDrTd6UmOSBWx0SEyBk0RL5v9kWzz4hIsQV80psDcDoSxrj37fSkG3oZDu7sG2owjAaxG5bKgQ3g9e953LnGEiI8ywHVeerL/A1cZTWcoM91aqyiT3goLF7dQFzXzL3iw3OQN/BL3ExN | |
| hostname: coreos1 | |
| coreos: | |
| units: | |
| - name: 10-eth0.network |
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
| # | |
| .env* | |
| my.cnf | |
| .wercker/ | |
| __* | |
| *.exe | |
| *.test | |
| *.prof | |
| *.swp | |
| tmp/ |
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
| #cloud-config | |
| hostname: coreos1 | |
| ssh_authorized_keys: | |
| - ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQClVm7p5ckjmscB4gfJrI9O9Pa7Wo/7VEVkkgACZut7xBDK7dpD2wsavCUe9s2Ll4jFDc4UjsvypgPYhAGu3k9tGb8v7ysPHC2ZMh1zCdqrvuNMl+w3EnoEJW9iY5/NgCT807TqW890CUww3rHAYyyB0msmN62UgHdELFQHWAa7wNcQeTPUG0r8FaxwTYiMAtKoHz9YQMQJdDrTd6UmOSBWx0SEyBk0RL5v9kWzz4hIsQV80psDcDoSxrj37fSkG3oZDu7sG2owjAaxG5bKgQ3g9e953LnGEiI8ywHVeerL/A1cZTWcoM91aqyiT3goLF7dQFzXzL3iw3OQN/BL3ExN | |
| write_files: | |
| - path: /etc/ssh/sshd_config | |
| permissions: 0600 |
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
| awsauth = AWS4Auth( | |
| os.environ['AWS_ACCESS_KEY_ID'], | |
| os.environ['AWS_SECRET_ACCESS_KEY'], | |
| os.environ['AWS_REGION'], | |
| 'es', | |
| session_token=os.environ['AWS_SESSION_TOKEN'] | |
| ) | |
| client = Elasticsearch( | |
| hosts=[{'host': 'xxxxxxxxx.region.es.amazonaws.com', 'port': 443}], | |
| http_auth=awsauth, |
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": "2012-10-17", | |
| "Statement": [ | |
| { | |
| "Effect": "Allow", | |
| "Principal": { | |
| "AWS": "arn:aws:iam::xxxxxxxxxxx:role/role_name" | |
| }, | |
| "Action": "es:*", | |
| "Resource": "arn:aws:es:region:xxxxxxxxxxx:domain/ess_domain_name/*" |