Skip to content

Instantly share code, notes, and snippets.

View rockson.diff
diff --git a/.travis.yml b/.travis.yml
index 6a01597..fa5b456 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -24,7 +24,8 @@ env:
before_install:
- mkdir -p $(pwd)/aws
- mkdir -p $(pwd)/pip
- - pip install --upgrade awscli
+ - pip install awscli==1.16.209
View subnet split
~/Documents/meetup/git_repo/dp-infra ⑂ DATA-1403_add_vpc + $ ipcalc 10.198.0.0/16 -s 8190 8190 8190 8190 8190 32 32 32 32 32
Address: 10.198.0.0 00001010.11000110. 00000000.00000000
Netmask: 255.255.0.0 = 16 11111111.11111111. 00000000.00000000
Wildcard: 0.0.255.255 00000000.00000000. 11111111.11111111
=>
Network: 10.198.0.0/16 00001010.11000110. 00000000.00000000
HostMin: 10.198.0.1 00001010.11000110. 00000000.00000001
HostMax: 10.198.255.254 00001010.11000110. 11111111.11111110
Broadcast: 10.198.255.255 00001010.11000110. 11111111.11111111
Hosts/Net: 65534 Class A, Private Internet
View gist:0b48416e0096e7ddcdaba0c56daadf4f
/usr/local/git_repo/meetup/variant/infra ⑂ master prod$ kubectl get nodes
NAME STATUS ROLES AGE VERSION
gke-blt-prod-east04-6560f071-50dk Ready <none> 53m v1.8.8-gke.0
gke-blt-prod-east04-6560f071-c81v Ready <none> 49m v1.8.8-gke.0
gke-blt-prod-east04-6560f071-h12g Ready <none> 46m v1.8.8-gke.0
gke-blt-prod-east04-6560f071-s2d7 Ready <none> 41m v1.8.8-gke.0
gke-blt-prod-east04-6560f071-sp6q Ready <none> 37m v1.8.8-gke.0
gke-blt-prod-east04-6560f071-vnfq Ready <none> 34m v1.8.8-gke.0
gke-blt-prod-east04-6560f071-w76p Ready <none> 31m v1.8.8-gke.0
View listing of airflow dir
airflow.cfg core.airflow.280.1501169591 lost+found tmp7XjBrx tmpIJFV1O tmpNtVZ7P tmpZEBS15 tmpkFD2eU tmptrCOlr
airflow_dag_run.csv core.airflow.30778.1504576067 tmp13LERH tmp8DKkvf tmpIncW8h tmpNzGNAT tmp_Ji5Bk tmpkbsNYj tmpuyD5oo
airflow_db_dump core.airflow.30820.1504576069 tmp1W0kyt tmp8Uexl_ tmpInfMTS tmpOEopwf tmpaQg4WA tmpkf4QO8 tmpvuPkaP
airflow_scheduler_liveness.txt core.airflow.30832.1504576070 tmp23QjiI tmp91xyin tmpJ9cpp5 tmpOyN_bR tmpargoZO tmpklPZYT tmpwA1oKK
airflow_task_fail.csv core.airflow.30841.1504576070 tmp2I6ygs tmp9MitmL tmpJE8MKf tmpPbHcZo tmpb1otql tmpl987gi tmpwHz4bA
airflow_task_instance.csv core.airflow.32011.1504576171 tmp2Qzwnc tmp9Vn25T tmpJOIfNC tmpPwt5Ea tmpbX8Vmx tmplPyxe3 tmpwZW4zv
core.[ready] gunicor.153.1522855132 core.airflow.32048.1504576173 tmp32KqdJ tmp9mbZnd tmpKMpV1n tmpQxqZ1k tmpbugtHM tmplzFtYL tmpxphvJG
core.[ready] gunicor.171.1522855134 core.airflow.32049.150
View keybase.md

Keybase proof

I hereby claim:

  • I am brandon-dacrib on github.
  • I am brandon_dacrib (https://keybase.io/brandon_dacrib) on keybase.
  • I have a public key ASAJ9HF_rflL7ZVkiPDDvi9qHu9vaasGNTIDPO-pq-VM_wo

To claim this, I am signing this object:

View sample.json
{
"status": "UPDATE_COMPLETE",
"event": [
{
"params": [
{
"HttpImageTag": "212646169882.dkr.ecr.us-east-1.amazonaws.com/prod-builds/apache:5e3daef134ac605feeb553bd18874c722b7d1128"
},
{
"AppImageTag": "212646169882.dkr.ecr.us-east-1.amazonaws.com/prod-builds/admin:5e3daef134ac605feeb553bd18874c722b7d1128"
View gist:47b6bb80e9d5b5332c61b04254174833
diff --git a/cf/ecs/asg.cfn.yaml b/cf/ecs/asg.cfn.yaml
index 79527fd..87ae46e 100644
--- a/cf/ecs/asg.cfn.yaml
+++ b/cf/ecs/asg.cfn.yaml
@@ -226,6 +226,7 @@ Resources:
echo 'OPTIONS="$OPTIONS --storage-opt dm.basesize=25G"' >> /etc/sysconfig/docker
echo ECS_CLUSTER=${Cluster} >> /etc/ecs/ecs.config
echo ECS_CONTAINER_STOP_TIMEOUT=${EcsTimeout} >> /etc/ecs/ecs.config
+ echo ECS_AVAILABLE_LOGGING_DRIVERS='["splunk","awslogs"]' >> /etc/ecs/ecs.config
/etc/init.d/sendmail stop
View gist:5f2d45f97197562d1158
debian latest 140f9bdfeb97 8 days ago 125.1 MB
ubuntu 14.04 c4bea91afef3 11 days ago 187.9 MB
View docker build output
brandon@brandon-mba ~/Documents/devel/meetup/docker/build-apache $ docker build .
Sending build context to Docker daemon 3.072 kB
Step 1 : FROM debian
---> 23cb15b0fcec
Step 2 : CMD /bin/bash
---> Using cache
---> 3f81e0381be1
Step 3 : ENV DEBIAN_FRONTEND noninteractive
---> Using cache
---> 09549d23f174
View build-apache dockerfile
FROM debian
CMD ["/bin/bash"]
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update && apt-get -y upgrade
RUN apt-get -y install ruby-dev gcc make ruby
#RUN apt-get -y install libtool libtool-bin
RUN gem install fpm
RUN apt-get clean