From 5488c380d1c53bd846f44a63afad03d934c44d62 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Tue, 25 Jun 2019 16:32:11 +0200 Subject: [PATCH] Fix symmetry between test artifact handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The module yaml file provides the instruction for creating and upload the test artifacts, it might as well provide the instruction for downloading it. Coin sets the corresponding environment variable for the storage path now. Change-Id: I4aabe60e28c0c1a6d5934b3b7b797835a793a7fe Reviewed-by: Jędrzej Nowacki --- coin/module_config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/coin/module_config.yaml b/coin/module_config.yaml index 8d864085ac..be7882f0b3 100644 --- a/coin/module_config.yaml +++ b/coin/module_config.yaml @@ -263,6 +263,13 @@ build_instructions: maxTimeBetweenOutput: 1200 test_instructions: + - type: InstallTestBinaryArchive + relativeStoragePath: "{{.Env.MODULE_ARTIFACTS_RELATIVE_STORAGE_PATH}}" + directory: "{{.SourceDir}}/tests" + maxTimeInSeconds: 1200 + maxTimeBetweenOutput: 1200 + userMessageOnFailure: > + Failed to install tests archive. - type: ChangeDirectory directory: "{{.SourceDir}}/tests" - type: ExecuteCommand