Commit Graph

7 Commits

Author SHA1 Message Date
Dean Troyer f8471e4334 Final CTI update
Adds build, install targets, updates test* targets

Change-Id: Id7394568e4c99c7a56f3c48a6a2a8150c034719e
2017-03-24 11:18:10 -05:00
Dean Troyer 5620f4d381 Update for CTI ps4
Update the Makefile targets for current CTI proposal.

Change-Id: If1c881df259fbac94e8289cd8373d6b20c789484
2017-03-10 14:54:38 -06:00
Davanum Srinivas ce3bd97613 Sanitize the package names
* All files in the same directory should belong to
  the same package
* Avoid xyz/xyz_v123 format (example volume/volume_v2)
* Added a doc.go so we can support a different import
  path later:
    https://golang.org/doc/go1.4#canonicalimports
* Drop the trailing ".git" in the imports

Change-Id: If4a880c62a2142f7015ed693e07af239bbbcf8e5
2017-03-07 13:39:59 -05:00
Dean Troyer 753e96dd4a Fix unit tests
* OpenStack CI (Zuul?) puts repos under test in a repo named for the
  running job rather than the actual repo name, Go doesn't like ths.
  Get the actual package name from glide.yaml to build the golang
  workspace rather than the current directory.
* Only install glide on OS/X if it is not already found
* Hack out a bunch of the volume v3 stuff that I should not have merged
  before the unit job was working...the revert fails now too, so this
  is just a fine mess that I am going to clean up now.

Change-Id: I66b359fc1bfd91e686ef0b3f068e582b009e1ea5
2017-01-18 10:52:41 -06:00
Dean Troyer 34a783684a Use glide for dependencies
Use the new tools/test-setup.sh for bootstrapping our
dev/test environment

Change-Id: Ic5c9d89d4a6d89f8a4b138fc9c814452fc6ff104
2017-01-17 10:17:33 -06:00
Dean Troyer 9b52de086d Add bindep support
Adds make targets bindep and .bindep (install bindep into a venv)

Change-Id: Ie497d917e9149e56d8a1ed2570896b8b812da283
2016-12-22 09:42:59 -06:00
Dean Troyer d6e0b326e1 Makefile with unit tests
Skip examples in unit tests

Change-Id: I4e5673a33d45acaf13e3b08ff7b18d6bbf59a973
2016-12-14 18:26:53 -06:00