Commit Graph

22 Commits

Author SHA1 Message Date
John Mulligan 2c249311ef travis: use "octopus" release by name
Within the last 24hrs the "octopus" release of ceph is available, and
matching tags have been created in the ceph containers project. Consume
the release name rather than master.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-03-25 17:37:43 +01:00
John Mulligan 3f92504a00 travis: enable testing with ceph "octopus"
Currently there's no container image named "octopus" but its imminent.
Once ceph container starts tagging images with "latest-octopus" we
should switch to that.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-03-12 13:33:16 +01:00
John Mulligan 86945c70db travis: use makefile rules in travis configuration
Instead of duplicating some of the actions in the travis yaml file and
the Makefile, have travis rules make use of the Makefile.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-03-12 13:33:16 +01:00
John Mulligan 0b6bc6e4dd travis: update to use bionic for travis
Our use of the base os is pretty minimal as the tests mainly rely on
what happens inside the container. Might as well not use something old.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2020-03-12 13:33:16 +01:00
Niels de Vos 58b4237aa9 travis: pass CEPH_VERSION as argument to 'docker build'
Signed-off-by: Niels de Vos <ndevos@redhat.com>
2020-02-12 13:48:21 -05:00
John Mulligan b3deb28b94 makefile: use revive for style checking
Switch use of style checker from golint to revive for both the makefile
and travis configuration.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-12-12 11:22:11 -05:00
John Mulligan 93d8176a10 travis: add ceph nautilus to the test matrix
Add ceph nautilus to the test matrix as well as simplifying the setup
script in the travis yaml file.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
2019-11-04 13:15:30 -05:00
dmaiocchi 157d0c73b3 Enable golint in travis and Makefile 2018-12-11 23:38:36 +01:00
Lincoln Thurlow ecf9a99249 cephfs: add unmount, release, chmod, chown, etc
This commit adds the following cephfs functions:

* Unmount // Unmounting is necessary to cleanup mounts
* Release // Release destroys the cmount ~ end of transaction
* RemoveDir // inverse of MakeDir
* Chown // change ownership of file or directory
* Chmod // change permissions of file or directory

Tests are included for each function.

In addition to these changes modifications to:

.travis.yml, Dockerfile, and Makefile

were made to accomodate tests to mount the ceph volume.  Tests use
fuse to mount the volume which requires adding:

--device /dev/fuse --cap-add SYS_ADMIN --security-opt \
apparmor:unconfined

to the docker container (alternatively --privileged works but adds
additional permissions).

Changes to README add the above docker changes as well as point
users to the necessary ceph development libraries.
2018-10-11 11:09:16 -07:00
Noah Watkins 3dd9a8e5d4 ci: build and run tests with luminous/mimic
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-08-09 07:34:43 -07:00
Noah Watkins 19a37c4565 ci: update to luminous and dockerized setup
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
2018-07-07 13:20:41 -07:00
Joannah Nanjekye 35ee127486 Add go vet to Travis 2018-01-30 21:12:42 +03:00
Noah Watkins fd5c141175 ci: fixup ci for jewel and kraken
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2017-01-12 15:16:34 -08:00
Abhishek Lekshmanan 722a5ff06f travis: check for go fmt violations for patches
While submitting patches travis will fail if source isn't go fmt'ed

Signed-off-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
2015-07-08 14:07:55 +05:30
Noah Watkins 571d19f634 ci: fetch dependencies
This was apparently happening automatically and not now. I'm not sure what's going on.
2015-05-24 11:21:29 -07:00
Noah Watkins 95fa549c14 travis: add mds to micro cluster
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-05-01 12:41:47 -07:00
Noah Watkins ec33d6739a ci: add librbd-dev dependency
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 22:18:31 -08:00
Noah Watkins ac99e00c8e ci: test in sub dirs
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 21:01:25 -08:00
Noah Watkins 64ba2d55b6 ci: use stable release
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-12 20:35:31 -08:00
Noah Watkins 7f8267475e ci: use ceph next tree
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2015-01-09 14:57:12 -08:00
Noah Watkins 70e325826b test: use micro-osd script to setup ci build
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-11-27 16:28:52 -08:00
Noah Watkins ae857db917 travis: install ceph in ci environment
Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
2014-09-03 07:15:36 -07:00