certbot/tests/letstest/scripts
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
..
boulder_config.sh Update test farm version of boulder to current master (#7002) 2019-04-30 13:13:37 -07:00
boulder_install.sh Make letstest docker ip more robust 2016-08-10 11:51:12 -07:00
set_python_envvars.sh Update Fedora AMI (#7102) 2019-05-31 18:08:52 -07:00
test_apache2.sh Update Fedora AMI (#7102) 2019-05-31 18:08:52 -07:00
test_leauto_upgrades.sh Update Fedora AMI (#7102) 2019-05-31 18:08:52 -07:00
test_letsencrypt_auto_certonly_standalone.sh Update Fedora AMI (#7102) 2019-05-31 18:08:52 -07:00
test_letsencrypt_auto_venv_only.sh Testfarm test new leauto (#3845) 2016-12-05 09:09:43 -08:00
test_renew_standalone.sh rename letstest stuff 2016-04-14 17:10:27 -07:00
test_sdists.sh Update Fedora AMI (#7102) 2019-05-31 18:08:52 -07:00
test_tests.sh Pin pytest in test_sdists.sh. (#6764) 2019-02-14 15:26:44 -08:00
test_tox.sh [Windows|Unix] Rewrite bash scripts for tests into python (#6435) 2018-11-07 17:16:16 -08:00