Commit 95fa3b4a authored by nimrod's avatar nimrod
Browse files

GitLab CI.

- Test with pre-commit.
- GitLab release and PyPI upload on tagged commits.
parent a27f8b56
Loading
Loading
Loading
Loading
Loading

.gitlab-ci.yml

0 → 100644
+8 −0
Original line number Diff line number Diff line
---
include:
  - project: shore/ci-templates
    file: templates/pre-commit.yml
  - project: shore/ci-templates
    file: templates/gitlab-release.yml
  - project: shore/ci-templates
    file: templates/pypi-upload.yml
+1 −0
Original line number Diff line number Diff line
recursive-include check_mysql_slave *.py
exclude .pre-commit-config.yaml
exclude .gitlab-ci.yml
include *.rst
include VERSION
include *.txt
+4 −0
Original line number Diff line number Diff line
check_mysql_slave
#################

.. image:: https://git.shore.co.il/nimrod/check_mysql_slave/badges/master/pipeline.svg
    :target: https://git.shore.co.il/nimrod/check_mysql_slave/-/commits/master
    :alt: pipeline status

Check MySQL seconds behind master for Nagios-like monitoring.

Usage