Commit graph

9233 commits

Author SHA1 Message Date
Brad Warren
d74f423b09 quiet and fast 2019-05-16 20:09:38 -07:00
Brad Warren
c92ef367a4 Merge remote-tracking branch 'origin/fix-race-condition' into test-letstest-all-changes 2019-05-16 20:09:22 -07:00
Brad Warren
796d321e44 Fix race condition adding tags to instance. 2019-05-16 20:03:26 -07:00
Brad Warren
9aa04fb59a Merge remote-tracking branch 'origin/louder' into test-letstest-all-changes 2019-05-16 17:07:08 -07:00
Brad Warren
0e26d1d8f4 Merge remote-tracking branch 'origin/travis-test-farm' into test-letstest-all-changes 2019-05-16 17:06:26 -07:00
Brad Warren
78bab48e7c Merge remote-tracking branch 'origin/dont-suppress-failure' into test-letstest-all-changes 2019-05-16 17:06:14 -07:00
Brad Warren
5497d59f5b Merge remote-tracking branch 'origin/letstest-no-profile' into test-letstest-all-changes 2019-05-16 16:56:17 -07:00
Brad Warren
b760d198b5 Merge remote-tracking branch 'origin/fix-centos6-test-sdists' into test-letstest-all-changes 2019-05-16 16:56:12 -07:00
Brad Warren
94cd3d93e4 Merge remote-tracking branch 'origin/apache2_targets' into test-letstest-all-changes 2019-05-16 16:56:06 -07:00
Brad Warren
b5edb3a2df Merge remote-tracking branch 'origin/letstest-exit-status' into test-letstest-all-changes 2019-05-16 16:56:00 -07:00
Brad Warren
ba70e1748d Merge remote-tracking branch 'origin/letstest-requirements' into test-letstest-all-changes 2019-05-16 16:54:46 -07:00
Brad Warren
fa5fd25eda Merge remote-tracking branch 'origin/no-sharing' into test-letstest-all-changes 2019-05-16 16:54:38 -07:00
Brad Warren
611fb266ff Flush output. 2019-05-16 16:34:48 -07:00
Brad Warren
6e466c9740 Add test farm tests to tox and travis. 2019-05-16 16:30:53 -07:00
Brad Warren
da34e9efc3 Occasionally print output in test farm tests. 2019-05-16 12:02:17 -07:00
Andreas Vogler
7cfbeaeac8 Added certbot-dns-rfc2136 to list of changed modules in CHANGELOG (#7074)
* Add an option to dns_rfc2136 plugin to explicitly specify an authorative base domain.

* Updated CHANGELOG mentioning added base domain option

* Made the comment on the new option more clear on auto-detection

* Updated comment on how the authorative base domain is determined

* Added certbot-dns-rfc2136 to list of changed modules in CHANGELOG
2019-05-16 13:06:29 +02:00
Andreas Vogler
5ab6a597b0 Add an option to dns_rfc2136 plugin to specify an authorative base domain. (#7029)
* Add an option to dns_rfc2136 plugin to explicitly specify an authorative base domain.

* Updated CHANGELOG mentioning added base domain option

* Made the comment on the new option more clear on auto-detection

* Updated comment on how the authorative base domain is determined
2019-05-16 10:40:17 +02: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
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
Erica Portnoy
0baefcae32 Bump version to 0.35.0 2019-05-06 13:28:23 -07:00