Update Treasuremap ref to use valid certs

Unit tests are failing for check_pki_certs against airsloop. The ref
used is at a previous point in time where the certs are expiring.
This patch uses the most recent (as of this patch date) ref of
Treasuremap to get valid certificates for these tests.

Change-Id: I1b276f0eab24148b341676dadfb6e031bfd7c802
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
This commit is contained in:
Alexander Hughes 2020-05-19 09:58:29 -04:00
parent cb3046ee53
commit 6dbaa4e6e0

View File

@ -30,7 +30,7 @@ from tests.unit import test_utils
TEST_PARAMS = {
"site_name": "seaworthy",
"site_type": "foundry",
"repo_rev": '29c67eb3a0ce046e41cfadbb9381697cd556f659',
"repo_rev": '8459e3faf18c20266c3272e6c3754d59814d12c4',
"repo_name": "treasuremap",
"repo_url": "https://opendev.org/airship/treasuremap.git",
}
@ -693,7 +693,7 @@ class TestSiteSecretsActions(BaseCLIActionTest):
reason='cfssl must be installed to execute these tests')
def test_check_pki_certs(self):
repo_path = self.treasuremap_path
secrets_opts = ['secrets', 'check-pki-certs', 'airsloop']
secrets_opts = ['secrets', 'check-pki-certs', "airsloop"]
result = self.runner.invoke(
commands.site, ['--no-decrypt', '-r', repo_path] + secrets_opts)
assert result.exit_code == 0, result.output