mirror of
https://github.com/certbot/certbot.git
synced 2026-06-03 13:59:02 -04:00
2.11.1 fix tests (#10204)
Forgot a few cherry-picked fixes --------- Co-authored-by: Brad Warren <bmw@users.noreply.github.com>
This commit is contained in:
parent
35ef63f958
commit
218af7faa7
5 changed files with 11 additions and 19 deletions
|
|
@ -22,7 +22,7 @@ if sys.version_info >= (3, 9): # pragma: no cover
|
|||
else: # pragma: no cover
|
||||
import importlib_resources
|
||||
|
||||
BIND_DOCKER_IMAGE = "internetsystemsconsortium/bind9:9.16"
|
||||
BIND_DOCKER_IMAGE = "internetsystemsconsortium/bind9:9.20"
|
||||
BIND_BIND_ADDRESS = ("127.0.0.1", 45953)
|
||||
|
||||
# A TCP DNS message which is a query for '. CH A' transaction ID 0xcb37. This is used
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server ipv6only=on;
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
index index.html index.htm;
|
||||
|
|
|
|||
|
|
@ -286,15 +286,15 @@ def create_client_instance(ec2_client, target, security_group_id, subnet_id, sel
|
|||
# 32 bit systems
|
||||
machine_type = 'c1.medium'
|
||||
name = 'le-%s'%target['name']
|
||||
print(name, end=" ")
|
||||
return make_instance(ec2_client,
|
||||
name,
|
||||
target['ami'],
|
||||
KEYNAME,
|
||||
machine_type=machine_type,
|
||||
security_group_id=security_group_id,
|
||||
subnet_id=subnet_id,
|
||||
self_destruct=self_destruct)
|
||||
try:
|
||||
instance = make_instance(ec2_client, name, target['ami'], KEYNAME,
|
||||
machine_type=machine_type, security_group_id=security_group_id,
|
||||
subnet_id=subnet_id, self_destruct=self_destruct)
|
||||
except Exception:
|
||||
print(f'FAIL: Unable to create instance {name}')
|
||||
raise
|
||||
print(f'Created instance {name}')
|
||||
return instance
|
||||
|
||||
|
||||
def test_client_process(fab_config, inqueue, outqueue, log_dir):
|
||||
|
|
@ -435,7 +435,6 @@ def main():
|
|||
|
||||
instances = []
|
||||
try:
|
||||
print("Creating instances: ", end="")
|
||||
# If we want to preserve instances, do not have them self-destruct.
|
||||
self_destruct = not cl_args.saveinstances
|
||||
for target in targetlist:
|
||||
|
|
@ -444,7 +443,6 @@ def main():
|
|||
security_group_id, subnet_id,
|
||||
self_destruct)
|
||||
)
|
||||
print()
|
||||
|
||||
# Install and launch client scripts in parallel
|
||||
#-------------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -33,12 +33,7 @@ targets:
|
|||
#-----------------------------------------------------------------------------
|
||||
# CentOS
|
||||
# These AMI were found on https://centos.org/download/aws-images/.
|
||||
- ami: ami-0aedf6b1cb669b4c7
|
||||
name: centos7
|
||||
type: centos
|
||||
virt: hvm
|
||||
user: centos
|
||||
- ami: ami-08f2fe20b72b2ffa7
|
||||
- ami: ami-00d53d23711185071
|
||||
name: centos9stream
|
||||
type: centos
|
||||
virt: hvm
|
||||
|
|
|
|||
Loading…
Reference in a new issue