Commit graph

97496 commits

Author SHA1 Message Date
Benjamin Drung
e976c8ea0b Include templates directory in release tarball
The unit test `unit.utils.test_extend.ExtendTestCase` needs to access
the files in the `templates` directory.

Therefore add the `templates` directory in the release tarball.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-07-01 20:44:28 +02:00
Benjamin Drung
ae40b7085a Include whole conf directory in release tarball
The unit tests in `unit.test_config.SampleConfTest` require the
directories `conf/cloud.profiles.d`, `conf/cloud.providers.d`, and
`conf/cloud.maps.d` to be present and to contain the relevant files.

Therefore add the whole `conf` directory in the release tarball.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-07-01 20:44:28 +02:00
Benjamin Drung
1654dc3922 Include all documentation files into release tarball
Add CODE_OF_CONDUCT.md, CONTRIBUTING.rst, NOTICE, and SUPPORT.rst into
the release tarball, because these files are also useful there.

Signed-off-by: Benjamin Drung <benjamin.drung@cloud.ionos.com>
2019-07-01 20:44:28 +02:00
C. R. Oldham
3270c5bc83
Merge pull request #53412 from cro/stale-events-53411
Stale events 53411
2019-06-28 11:43:30 -06:00
C. R. Oldham
1476d73c25
Merge branch '2018.3' into stale-events-53411 2019-06-27 11:19:57 -06:00
Pedro Algarvio
1806f21faf
Merge pull request #53608 from s0undt3ch/hotfix/fix-nox-bypass-2018.3
CI Pipelines. Timeout after getting a node. Report exit code.
2019-06-27 17:56:55 +01:00
C. R. Oldham
a2e1dda6b4
Merge branch '2018.3' into stale-events-53411 2019-06-26 20:51:44 -06:00
David Murphy
a194ebac63
Merge pull request #53370 from dmurphy18/fix_gpg_strbytes
Update access to str/bytes with to_unicode/to_bytes for Python 3 compatibility
2019-06-26 15:53:37 -06:00
C. R. Oldham
1f19a8beba
Merge branch '2018.3' into stale-events-53411 2019-06-26 13:49:25 -06:00
Pedro Algarvio
3cdf375591
CI Pipelines. Timeout after getting a node. Report exit code. 2019-06-26 20:31:22 +01:00
Shane Lee
4ba5c16d4b
Merge branch '2018.3' into fix_gpg_strbytes 2019-06-25 15:59:27 -06:00
Pedro Algarvio
06c412b6ba
Merge pull request #53573 from s0undt3ch/hotfix/fix-nox-bypass-2018.3
[2018.3] Minor fixes/adjustments to the new CI pipelines
2019-06-25 19:10:30 +01:00
Pedro Algarvio
d76ef84c0e
Minor fixes/adjustments to the new CI pipelines 2019-06-25 18:50:10 +01:00
David Murphy
0c56cc3bb5 Updated test for reviewer comments, removed unintended import gpg 2019-06-24 15:22:57 -06:00
David Murphy
d17ecff7e8 Updated due to review comments 2019-06-24 15:22:57 -06:00
David Murphy
c6bad928e3 Fix test comparison 2019-06-24 15:22:57 -06:00
David Murphy
34148be957 Updated test_gpg_sign assertions 2019-06-24 15:22:57 -06:00
David Murphy
5ad9bd850b Fix unit tests for gpg 2019-06-24 15:22:57 -06:00
David Murphy
9b1d346769 Update pylint issues 2019-06-24 15:22:57 -06:00
David Murphy
2fd4c32679 Initial working tests for gpg fixes and import keys, signing 2019-06-24 15:22:57 -06:00
David Murphy
2c5fdcd75e Update access to str/bytes with to_unicode/to_bytes for Python 3 2019-06-24 15:22:57 -06:00
C. R. Oldham
28df08b9a6
Merge branch '2018.3' into stale-events-53411 2019-06-24 13:09:51 -06:00
Bryce Larson
b61da95d70
Merge pull request #53543 from bryceml/2018.3
CHANGE_TARGET isn't always available, hard coding replacement
2019-06-21 10:33:39 -06:00
Bryce Larson
662efb5255
CHANGE_TARGET isn't always available, hard coding replacement 2019-06-19 23:25:44 -06:00
Pedro Algarvio
e99e4f0e94
Merge pull request #53525 from s0undt3ch/hotfix/fix-nox-bypass-2018.3
[2018.3] Update pipelines to work on old and new jenkins
2019-06-19 20:30:08 +01:00
Pedro Algarvio
c661e8e494
Update pipelines to work on old and new jenkins 2019-06-19 12:46:12 +01:00
C. R. Oldham
9c03423ba0
Fix weird merge conflict 2019-06-18 15:02:52 -06:00
C. R. Oldham
96431972ac
Add event_listen_queue_max_seconds to fix #53411 2019-06-18 15:02:45 -06:00
Pedro Algarvio
295e4fb1a6
Merge pull request #53407 from s0undt3ch/hotfix/fix-pkg-reqs-2018.3
[2018.3] Fix static requirements
2019-06-18 11:58:49 +01:00
Pedro Algarvio
810c81a347
Merge pull request #53484 from s0undt3ch/hotfix/fix-nox-bypass-2018.3
[2018.3] Workaround nox's install only flag
2019-06-18 10:36:26 +01:00
Pedro Algarvio
0363cf6542
Fix unit.templates.test_jinja.TestCustomExtensions.test_http_query 2019-06-17 12:21:31 +01:00
Pedro Algarvio
9729e9ec43
Workaround nox's install only flag
To get some information from the system, which we then use to choose the
appropriate static requirements file, we need to run some commands,
something that nox will refuse to do if `--install-only` is passed.

