summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update vagrant version to resolve dependency errorscentos-ciAnoop C S2021-01-121-2/+3
|
* centos-ci: allow to run on a PR against the tests branch.Michael Adam2020-05-181-18/+27
| | | | | | | | | This detects if running a PR against the "tests" branch and just adds the extra args to the invocation of "make test" on the master branch. This is enabled by having merged https://github.com/gluster/samba-integration/pull/73 . Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: streamline install of vagrant rpmMichael Adam2020-04-281-9/+9
| | | | | | | Avoid the slightly confusing stance `yum install || yum update`. Instead, use rpm -q to check for the desired RPM version. Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: install vagrant from upstream instead of sclMichael Adam2020-04-271-14/+25
| | | | | | | | | | vagrant in SCL is deprecated and does not install any more. Because there's currently no good choice to work with centos7, we are reverting to installing vagrant from upstream (hashicorp) RPMs. Inspired by https://github.com/heketi/ci-tests/pull/9 Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: split the script in 3 phasesMichael Adam2020-04-271-25/+47
| | | | | | | | | | 1) install git and check PR, possibly restarting the script 2) prep the system 3) run tests This way, we can actually test changes to the system setup. Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: don't install unneeded packagesMichael Adam2020-03-211-2/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: diagnostic output when starting overMichael Adam2020-03-211-0/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: remove superlfuous commentMichael Adam2020-03-211-1/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: execute PR version of the script if PR changed itMichael Adam2020-03-211-0/+14
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: add MakefileMichael Adam2020-03-201-0/+4
| | | | | | | With a "test" target that will invoke the script so that it will run make test from the master branch. Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: fix rebasingMichael Adam2020-03-201-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: always run make test in vagrant-enabled shellMichael Adam2020-03-201-3/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: run "make test" instead of trueMichael Adam2020-03-201-1/+3
| | | | | | | | With https://github.com/gluster/samba-integration/pull/6, a Makefile with target "test" should be added. Once we use that, we don't have to modify this script any more to change what tests are run. Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: rebase against the PR target branch instead of masterMichael Adam2020-03-201-2/+2
| | | | | | | Needs https://github.com/gluster/centosci/pull/83 for the ghprbTargetBranch variable to be set. Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: protect a variable expansions with quotesMichael Adam2020-03-201-2/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: bootstrap.sh: small fix.Michael Adam2020-03-201-1/+1
| | | | | | | | | | If more than one variable is passed, then the bootstrap.sh errors with something like "/bootstrap.sh: line 7: [: ghprbPullId=8: binary operator expected" Making this safer. Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: add first cut at samba-integration-centos-ci-tests.shMichael Adam2020-03-201-0/+80
| | | | | | This prepares the environment but does not run tests yet. Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: add bootstrap.shMichael Adam2020-03-201-0/+12
| | | | | | | Copied from https://github.com/heketi/ci-tests/blob/centos-ci/bootstrap.sh Signed-off-by: Michael Adam <obnox@samba.org>
* centos-ci: update READMEMichael Adam2020-03-181-2/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add READMEAnoop C S2019-08-201-0/+3
Signed-off-by: Anoop C S <anoopcs@redhat.com>