Skip to content

Commit

Permalink
Migrate from Travis CI to GitHub actions (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
keeprocking authored Jul 9, 2024
1 parent 6a52da0 commit 504348d
Show file tree
Hide file tree
Showing 17 changed files with 117 additions and 185 deletions.
51 changes: 51 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: tests
on:
- push
- pull_request
jobs:
tests:
runs-on: ubuntu-22.04
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- 'pypy3.9'
- 'pypy3.10'
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Python dependencies
run: |
pip install -r tests/config/requirements.txt
pip install -e .
- name: Set up Graylog
run: |
docker compose -f tests/config/docker-compose.yml up -d
sleep 60
./tests/config/graylog-setup.sh
- name: Run tests
run: pytest -v --cov=pygelf
- uses: coverallsapp/github-action@v2
with:
flag-name: ${{ matrix.python-version }}
parallel: true
pylint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Python dependencies
run: pip install -r tests/config/requirements.txt
- name: Run pylint
run: pylint pygelf
coverage:
needs:
- tests
runs-on: ubuntu-22.04
steps:
- uses: coverallsapp/github-action@v2
with:
parallel-finished: true
2 changes: 1 addition & 1 deletion .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ indent-after-paren=4
expected-line-ending-format=LF

[MESSAGES CONTROL]
disable=C0111
disable=C0111,too-many-arguments,too-many-instance-attributes,deprecated-method

[REPORTS]
reports=no
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
pygelf
======
|travis| |coveralls| |pypi| |downloads|
|gh-actions| |coveralls| |pypi| |downloads|

.. |travis| image:: https://travis-ci.org/keeprocking/pygelf.svg?branch=master
:target: https://travis-ci.org/keeprocking/pygelf
.. |gh-actions| image:: https://github.com/keeprocking/pygelf/actions/workflows/tests.yml/badge.svg?branch=master
:target: https://github.com/keeprocking/pygelf/actions
.. |pypi| image:: https://badge.fury.io/py/pygelf.svg
:target: https://pypi.python.org/pypi/pygelf
.. |coveralls| image:: https://coveralls.io/repos/github/keeprocking/pygelf/badge.svg?branch=master
Expand Down
4 changes: 2 additions & 2 deletions pygelf/gelf.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def make(record, domain, debug, version, additional_fields, additional_env_field
def add_extra_fields(gelf, record):
for key, value in record.__dict__.items():
if key not in SKIP_LIST and not key.startswith('_'):
gelf['_%s' % key] = value
gelf[f'_{key}'] = value


def object_to_json(obj):
Expand All @@ -90,7 +90,7 @@ def pack(gelf, compress, default):
def split(gelf, chunk_size):
header = b'\x1e\x0f'
message_id = os.urandom(8)
chunks = [gelf[pos:pos+chunk_size] for pos in range(0, len(gelf), chunk_size)]
chunks = [gelf[pos:pos + chunk_size] for pos in range(0, len(gelf), chunk_size)]
number_of_chunks = len(chunks)

for chunk_index, chunk in enumerate(chunks):
Expand Down
9 changes: 5 additions & 4 deletions pygelf/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from pygelf import gelf


class BaseHandler(object):
class BaseHandler:
def __init__(self, debug=False, version='1.1', include_extra_fields=False, compress=False,
static_fields=None, json_default=gelf.object_to_json, additional_env_fields=None, **kwargs):
"""
Expand Down Expand Up @@ -39,7 +39,8 @@ def __init__(self, debug=False, version='1.1', include_extra_fields=False, compr

def convert_record_to_gelf(self, record):
return gelf.pack(
gelf.make(record, self.domain, self.debug, self.version, self.additional_fields, self.additional_env_fields, self.include_extra_fields),
gelf.make(record, self.domain, self.debug, self.version, self.additional_fields,
self.additional_env_fields, self.include_extra_fields),
self.compress, self.json_default
)

Expand Down Expand Up @@ -167,7 +168,8 @@ def emit(self, record):

class GelfHttpsHandler(BaseHandler, LoggingHandler):

def __init__(self, host, port, compress=True, path='/gelf', timeout=5, validate=False, ca_certs=None, certfile=None, keyfile=None, keyfile_password=None, **kwargs):
def __init__(self, host, port, compress=True, path='/gelf', timeout=5, validate=False,
ca_certs=None, certfile=None, keyfile=None, keyfile_password=None, **kwargs):
"""
Logging handler that transforms each record into GELF (graylog extended log format) and sends it over HTTP.
Expand Down Expand Up @@ -211,7 +213,6 @@ def __init__(self, host, port, compress=True, path='/gelf', timeout=5, validate=
# Load our CA file
self.ctx.load_verify_locations(cafile=self.ca_certs)


if compress:
self.headers['Content-Encoding'] = 'gzip,deflate'

Expand Down
12 changes: 3 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,9 @@
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: System :: Logging',
Expand Down
45 changes: 17 additions & 28 deletions tests/config/cert.pem
Original file line number Diff line number Diff line change
@@ -1,34 +1,23 @@
-----BEGIN CERTIFICATE-----
MIIF5zCCA8+gAwIBAgIUcuhRodAyfvfBnyi/uRLWiqCDRecwDQYJKoZIhvcNAQEL
MIID5zCCAs+gAwIBAgIUTc9rrPVUCfREv9XgpEXPjzJI1eAwDQYJKoZIhvcNAQEL
BQAwgYIxCzAJBgNVBAYTAi0tMQswCQYDVQQIDAJDTzEQMA4GA1UEBwwHQm91bGRl
cjEPMA0GA1UECgwGcHlnZWxmMQ8wDQYDVQQLDAZweWdlbGYxEjAQBgNVBAMMCWxv
Y2FsaG9zdDEeMBwGCSqGSIb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zh+e/iu7CMfjZm4
+PWVc4uPJGayn1SwXN66o8vB8xXa9VEgliG0HwWJ21a61vfxJuieYUeRHQds81Xq
nJlLj6mZp917/GzJnERp8suYaiQuijbZqMfrGR0RdfGHuzkqMsbFOjAUQn9yMc3e
oBoioxzhBQ06oX7p09tN8RhQGq5kpvieCu7vtoZTBc89Otvx23MBFJiYxjaryFJq
8fJmATGl08WK1CbjlwIDAQABo1MwUTAdBgNVHQ4EFgQU+3i3H9+nU/JJ0AhYcAj2
e4l19V4wHwYDVR0jBBgwFoAU+3i3H9+nU/JJ0AhYcAj2e4l19V4wDwYDVR0TAQH/
BAUwAwEB/zANBgkqhkiG9w0BAQsFAAOCAQEAZKBxcIVQT2P5idtcasXKiae4bimD
XfpxoFYvreJ631z+lSUWPoOmQOf2mseAn0J7uC7PfUz6xScDG1I4xTfUHxlhxWBz
eLVjyO5rpUfqJqXTvws1QrmMQZo9XH/4c8OAnz8IebmyCAlhmxGel6TtHWbrOcyM
XlrbzrtWrBjXQPJuvtyidzix6WlwmbxOccwtGiRJGkLUr8N/Qyb5I+/+qQYsH0/6
V5PCIa5ez+ZksaamEMfxyLftnZQI5n7M01k/meQW5m5SPAvdkG/4DnkhQS5dBBeY
DMvL9dYAO5gBLHPryxMi96QprtxPpZfhm6SoEPz6Uj8TQa4Wv9dFPuZUTA==
-----END CERTIFICATE-----
24 changes: 0 additions & 24 deletions tests/config/cert.pem.old

This file was deleted.

1 change: 0 additions & 1 deletion tests/config/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '2'
services:
mongo:
image: "mongo:3.3"
Expand Down
4 changes: 2 additions & 2 deletions tests/config/gencert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ answers() {
PEM1=`/bin/mktemp /tmp/openssl.XXXXXX`
PEM2=`/bin/mktemp /tmp/openssl.XXXXXX`
trap "rm -f $PEM1 $PEM2" SIGINT
answers | openssl req -newkey rsa:2048 -keyout $PEM1 -nodes -x509 -days 365 -out $PEM2 2> /dev/null
answers | openssl req -newkey rsa:2048 -keyout $PEM1 -nodes -x509 -days 3650 -out $PEM2 2> /dev/null
cat $PEM1 > key.pem
cat $PEM2 > cert.pem
rm -f $PEM1 $PEM2
rm -f $PEM1 $PEM2
File renamed without changes.
76 changes: 26 additions & 50 deletions tests/config/key.pem
Original file line number Diff line number Diff line change
@@ -1,52 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQC7yAddqxRCt0yn
s0+oTnJS+YLPjPOojEQ1XCgRzniI4HzggzcaFzJ5QJMVcuk57WSY2QdNJaFZU1Bm
p8tEORvrCFVobCYxbMSrBkszaRfCQ/N6tKBwt5O69ZjYlao3BEtd1z6Vsa5fLYL+
zod3LEtFla+O+B4aK295x/R+YmK3sY4N10V4S/N0gF2vfmbT8Aj6W7PmLRW0HO5I
r8j3/4wSsh5TbB8S4AYKUkd64fUJxzk6YZuapS4rMTL9BeTEm4voJF0uF1V4Dxbv
EEXkSm3CAZI/b3cNVFLmivMkFOZbSeYoz07pJRxWyCIKPWbhRi1a/3F/O1W+ntx+
fjFbzqVRqWznKKbdTaIVrw7I0N0u2Mv+xf6bUfbAZYKHqQVlUiNxxbub9Tl1e2WQ
0J7SXiKn7bs0R2gzeKJv/Wqkqin1mHnJobk2eH7UbzDkNvDkS+sCI5BWipXnomH0
qL5Wf0M8gpJB/4kq8XZ2KhJh0EWl40wzi/ihFGcqiTSpEsD9wnWlcUtXNjtij60d
JAQUIIInzlYVYaQPtF1uy2JP/LvgPoBj/mexBynjZnste+ltypcCpCDp/jTPzL6y
Lxdb5Lg5JMK/LdmsZNoxLKz75/H9mtUe81jqGZfnxIE2OrVGp4/CVw2MdCWlFv2/
t5epUPrEKNPgZ9ACny5rVnUipEpIjwIDAQABAoICAQCV0zmdUNzvhlTREU6jWUP6
VD4835ehiZj6gjcuTfD6NTMt50PVu2B4Qj+Yw4C2yWSUV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47guq1bs8GLTjGHMdrpvWU/dAsXywvmPgUq
0/Xu85oxD4pydW2y6RzQADsv5GT39V4U7I6CpLNp1FSpL+Ax0sFizw/r2spbTTwX
BFxaSoZvAudKjzlfsTvJGZJXGQKBgQDfvo1TYJAYlTAUpftWGhuBzGkyC13sIEtX
RHlzkbL53jHSOJhtGyXNyPZu2+Jf28c+aeRgcauCMjA9TXl3n3qeQgl8yfl3Ozw2
p8Ak+nsh6zxlVrxv0kmijrK8+QPNvcEmsGR+FYpB4SlFy/EMRrkk8v/3v2mzwrzV
2WSX6orWLwKBgFbENLNjoevf92nBi6P7TF8sc/t5rZsEVvgX06VRctWhle9b0Lxi
4CXQZ6hmn4dTOosJ6OLNhFN4yaiEfiZ4R/l+XyJZevrlA7sM+e4EVm3J2PMq6JAT
03rfyDZjqcc0CZ9MbY9jdd2Em+iEOqC82eY63kuU1i8UYL5krAFg+wNpAoGBAMr+
c/QYYMOc3wFs0cn9Z8Vscmhv/aeUaSZkvpfGsY2XNLZYmJosjjDUyhgsMIbtvCf5
JLUHjCZUaIXFu5V3QGVC3p60FDxDps6jhWVHR92vMZ1zgwUk0Z/FPY7LkdLg/NOg
J5xo6IX6xVpIvIp5w9ItEWRx6nGoFXEjiet2ZL4LAoGAUeCSnPSqw0CTenJvB4mB
ETgc2MOAEqi4ipUhZNKutbA0XK+FTGUY3EMgZ5sEd/v6kbba7Sc7kdYn0nYV0nt7
8QAOr4FpfooEuSUvxhAQ9LOM71DNoQd007OvZGjZcY3NQVf9AjZVPf4WxGMFj/0d
GZDmB/1bIM6+W9gxrCl7yT8=
-----END PRIVATE KEY-----
29 changes: 0 additions & 29 deletions tests/config/key.pem.old

This file was deleted.

5 changes: 5 additions & 0 deletions tests/config/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
requests
mock
pytest-cov
coveralls
pylint
2 changes: 1 addition & 1 deletion tests/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import requests


@pytest.yield_fixture
@pytest.fixture
def logger(handler):
logger = logging.getLogger('test')
logger.addHandler(handler)
Expand Down
Loading

0 comments on commit 504348d

Please sign in to comment.