Skip to content

Commit

Permalink
Merge branch 'release/1.2.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
npalm committed Jul 30, 2018
2 parents c49c073 + 6d5f0ff commit b853082
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHNAGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [1.2.0] - 2018-07-30
### Added
- Add a map for for a more flexible mechanism to tag.

Expand All @@ -14,6 +16,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
- Limit the resources access for docker machine.
- Updated default docker build image to 18.03.1-ce

### Fixes
- Add fix for non correct ec2 instances starting, add retry to yum update

## [1.1.0] - 2018-07-14
### Added
- Add variable to enable cloudwatch monitoring for spot instances, by default disabled.
Expand Down
3 changes: 2 additions & 1 deletion template/logging.tpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
echo 'installing additional software for logging'
# installing in a loop to ensure the cli is intalled.
for i in {1..5}
for i in {1..7}
do
echo "Attempt: ---- " $i
yum install -y aws-cli awslogs jq && break || sleep 60
done

Expand Down
6 changes: 5 additions & 1 deletion template/user-data.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ tee /etc/hosts <<EOL
127.0.0.1 localhost localhost.localdomain `hostname`
EOL

yum -y update
for i in {1..7}
do
echo "Attempt: ---- " $i
yum -y update && break || sleep 60
done

${logging}

Expand Down

0 comments on commit b853082

Please sign in to comment.