Skip to content

Commit

Permalink
Upgrade the API to v0.1.9 (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregoryguillou committed Apr 17, 2018
1 parent 6d629c9 commit ad198ef
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion api/api/swagger/swagger.yaml
@@ -1,6 +1,6 @@
swagger: "2.0"
info:
version: "0.1.8"
version: "0.1.9"
title: Terraform-api
# during dev, should point to your local machine
host: localhost:10010
Expand Down
2 changes: 1 addition & 1 deletion api/package.json
@@ -1,6 +1,6 @@
{
"name": "terraform-api",
"version": "0.1.8",
"version": "0.1.9",
"private": true,
"description": "An API Project, built with swagger to create resources with Terraform",
"keywords": [],
Expand Down
6 changes: 3 additions & 3 deletions docs/INSTALL/AWS.md
Expand Up @@ -120,7 +120,7 @@ and configuring it. Below is an example of such a configuration.

```shell
export RELEASES=https://github.com/gregoryguillou/terraform-api/releases
export VERSION=v0.1.8
export VERSION=v0.1.9
export OS=linux
curl -L ${RELEASES}/download/${VERSION}/terraforn-cli-${OS}-amd64 -o terraforn-cli

Expand All @@ -131,6 +131,6 @@ Terraform API API Key: [Enter and API Key]
SUCCESS: You are connected as gregory...

./terraforn-cli version
client: v0.1.8
server: v0.1.8
client: v0.1.9
server: v0.1.9
```
2 changes: 1 addition & 1 deletion docs/REFERENCE.adoc
Expand Up @@ -6,7 +6,7 @@

=== Version information
[%hardbreaks]
__Version__ : 0.1.8
__Version__ : 0.1.9


=== URI scheme
Expand Down
6 changes: 3 additions & 3 deletions runtime/bin/git-sync.sh
Expand Up @@ -22,11 +22,11 @@ chmod 600 ~/.netrc
# - to follow you can do that:
# git pull origin master
# - you might even be able to do:
# git fetch -unf origin v0.1.8:refs/tags/v0.1.8
# git checkout v0.1.8
# git fetch -unf origin v0.1.9:refs/tags/v0.1.9
# git checkout v0.1.9
#
# - Another way would be to do what Travis CI does
# git clone --depth=10 --branch=v0.1.8 ${GITHUB_REPOSITORY} <repo>
# git clone --depth=10 --branch=v0.1.9 ${GITHUB_REPOSITORY} <repo>

if [[ -d "/github/repository" ]]; then
cd /github/repository
Expand Down
2 changes: 1 addition & 1 deletion runtime/entrypoint.sh
Expand Up @@ -8,7 +8,7 @@ function usage() {
}

function version() {
echo "terraform-api version 0.1.8"
echo "terraform-api version 0.1.9"
exit 0
}

Expand Down
4 changes: 2 additions & 2 deletions stack/aws/packer/bootstrap.sh
Expand Up @@ -18,8 +18,8 @@ mkdir -p /mnt/couchbase/data
mkdir -p /opt/terraform-api/api


docker pull gregoryguillou/terraform-api:v0.1.8
docker pull gregoryguillou/terraform-api:v0.1.8-runtime
docker pull gregoryguillou/terraform-api:v0.1.9
docker pull gregoryguillou/terraform-api:v0.1.9-runtime
docker pull consul:1.0.6
docker pull couchbase:community-5.0.1

Expand Down
2 changes: 1 addition & 1 deletion stack/aws/packer/terraform-api.json
Expand Up @@ -5,7 +5,7 @@
"vpc": "",
"subnet": "",
"region": "eu-west-1",
"version": "v0.1.8"
"version": "v0.1.9"
},
"builders": [{
"type": "amazon-ebs",
Expand Down
4 changes: 2 additions & 2 deletions stack/docker/docker-compose.yml
Expand Up @@ -2,7 +2,7 @@ version: '3.2'

services:
terraform-api:
image: "gregoryguillou/terraform-api:${VERSION:-v0.1.8}"
image: "gregoryguillou/terraform-api:${VERSION:-v0.1.9}"
ports:
- 10010:10010
volumes:
Expand All @@ -14,7 +14,7 @@ services:
restart: "always"

runtime:
image: "gregoryguillou/terraform-api:${VERSION:-v0.1.8}-runtime"
image: "gregoryguillou/terraform-api:${VERSION:-v0.1.9}-runtime"
depends_on:
- consul
environment:
Expand Down

0 comments on commit ad198ef

Please sign in to comment.