I hereby claim:
- I am mattiasholmqvist on github.
- I am mattiasholmqvist (https://keybase.io/mattiasholmqvist) on keybase.
- I have a public key ASDtb4aeaNe35tDHG3yMm8Dxd-LR40bBaBznUXQPT1dKcgo
To claim this, I am signing this object:
| mattias$ webapp-haproxy-nodes mattias$ lein pallet converge webapp-nodes.nodes/proxied 1 :deploy-nano-webapp :restart-tomcat | |
| INFO 2010-11-16 21:29:46,876 pallet.core - retrieving nodes | |
| Exception in thread "main" com.google.common.collect.ComputationException: java.util.NoSuchElementException (NO_SOURCE_FILE:1) | |
| at clojure.lang.Compiler.eval(Compiler.java:5440) | |
| at clojure.lang.Compiler.eval(Compiler.java:5415) | |
| at clojure.lang.Compiler.eval(Compiler.java:5415) | |
| at clojure.lang.Compiler.eval(Compiler.java:5391) | |
| at clojure.core$eval.invoke(core.clj:2382) | |
| at clojure.main$eval_opt.invoke(main.clj:235) | |
| at clojure.main$initialize.invoke(main.clj:254) |
| mattias-holmqvists-macbook-pro-2:webapp-haproxy-nodes mattias$ lein pallet converge webapp-nodes.nodes/proxied 1 :deploy-nano-webapp :restart-tomcat | |
| INFO 2010-11-23 21:12:23,239 pallet.core - retrieving nodes | |
| WARN 2010-11-23 21:12:24,525 org.jclouds.aws.ec2.compute.functions.RegionAndIdToImage - could not find image eu-west-1/ami-e5a78c91: null | |
| java.util.NoSuchElementException | |
| at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:375) | |
| at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:384) | |
| at com.google.common.collect.Iterators.getOnlyElement(Iterators.java:275) | |
| at com.google.common.collect.Iterables.getOnlyElement(Iterables.java:210) | |
| at org.jclouds.aws.ec2.compute.functions.RegionAndIdToImage.apply(RegionAndIdToImage.java:56) | |
| at org.jclouds.aws.ec2.compute.functions.RegionAndIdToImage.apply(RegionAndIdToImage.java:40) |
| (defproject webapp-haproxy-nodes "0.3.0" | |
| :description "Webapp with haproxy load balancer" | |
| :dependencies [[org.clojure/clojure "1.2.0"] | |
| [org.clojure/clojure-contrib "1.2.0"] | |
| [org.cloudhoist/pallet "0.4.0-SNAPSHOT"] | |
| [org.cloudhoist/pallet-crates-all "0.4.0-SNAPSHOT"] | |
| [org.jclouds/jclouds-all "1.0-SNAPSHOT"] | |
| [org.jclouds/jclouds-core "1.0-SNAPSHOT"] | |
| [org.jclouds/jclouds-compute "1.0-SNAPSHOT"] | |
| [org.jclouds/jclouds-enterprise "1.0-SNAPSHOT"] |
| ; | |
| ; | |
| ; Copyright (C) 2011 Cloud Conscious, LLC. <info@cloudconscious.com> | |
| ; | |
| ; ==================================================================== | |
| ; Licensed under the Apache License, Version 2.0 (the "License"); | |
| ; you may not use this file except in compliance with the License. | |
| ; You may obtain a copy of the License at | |
| ; |
| (defproject example "1.0.0-SNAPSHOT" | |
| :description "Example" | |
| :dependencies [[org.cloudhoist/pallet "0.6.5-SNAPSHOT" :exclusions | |
| [org.jclouds/jclouds-core | |
| org.jclouds/jclouds-compute | |
| org.jclouds/jclouds-blobstore | |
| org.jclouds.drivers/jclouds-log4j]] | |
| [org.cloudhoist/pallet-crates-all "0.5.0"] | |
| [org.jclouds.provider/aws-ec2 "1.1.1"] | |
| [org.jclouds.provider/aws-s3 "1.1.1"] |
I hereby claim:
To claim this, I am signing this object:
| podTemplate(label: 'builder', | |
| containers: [ | |
| containerTemplate(name: 'jnlp', image: 'larribas/jenkins-jnlp-slave-with-ssh:1.0.0', args: '${computer.jnlpmac} ${computer.name}'), | |
| containerTemplate(name: 'docker', image: 'docker', command: 'cat', ttyEnabled: true), | |
| containerTemplate(name: 'kubectl', image: 'ceroic/kubectl', command: 'cat', ttyEnabled: true), | |
| containerTemplate(name: 'maven', image: 'maven:3.3.9-jdk-8-alpine', ttyEnabled: true, command: 'cat') | |
| ], | |
| volumes: [ | |
| hostPathVolume(hostPath: '/var/run/docker.sock', mountPath: '/var/run/docker.sock'), | |
| secretVolume(secretName: 'maven-settings', mountPath: '/root/.m2'), |
| heroku login | |
| heroku create | |
| heroku git:remote -a '<YOUR_APP_NAME>' | |
| heroku config:set SERIALIZED_ACCESS_KEY=<YOUR_ACCESS_KEY> | |
| heroku config:set SERIALIZED_SECRET_ACCESS_KEY=<YOUR_SECRET_ACCESS_KEY> | |
| heroku open |
| var axios = require('axios') | |
| // Setup client to use access key headers from environment variables | |
| var client = axios.create({ | |
| baseURL: 'https://api.serialized.io', | |
| headers: { | |
| 'Serialized-Access-Key': `${process.env.SERIALIZED_ACCESS_KEY}`, | |
| 'Serialized-Secret-Access-Key': `${process.env.SERIALIZED_SECRET_ACCESS_KEY}` | |
| } | |
| }); |