mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Disable certbot-auto upgrade on RHEL-like systems (#8653)
Fixes #8637 * Disable upgrade for RHEL-like systems * Remove letstest on Amazon Linux * Update changelog
This commit is contained in:
@@ -18,6 +18,7 @@ Certbot adheres to [Semantic Versioning](https://semver.org/).
|
||||
which was needed to support SNI in TLS requests when using old versions of
|
||||
Python 2.
|
||||
* Certbot and all of its components no longer depend on the library `six`.
|
||||
* The update of certbot-auto itself is now disabled on all RHEL-like systems.
|
||||
|
||||
### Fixed
|
||||
|
||||
|
||||
@@ -806,6 +806,7 @@ elif [ -f /etc/mageia-release ]; then
|
||||
NO_SELF_UPGRADE=1
|
||||
elif [ -f /etc/redhat-release ]; then
|
||||
DEPRECATED_OS=1
|
||||
NO_SELF_UPGRADE=1
|
||||
# Run DeterminePythonVersion to decide on the basis of available Python versions
|
||||
# whether to use 2.x or 3.x on RedHat-like systems.
|
||||
# Then, revert LE_PYTHON to its previous state.
|
||||
|
||||
@@ -328,6 +328,7 @@ elif [ -f /etc/mageia-release ]; then
|
||||
NO_SELF_UPGRADE=1
|
||||
elif [ -f /etc/redhat-release ]; then
|
||||
DEPRECATED_OS=1
|
||||
NO_SELF_UPGRADE=1
|
||||
# Run DeterminePythonVersion to decide on the basis of available Python versions
|
||||
# whether to use 2.x or 3.x on RedHat-like systems.
|
||||
# Then, revert LE_PYTHON to its previous state.
|
||||
|
||||
@@ -57,10 +57,3 @@ targets:
|
||||
type: centos
|
||||
virt: hvm
|
||||
user: centos
|
||||
#-----------------------------------------------------------------------------
|
||||
# Amazon Linux
|
||||
- ami: ami-0ff8a91507f77f867
|
||||
name: amazon
|
||||
type: centos
|
||||
virt: hvm
|
||||
user: ec2-user
|
||||
|
||||
@@ -156,7 +156,7 @@ fi
|
||||
# Finally, we check if our local server received more requests. Over time,
|
||||
# we'll move more and more OSes into this case until it this is the expected
|
||||
# behavior on all systems.
|
||||
if [ -f /etc/issue ] && grep -iq "Amazon Linux" /etc/issue; then
|
||||
if [ -f /etc/redhat-release ]; then
|
||||
if ! diff "$LOG_FILE" "$PREVIOUS_LOG_FILE" ; then
|
||||
echo our local server received unexpected requests
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user