Skip to content

Commit

Permalink
Fix the acceptance tests and update README and CHANGELOG
Browse files Browse the repository at this point in the history
Prep for 0.1.1 release
  • Loading branch information
pshima committed Feb 2, 2016
1 parent f9fab71 commit a073dfa
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## 0.1.1
* Explicitly state that the backup completed successfully
* Add count of keys to log output
* Add travis.yml for testing
* Write to a better structured remote path in s3 bucket bucketname/backups/year/month/day/*
* Rebuild with latest hashicorp/go-cleanhttp
* Add updatedeps Makefile option

## 0.1.0

* Initial Release
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ deps:
go get github.com/golang/lint/golint
go get

updatedeps:
go get -u -v github.com/aws/aws-sdk-go
go get -u -v github.com/hashicorp/consul
go get -u -v github.com/Pallinder/go-randomdata
go get -u -v github.com/mitchellh/cli
go get -u -v github.com/golang/lint/golint

build: deps
go build

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,5 @@ To run the acceptance test set ACCEPTANCE_TEST=1
- Add metrics
- Add single key backups
- Add options to specify paths
- Add ability to encrypt backups before uploading

8 changes: 7 additions & 1 deletion acceptance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,13 @@ func TestAcceptance(t *testing.T) {
}
}

b := &backup.Backup{}
t.Log("Starting Backup")
client := &consul.Consul{Client: *consul.Client()}

b := &backup.Backup{
Client: client,
}

b.Runner("test")

_, err = c.KV().DeleteTree("", nil)
Expand Down

0 comments on commit a073dfa

Please sign in to comment.