From ff13087b197deabcc5227e90c737516c58d908af Mon Sep 17 00:00:00 2001 From: jonathan vanasco Date: Fri, 21 Feb 2025 07:37:27 -0500 Subject: [PATCH] update pebble with profile support and short times for CI testing of ARI and renewals --- .../utils/pebble_artifacts.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/certbot-ci/certbot_integration_tests/utils/pebble_artifacts.py b/certbot-ci/certbot_integration_tests/utils/pebble_artifacts.py index 9a5fa82e75d..7c5443b4e40 100644 --- a/certbot-ci/certbot_integration_tests/utils/pebble_artifacts.py +++ b/certbot-ci/certbot_integration_tests/utils/pebble_artifacts.py @@ -69,6 +69,16 @@ def _build_pebble_config(workspace: str, http_01_port: int, assets_path: str) -> 'httpPort': http_01_port, 'tlsPort': 5001, 'ocspResponderURL': 'http://127.0.0.1:{0}'.format(MOCK_OCSP_SERVER_PORT), + 'profiles': { + 'default': { + 'description': 'The profile you know and love', + 'validityPeriod': 10, + }, + 'shortlived': { + 'description': 'A short-lived cert profile, without actual enforcement', + 'validityPeriod': 5, + }, + }, }, }))