Keybase is hiring: engineers! Consider tracking kpoulsen torgo nitot nikolajsonne codinghorror
This file contains 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
--- | |
driver: | |
name: docker_cli | |
socket: "<%= ENV['DOCKER_HOST'] %>" | |
image: XXXXX/amazonlinux-14kitchen:201709.1 | |
pre_create_command: "../../bin/kitchen-docker-preamble.sh" | |
privileged: false | |
dns: | |
- 1.1.1.1 | |
- 8.8.8.8 |
This file contains 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
$ kitchen diagnose --all | |
--- | |
timestamp: 2018-11-16 23:17:37 UTC | |
kitchen_version: 1.23.2 | |
plugins: | |
driver: | |
DockerCli: | |
class: Kitchen::Driver::DockerCli | |
version: | |
api_version: |
This file contains 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
$ kitchen diagnose --no-instances --loader | |
--- | |
timestamp: 2018-11-16 23:13:51 UTC | |
kitchen_version: 1.23.2 | |
loader: | |
process_erb: true | |
process_local: true | |
process_global: true | |
global_config: | |
project_config: |
This file contains 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 ec2 describe-volumes --volume-ids vol-0e6a71a5340a91429 vol-0336bbd16f71969e6 vol-08c469ea953c8471d vol-0c5bbd5ed2d4fbcc9 | |
{ | |
"Volumes": [ | |
{ | |
"AvailabilityZone": "us-west-2b", | |
"Attachments": [ | |
{ | |
"AttachTime": "2018-07-23T18:59:50.000Z", | |
"InstanceId": "i-0ff82a927e9c8f50b", | |
"VolumeId": "vol-0e6a71a5340a91429", |
This file contains 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
$ PACKER_LOG=1 packer build jenkins-fe-85-packer.json | |
2017/03/27 23:12:58 [INFO] Packer version: 0.10.2 | |
2017/03/27 23:12:58 Packer Target OS/Arch: linux amd64 | |
2017/03/27 23:12:58 Built with Go Version: go1.7.1 | |
2017/03/27 23:12:58 Detected home directory from env var: /var/lib/jenkins | |
2017/03/27 23:12:58 Using internal plugin for parallels-pvm | |
2017/03/27 23:12:58 Using internal plugin for amazon-chroot | |
2017/03/27 23:12:58 Using internal plugin for file | |
2017/03/27 23:12:58 Using internal plugin for openstack | |
2017/03/27 23:12:58 Using internal plugin for virtualbox-ovf |
This file contains 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
$ PACKER_LOG=1 packer build jenkins-fe-85-packer.json | |
2017/03/27 22:50:45 [INFO] Packer version: 0.10.2 | |
2017/03/27 22:50:45 Packer Target OS/Arch: linux amd64 | |
2017/03/27 22:50:45 Built with Go Version: go1.7.1 | |
2017/03/27 22:50:45 Detected home directory from env var: /var/lib/jenkins | |
2017/03/27 22:50:45 Using internal plugin for vmware-vmx | |
2017/03/27 22:50:45 Using internal plugin for azure-arm | |
2017/03/27 22:50:45 Using internal plugin for digitalocean | |
2017/03/27 22:50:45 Using internal plugin for virtualbox-ovf | |
2017/03/27 22:50:45 Using internal plugin for vmware-iso |
This file contains 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
benmullin$ packer build machine_chef.json | |
docker output will be in this color. | |
==> docker: Creating a temporary directory for sharing data... | |
==> docker: Pulling Docker image: ubuntu | |
docker: Using default tag: latest | |
docker: latest: Pulling from library/ubuntu | |
docker: 6d28225f8d96: Already exists | |
docker: 166102ec41af: Already exists | |
docker: d09bfba2bd6a: Already exists |
This file contains 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
CSV.foreach("/home/deploy/all_failed_association_tries.csv") do |row| | |
request = JSON.try(:parse, row.first).inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} | |
product = Product.all.detect{ |p| p.game_id == request[:game_id].to_i && p.client_id == request[:client_id].to_i} | |
user = User.find_by_id(request[:user_id].to_i) | |
Ztrack.with_info(:request_product => product, :request_user => user) { Ztrack.associate(request) } unless user && product | |
end |