We work around it by manually patching the value of
`session._runner.global_config.install_only` for the commands that we
MUST run, and only those and then we set it back to the value it had
before.

For additional information about why we have to do this, please see:
   https://github.com/theacodes/nox/pull/181
2019-06-17 12:21:27 +01:00
Akmod
27cd1fd976
Merge pull request #53489 from jhmcstanton/test-doc-fix
Cleared up sentence in unit test docs
2019-06-14 13:18:12 -06:00
Jim McStanton
bada5a184e Cleared up sentence in unit test docs 2019-06-14 09:30:16 -05:00
Gareth J. Greenaway
b0d1a5c737
Merge pull request #53428 from bryceml/2018.3-fedora29
add fedora 29 tests to pr's
2019-06-11 10:23:37 -07:00
Pedro Algarvio
4dd6298ef1
Reflect the lint requirements update on the static lint requirements 2019-06-11 14:49:45 +01:00
Pedro Algarvio
3a7b18d949
Fix unit.templates.test_jinja.TestCustomExtensions.test_http_query 2019-06-11 14:49:45 +01:00
Pedro Algarvio
f60cfd8c67
Take into account the packaging requirements for OSX 2019-06-11 14:49:45 +01:00
Pedro Algarvio
e29e62e2d0
Take into account the packaging requirements for windows 2019-06-11 14:49:44 +01:00
Pedro Algarvio
e983c8c292
Fix Amazon 2018.03 in excludes 2019-06-11 14:49:44 +01:00
Pedro Algarvio
55b64f69b1
Stop compiling static TCP requirements. 2019-06-11 14:49:44 +01:00
Pedro Algarvio
95037c2538
Handle nox running under Py2 and Py3 2019-06-11 14:49:44 +01:00
Bryce Larson
082919dcbd
add fedora 29 tests to pr's 2019-06-10 17:09:18 -06:00
Charles McMarrow
383d946158
Merge pull request #53396 from cmcmarrow/dunder_del_exception_pylint
Dunder del exception pylint
2019-06-10 15:26:07 -06:00
Charles McMarrow
1aa96aba27
Merge branch '2018.3' into dunder_del_exception_pylint 2019-06-10 12:58:27 -06:00
Daniel Wozniak
841af1c53a
Merge pull request #53384 from bryceml/2018.3
only keep last 10 builds of every pr on jenkins to reduce disk usage
2019-06-10 10:25:55 -07:00
Gareth J. Greenaway
3354ae29ec
Merge branch '2018.3' into 2018.3 2019-06-10 10:19:46 -07:00
Charles McMarrow
a1feed4444
Merge branch '2018.3' into dunder_del_exception_pylint 2019-06-10 11:04:56 -06:00
Erik Johnson
b6d64f504a Fix traceback when making http query to non-listening host/port and raise_error=False (#53394)
* Fix traceback when making http query to non-listening host/port

The query result is None, which results in a traceback when we try to
report the length of the response before and after decompressing. This
fixes that by returning without attempting decompression if the response
resolves as False.

It also removes an extraneous elif which does nothing.

* Add test case

* Improve documentation for http.query remote-exec func

Also, suppress full traceback when socket errors go uncaught and reraise
as CommandExecutionError.

* Add missing imports
2019-06-10 11:04:25 -06:00
cmcmarrow
47f1330515
Dunder del exception pylint 2019-06-11 02:18:27 +11:00