certbot/tools
Brad Warren 4b06eeae64
Update Fedora AMI (#7102)
Fixes #6955.

This updates the Fedora version used in our test farm tests to Fedora 30. The AMI ID comes from https://alt.fedoraproject.org/cloud/ where it is listed as their standard HVM AMI for the region we use us-east-1 (US East (N. Virginia)).

Unfortunately, there were a lot of small changes required for this. The big reason for this is on Fedora, there isn't a Python 2 executable installed. In fact, there's not even an executable named python. It's just python3. Rather than installing another Python in each test, I wrote a script that the test scripts can share to figure out the different paths and names that should be used in their script. (This isn't used in test_sdists.sh because the logic is a little different.)

Other changes here worth flagging are:

I changed the name of the variable RUN_PYTHON3_TESTS in test_leauto_upgrades.sh to RUN_RHEL6_TESTS. The tests that are run when this variable is set test the upgrade from Python 2 to Python 3 on RHEL 6. I think this new name is much better now that we also have Fedora running Python 3.
I made tools/simple_http_server.py work on Python 3.
You can see tests passing with these changes at https://travis-ci.com/certbot/certbot/builds/113821476. I also ran test_tests.sh and they passed.

* Update to Fedora 30 in test farm tests.

Fedora 28 is likely to reach its EOL soon.

* Add set_python_envvars.sh.

* Fix test_apache2.sh on python3 only distros.

* Fix test_leauto_upgrades.sh on python3 systems.

* Fix certonly_standalone tests with python3 only

* Fix test_sdists.sh on python3 only distros.

* Make simple_http_server.py work on Python 3.

* add comments
2019-05-31 18:08:52 -07:00
..
_changelog_top.txt Automation for changelog changes during release (#6489) 2018-11-26 17:48:59 -05:00
_release.sh Update Lexicon dependency in dnsimple (#7008) 2019-04-30 20:59:05 +02:00
_venv_common.py [Unix] Create a framework for certbot integration tests: PART 5-FINAL (#6989) 2019-05-14 13:56:32 -07:00
deactivate.py Use josepy instead of acme.jose. (#5203) 2017-12-11 11:25:09 -08:00
deps.sh rename letshelp-letsencrypt 2016-04-13 17:42:19 -07:00
dev_constraints.txt [Unix] Create a framework for certbot integration tests: PART 2 (#6821) 2019-04-11 18:07:36 -07:00
docker-warning.sh add docker-warning script 2017-03-06 19:31:42 -08:00
eff-pubkey.pem Add pubkey to tree 2016-03-01 11:21:51 -08:00
half-sign.c Use SHA256 openssl signatures 2016-01-11 14:22:51 -08:00
install_and_test.py [Windows] Working unit tests for certbot-nginx (#6782) 2019-02-20 16:20:16 -08:00
merge_requirements.py Address review comments 2019-03-04 15:52:38 +02:00
offline-sigrequest.sh Don't require festival during signing. (#6079) 2018-06-07 11:43:45 +03:00
oldest_constraints.txt Process isolated local oldest requirements for DNS plugins (#6653) 2019-01-17 15:21:13 -08:00
pip_install.py Try another approach (#7022) 2019-05-02 15:17:11 -07:00
pip_install_editable.py Fail-fast in test/cover/lint scripts (#6487) 2018-11-14 13:57:40 -08:00
readlink.py [Windows|Unix] Rewrite bash scripts for tests into python (#6435) 2018-11-07 17:16:16 -08:00
release.sh Release script improvements (#6337) 2018-09-05 14:10:05 -07:00
simple_http_server.py Update Fedora AMI (#7102) 2019-05-31 18:08:52 -07:00
sphinx-quickstart.sh Put API link at the bottom of DNS plugin docs (#5699) 2018-03-12 17:10:23 -07:00
strip_hashes.py Address review comments 2019-03-04 15:52:38 +02:00
venv.py Use VIRTUALENV_NO_DOWNLOAD in tools/venv.py. (#6931) 2019-04-09 16:10:19 +02:00
venv3.py Use venv over virtualenv in venv3 (#6922) 2019-04-05 15:01:09 -07:00