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
import boto3 | |
import json | |
import glob | |
import sys | |
import os | |
import re | |
# Get latest version of task definition. | |
def list_image(taskdefname): | |
client = boto3.client('ecs') |
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
#!/bin/bash | |
SUBDOMAIN_SUFFIX=$1 | |
REGION=$2 | |
# Get list of directories modified in current commit. | |
LIST_OF_DIRS=$(git diff --dirstat=files,0 HEAD~1 | awk '{print $2}' | cut -d '/' -f 1 | uniq) | |
CURR_DIR=$(echo $(pwd)) | |
for i in $LIST_OF_DIRS | |
do |
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
package main | |
import ( | |
"bufio" | |
"bytes" | |
"fmt" | |
"strings" | |
) | |
//func check(e err) { |