Commit graph

9234 commits

Author SHA1 Message Date
Brad Warren
1ea5bb5fb8 Merge branch 'louder' into test-letstest-all-changes2 2019-05-16 11:41:43 -07:00
Brad Warren
ebeb7dd8ce flush output 2019-05-16 11:40:42 -07:00
Brad Warren
c6537a3d6f Merge branch 'louder' into test-letstest-all-changes2 2019-05-16 10:31:28 -07:00
Brad Warren
0e9cadcafd Occasionally print output in test farm tests. 2019-05-16 10:24:23 -07:00
Brad Warren
d203947757 Merge remote-tracking branch 'origin/travis-test-farm' into test-letstest-all-changes2 2019-05-15 20:18:37 -07:00
Brad Warren
bd68c00ac7 Merge branch 'dont-suppress-failure' into test-letstest-all-changes2 2019-05-15 20:18:30 -07:00
Brad Warren
1d548c80a6 Merge remote-tracking branch 'origin/letstest-no-profile' into test-letstest-all-changes2 2019-05-15 20:16:36 -07:00
Brad Warren
9044f6c975 Merge branch 'fix-centos6-test-sdists' into test-letstest-all-changes2 2019-05-15 20:15:40 -07:00
Brad Warren
03110c0857 Merge branch 'apache2_targets' into test-letstest-all-changes2 2019-05-15 20:15:30 -07:00
Brad Warren
d11fa0e2d7 Merge branch 'letstest-exit-status' into test-letstest-all-changes2 2019-05-15 20:15:24 -07:00
Brad Warren
7ea7638f29 Merge branch 'letstest-requirements' into test-letstest-all-changes2 2019-05-15 20:14:01 -07:00
Brad Warren
308157ed06 Merge branch 'no-sharing' into test-letstest-all-changes2 2019-05-15 20:13:53 -07:00
Brad Warren
8d898a7183 Incrementally build instances list. 2019-05-15 20:11:46 -07:00
Brad Warren
91b36e3b7f Fix cleanup on failure. 2019-05-15 18:45:10 -07:00
Brad Warren
a4b7fafe4f tox cleanup 2019-05-15 18:28:24 -07:00
Brad Warren
afd823c7ec Make script executable 2019-05-15 18:22:57 -07:00
Brad Warren
500ae4b85e Move test commands to external script. 2019-05-15 18:22:10 -07:00
Brad Warren
944b75d178 Add whitelist_externals 2019-05-15 18:09:00 -07:00
Brad Warren
8952e91fca Add test farm tests to .travis.yml. 2019-05-15 18:04:38 -07:00
Brad Warren
a8d89611a1 Add testenv:travis-test-farm-tests 2019-05-15 18:02:40 -07:00
Brad Warren
b9d71190a7 Allow magic profile name none. 2019-05-15 16:56:06 -07:00
Brad Warren
a76020f6bc Add encrypted private key. 2019-05-15 15:44:25 -07:00
Brad Warren
846de3cc65 fix venv path 2019-05-15 15:16:15 -07:00
Brad Warren
10fa95cba8 Use Python 3 when appropriate. 2019-05-15 15:09:33 -07:00
Brad Warren
60fba5fcfe Update known good apache2 targets. 2019-05-15 15:03:10 -07:00
Brad Warren
ff7fc8486a Exit with a nonzero status when tests fail. 2019-05-14 16:12:09 -07:00
Adrien Ferrand
9a7f774706 [Unix] Create a framework for certbot integration tests: PART 5-FINAL (#6989)
* Connect certbot-ci to travis. Remove old bash files.

* Configure test-everything

* Protect against import error

* Remove unused ignore

* Better handling of urllib3

* Correct path

* Remove a warning

* Correct call

* Protect atexit register execution

* Update docs/contributing.rst

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Update docs/contributing.rst

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Add again some bash scripts to avoid breaking to much retro-compatiblity on third party scripts

* Move boulder-v1 and boulder-v2 in nightly tests

* Separate oldest unit tests and oldest integration tests

* Remove try/except

* Test integration included in toxenv

* Add a wait to avoid a transient issue on OCSP status in oldest tests

* Clean travis.yml, split other tests

* Remove useless config

* Update .travis.yml

Co-Authored-By: Brad Warren <bmw@users.noreply.github.com>

* Update tox.ini

* Update tox.ini

* Remove pytest-sugar

* Remove empty pytest.ini, tests are working without it
2019-05-14 13:56:32 -07:00
Brad Warren
2abe39d8a2
Add legalese around MM instance. (#7064) 2019-05-14 13:28:23 -07:00
Brad Warren
bcfb070a9d update readme 2019-05-13 15:55:58 -07:00
Brad Warren
1ad6857b56 Add requirements.txt. 2019-05-13 15:55:33 -07:00
Adrien Ferrand
3888bc8f2a Revert " Add FreeBSD specific paths (#6702)" (#7056)
Revert #6702

After some discussions, we realized that changing the path for FreeBSD users, if it corresponds to the path used when Certbot is installed using ports, will break for users that installed it through certbot-auto.

Indeed in this case, the path used was the one for Linux. After #6702, Certbot would not find anymore the existing config path by default.

It would require, to be integrated, a proper documentation and a migration path. For now, it is preferable to revert it.

This reverts commit 7fe82cf1ac.
2019-05-13 13:55:22 -07:00
Po-Chuan Hsieh
7fe82cf1ac Add FreeBSD specific paths (#6702)
* Add support for FreeBSD specific paths

Reference:	https://svnweb.freebsd.org/ports/head/security/py-certbot/files/patch-certbot_compat.py

* Add CHANGELOG.md entry

* Fix linting error

Pointed out by:	@adferrand
2019-05-11 08:13:37 +02:00
Brad Warren
3c041f1655 Create main function. 2019-05-09 16:43:40 -07:00
Brad Warren
a7fd7cdd87 Pass in boulder_url. 2019-05-09 16:43:09 -07:00
Brad Warren
4f510706a1 Remove global boto3 state. 2019-05-09 16:41:02 -07:00
Brad Warren
7f75454675 Don't use EC2 global to block on instance start. 2019-05-09 16:33:30 -07:00
Brad Warren
3fbdef6a64 Set sentinel at top of script. 2019-05-09 16:31:26 -07:00
Brad Warren
2065775193 Set LOGDIR at top of script. 2019-05-09 16:30:56 -07:00
Brad Warren
d391fb8876
Merge pull request #7044 from certbot/candidate-0.34.2
Candidate 0.34.2
2019-05-07 15:03:03 -07:00
ohemorange
60bf8edc79
Merge branch 'master' into candidate-0.34.2 2019-05-07 14:51:17 -07:00
Erica Portnoy
ccedde088d Bump version to 0.35.0 2019-05-07 12:52:34 -07:00
Erica Portnoy
c3a395e7c5 Add contents to CHANGELOG.md for next version 2019-05-07 12:52:34 -07:00
Erica Portnoy
0e95cd8cde
Release 0.34.2 2019-05-07 12:52:28 -07:00
Erica Portnoy
7683636684 Update changelog for 0.34.2 release 2019-05-07 12:17:33 -07:00
Brad Warren
8ff24f60a8
0.34.x check_permissions.py filesystem root (#7038)
* Fix check permissions logic (#7034)

Fixes #7031 

I use the same approach than in `CreateVenv()` and `CompareVersions()`: a new bash function `CheckPathPermissions()` is declared an execute a python script passed to the interpreter through stdin.

This allows:
* to not require the temp_dir that holds a temporary script to be executed
* to reduce at the bare minimum the change to make on the order of bash command to execute (including when the temp_dir is created)

* Fix check permissions logic in certbot-auto by making a temp dir useless

* Update CHANGELOG.md

(cherry picked from commit 71b1b8c2d9)

* Fixup changelog.
2019-05-06 16:54:33 -07:00
Brad Warren
a754a90940 Fix test_leauto_upgrades.sh on CentOS 6. (#7037) 2019-05-06 16:50:03 -07:00
ohemorange
f56fad59c9
Merge pull request #7036 from certbot/candidate-0.34.1-2
Candidate 0.34.1-2
2019-05-06 16:24:47 -07:00
Brad Warren
b86f553586 Merge branch 'master' into candidate-0.34.1-2 2019-05-06 15:56:22 -07:00
Adrien Ferrand
71b1b8c2d9 Fix check permissions logic (#7034)
Fixes #7031 

I use the same approach than in `CreateVenv()` and `CompareVersions()`: a new bash function `CheckPathPermissions()` is declared an execute a python script passed to the interpreter through stdin.

This allows:
* to not require the temp_dir that holds a temporary script to be executed
* to reduce at the bare minimum the change to make on the order of bash command to execute (including when the temp_dir is created)

* Fix check permissions logic in certbot-auto by making a temp dir useless

* Update CHANGELOG.md
2019-05-06 15:49:47 -07:00
Brad Warren
0c96cf6560
Merge pull request #7033 from certbot/0.34.1.release
Release 0.34.1
2019-05-06 15:26:28 -07:00