Commit Graph

62 Commits

Author SHA1 Message Date
Pedro Algarvio
4d8503e304
Fix path to Mac OS requirements file 2019-11-10 15:46:10 +00:00
Pedro Algarvio
eea27dc56b
Timestamp log files 2019-10-31 15:22:39 +00:00
Pedro Algarvio
738d5765f9
Use relative paths 2019-10-31 15:22:39 +00:00
Pedro Algarvio
549274584b
Generate and upload salt and tests coverage separately 2019-10-30 21:31:01 +00:00
Pedro Algarvio
ed0dccaeff
Nox docs build now builds HTML docs and Man pages 2019-10-28 15:28:19 +00:00
Pedro Algarvio
c086a7546a
Add crypto requirements constrains.
Additionally, add support for OSX constrains file into noxfile.
2019-10-28 13:55:06 +00:00
Pedro Algarvio
63bd6a92d8
Fix Docs and Lint nox pip constrains usage 2019-10-28 13:22:08 +00:00
Pedro Algarvio
5df806955b
Switch to pip constraints files 2019-10-17 20:22:46 +01:00
Pedro Algarvio
503f1e2a82
Consolidate linux static requirements 2019-10-17 20:22:46 +01:00
Pedro Algarvio
546a9511be
RAET is now deprecated 2019-10-10 09:47:05 +01:00
Pedro Algarvio
b459a482a0
Don't fail when combining coverage files 2019-07-18 18:20:19 +01:00
Pedro Algarvio
69e1d84525
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:22:27 +01:00
Akmod
1c3667a3ac
Updated paramiko to version 2.2.3 for python3.7 support (#53356)
* Updated paramiko to version 2.2.3 for python3.7 support

* Handle nox running under Py2 and Py3

* Stop compiling static TCP requirements.

* Fix Amazon 2018.03 in excludes

* Compile requirements files
2019-06-05 12:07:28 -06:00
Pedro Algarvio
1cf57e9418
Merge pull request #53273 from s0undt3ch/hotfix/py3-nox-docs-2019.2.1
[2019.2.1] Switch docs building under Py3
2019-06-05 11:01:02 +01:00
Pedro Algarvio
bec7fa5521
The TCP transport needs the exact same requirements as the ZeroMQ one
```
10:38:21          test_down (integration.runners.test_manage.ManageTest) ... 09:37:29,619 [salt.minion                                               :3064][CRITICAL] Unexpected error while connecting to localhost
10:38:21        Traceback (most recent call last):
10:38:21          File "/tmp/kitchen/testing/salt/minion.py", line 3036, in _connect_syndic
10:38:21            yield syndic.connect_master(failed=failed)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
10:38:21            value = future.result()
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
10:38:21            raise_exc_info(self._exc_info)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1063, in run
10:38:21            yielded = self.gen.throw(*exc_info)
10:38:21          File "/tmp/kitchen/testing/salt/minion.py", line 1218, in connect_master
10:38:21            master, self.pub_channel = yield self.eval_master(self.opts, self.timeout, self.safe, failed)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 1055, in run
10:38:21            value = future.result()
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/concurrent.py", line 238, in result
10:38:21            raise_exc_info(self._exc_info)
10:38:21          File "/tmp/kitchen/testing/.nox/runtests-parametrized-2-7-coverage-true-crypto-none-transport-tcp/lib/python2.7/site-packages/tornado/gen.py", line 307, in wrapper
10:38:21            yielded = next(result)
10:38:21          File "/tmp/kitchen/testing/salt/minion.py", line 713, in eval_master
10:38:21            pub_channel = salt.transport.client.AsyncPubChannel.factory(self.opts, **factory_kwargs)
10:38:21          File "/tmp/kitchen/testing/salt/transport/client.py", line 161, in factory
10:38:21            import salt.transport.zeromq
10:38:21          File "/tmp/kitchen/testing/salt/transport/zeromq.py", line 41, in <module>
10:38:21            import zmq.error
10:38:21        ImportError: No module named zmq.error
```
2019-05-29 13:10:46 +01:00
Pedro Algarvio
98653c068d
Allow docs to be built on Python >= 3.5, not just Python 3.6 2019-05-29 11:42:12 +01:00
Pedro Algarvio
c54f06f085
Have sphinx turn errors into warnings 2019-05-29 11:42:04 +01:00
Pedro Algarvio
07f432796c
Switch docs building under Py3
Refs #53137
2019-05-29 11:42:01 +01:00
Pedro Algarvio
73c37262a2
Salt >= 2018.3.x supports Py3.7 2019-05-10 20:41:54 +01:00
Pedro Algarvio
c3a21f5ac9
As a script, not as a module 2019-05-08 13:16:44 +01:00
Pedro Algarvio
8948b690b1
Include COVERAGE_FILE as an env variable.
This will tell coverage where to save all coverage files.
2019-05-08 13:16:44 +01:00
Pedro Algarvio
294d6f43b9
Use the system's path separator 2019-05-08 13:16:43 +01:00
Pedro Algarvio
e52ab8762b
Always combine and generate the XML coverage report 2019-05-08 13:16:43 +01:00
Pedro Algarvio
ba8d0feb5c
Allow --install-only to gather the required information 2019-05-08 13:16:43 +01:00
Pedro Algarvio
6e5768a3b5
Add a nox session for the Jenkins tornado jobs 2019-05-08 13:16:40 +01:00
Pedro Algarvio
43321e80f3
Add a cloud nox session for both runtests and pytest 2019-05-08 13:16:40 +01:00
Pedro Algarvio
5965ab4b60
Disable progress bars on pip installs 2019-05-08 13:16:37 +01:00
Pedro Algarvio
870b8990f9
Remove unused argument 2019-05-08 13:16:36 +01:00
Pedro Algarvio
1656cb496e
Disable re-runing failed tests for now 2019-05-08 13:16:36 +01:00
Pedro Algarvio
83dc97dfee
Actually write the lint reports.
It's just too much trouble to stream both to stdout and to a file from a
subprocess.
2019-05-08 13:16:35 +01:00
Pedro Algarvio
0090c5595d
Try and address the fact that some python packages are only provided by the distro
This is the case for python-apt on debian based distributions.
2019-05-08 13:16:35 +01:00
Pedro Algarvio
d308dce3f5
Be verbose in a CI context 2019-05-08 13:16:33 +01:00
Pedro Algarvio
8b7105e1f9
Fix failed tests re-run logic 2019-05-08 13:16:33 +01:00
Pedro Algarvio
535e7a7135
Add TCP transport nox sessions 2019-05-08 13:16:32 +01:00
Pedro Algarvio
49a1ebea09
Throw error when running either on Py<2.7 or Py>=3.7 2019-05-08 13:16:32 +01:00
Pedro Algarvio
10528b915a
Don't repeat filed tests on missing/empty failed test files file 2019-05-08 13:16:32 +01:00
Pedro Algarvio
48868099a3
We currently only support running lint under Py2.7 2019-05-08 13:16:31 +01:00
Pedro Algarvio
a76981bc5b
Remove dead code 2019-05-08 13:16:31 +01:00
Pedro Algarvio
7b2c1ce272
Don't require six 2019-05-08 13:16:31 +01:00
Pedro Algarvio
a27ed35dee
Add nox env to build docs 2019-05-08 13:16:31 +01:00
Pedro Algarvio
9eab9f4aef
Add nox session/env/target to run lint against Salt and it's test suite 2019-05-08 13:16:30 +01:00
Pedro Algarvio
6ee1260e21
Static requirements are now placed on py<major>.<minor> subdirectories 2019-05-08 13:16:28 +01:00
Pedro Algarvio
7c2fe16c9f
Instead of quoting session parameters, proxy nox sessions 2019-05-08 13:16:28 +01:00
Pedro Algarvio
d3ae77b37d
Add separate crypto sessions 2019-05-08 13:16:27 +01:00
Pedro Algarvio
0399620a5a
Parametrize the transport 2019-05-08 13:16:27 +01:00
Pedro Algarvio
3cfcb13286
Be aware of the new static requirements layout 2019-05-08 13:16:27 +01:00
Pedro Algarvio
036bf686c0
Rerun failed tests 2019-05-08 13:16:26 +01:00
Pedro Algarvio
430677995d
Merge branch '2017.7.9' into 2017.7 2019-03-21 11:52:55 +00:00
Pedro Algarvio
36ed50d771
Lock to unittest-xml-reporting 2.2.1
After this version, the library started taking into account expected
failures which Jenkins treats as regular failures.
2019-03-21 11:51:48 +00:00
Pedro Algarvio
3e6cb79db2
Merge branch '2017.7.9' into 2017.7 2019-03-21 11:44:13 +00:00