Evocheck is a Bash script to check the conformity of an Evolix server.
Go to file
Jérémy Lecour 3979b71831 Check for files before going further
Some non conventional servers might have important files or programs 
missing.
2019-03-23 10:18:01 +01:00
.drone.yml Fix LC_ALL for shellcheck in .drone.yml 2019-02-27 11:58:29 +01:00
.gitignore Add a Vagrantfile for testing 2018-12-21 15:23:17 +01:00
CHANGELOG Release 0.13 2018-04-10 15:30:34 +02:00
CONTRIBUTING.md Update CONTRIBUTING.md 2017-12-15 09:33:30 +01:00
evocheck.cf Annule un gros bug dans evomaintenance.cf ... 2012-01-27 12:40:57 +01:00
evocheck.sh Check for files before going further 2019-03-23 10:18:01 +01:00
LICENSE Add LICENSE: GNU GENERAL PUBLIC LICENSE v3 2018-12-20 11:14:34 +01:00
README.md improve README introduction 2019-02-19 10:04:36 +01:00
Vagrantfile Fix shell error on vagrant provision and rm old config 2019-01-16 16:14:58 +01:00

Evocheck

It runs many compliance checks of the server with Evolix conventions. Non-compliance warnings are printed on standard output.

It supports Debian and OpenBSD systems.

Some checks can be disabled in the /etc/evocheck.cf config file.

Tests can be run with Vagrant and the provided VagrantFile.

How to build the package for a new Debian release

On the master branch, add the last stable version with a release tag.

git tag -s v<VERSION> -m 'New release'
git push --tags

Checkout the branch debian, merge the master branch.

git checkout debian
git merge master --no-ff
dch -v <VERSION>-1
gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-export-dir=/tmp/build-area --git-ignore-new

If the build is OK, you can now build the final package.

dch -D stretch -r
gbp buildpackage --git-debian-branch=debian --git-upstream-tree=master --git-export-dir=/tmp/build-area --git-tag --git-sign --git-keyid=<KEY>

Testing

Evocheck can be tested with Vagrant, if you don't have installed it yet :

apt install vagrant vagrant-libvirt

You can now start your Vagrant machine and connect to it :

vagrant up
vagrant ssh
sudo -i

Evocheck can be run with :

/usr/share/scripts/evocheck.sh

Deployment

Launch vagrant rsync-auto in a terminal to automatically synchronise your local code with the Vagrant VM :

vagrant rsync-auto

License

This is an Evolix project and is licensed under the GPLv3, see the LICENSE file for details.