Commit Graph

12 Commits

Author SHA1 Message Date
Julia Kreger f15485b1ac Fix glean docs build
Change-Id: Ic9a5516a7424736ecb8e31862c81866f5d20ac98
2023-11-02 13:29:45 -07:00
Ian Wienand ae571bfed8 Move to Zuul standard hacking rules
These seem as good as any.  Excluded vendored code.  Fix one small
line error.

Change-Id: I7208758ea131363f305863388d06a08a15304907
2021-04-28 08:18:02 +10:00
Dmitry Tantsur 4557d573bd Update hacking and fix pep8 violations
Using version 2.0.0 which was the last to support Python 2.

Change-Id: Ie7028516f41445791125b2f670a309c40150058b
2021-04-28 08:17:52 +10:00
Dmitry Tantsur 2fba753e8d Add Python 3.6 to supported versions
This is the version that CentOS/RHEL 8 and Ubuntu Bionic have.
I've tested Glean on CentOS 8, and it seems to work well.

Change-Id: Ie06a9c11b140728509a69b03366e910702fd0d3d
2021-03-19 13:56:39 +01:00
qingszhao c84d6ec851 fix tox python3 overrides
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.

We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.

We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.

Change-Id: Icb9bbf7bc7b1f9e1e28cb3c9cff200c237e57f80
Closes-Bug:  #1801657
2018-11-26 07:07:03 +00:00
Cao Xuan Hoang 6426ed8573 Remove support for py33/py26
Python 3.3/2.6 is not supported from Mitaka, as per Infra.
This patch removes the support and add py35 for the same.

Change-Id: I31153d37eea4fb920e8caa6612e8d3e72beb24e5
2017-02-07 08:11:32 +07:00
Ian Wienand 40c23769ab Use OS_LOG_CAPTURE to get log output
For reasons I'm not sure I want to think about, *some* tests have
their logging output captured without this environment variable, but
most don't.  This makes it really hard to debug failures, but I think
I never noticed this before because of the aforementioned case that
some tests capture the debug output anyway...

Anyway, capturing the log output seems like the right thing to do.  I
confirmed by putting in a false assert failing all tests that we get
the debug log output from *all* tests wit this.

Change-Id: I9d255436ab3fd303ea8a0d58b00e15cddb57de08
2016-09-07 06:03:09 +10:00
Clark Boylan 833df4a99c Ignore hacking rules
Infra has long ignored hacking rules because they enforce sillyness that
only pushes pain onto devs. We don't care about periods at the end of
commit message titles or the minute details of comments and docstrings.

Change-Id: I71b260b9a416dccbb7663a676ec196e8727588c7
2016-07-05 17:57:47 -07:00
Ian Wienand e1aed7ce1a Minor testing cleanups
test_glean.py inherits base.BaseTestCase from oslotest, so the
"base.py" definition is unnecessary.  Remove this file.

Add OS_DEBUG=1 to the environment so when we do get failures, we have
the debug logs enabled.

Change-Id: Iff3fb764aab15e402aefc88dcc2eae4f39f35de7
2015-12-21 14:49:39 +11:00
Monty Taylor f92020ba69 Add testing 2015-04-12 15:47:07 -04:00
Monty Taylor 164fd25604 Rename from process-config-drive to gleam 2015-04-12 14:18:13 -04:00
Monty Taylor f9300492eb Initial Cookiecutter Commit. 2015-03-02 19:05:03 -05:00