From 29342a86d0deaa8f3d93c487c14e5ab915ecc185 Mon Sep 17 00:00:00 2001 From: Denis Rumyantsev Date: Thu, 10 Aug 2023 00:51:44 +0200 Subject: [PATCH] fix functional signing l1 tests --- src/Misc/externals.sh | 2 +- src/Test/L1/Worker/SigningL1Tests.cs | 16 +++++++--------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/src/Misc/externals.sh b/src/Misc/externals.sh index 9823b7efcd..9f986806f8 100644 --- a/src/Misc/externals.sh +++ b/src/Misc/externals.sh @@ -278,6 +278,6 @@ if [[ "$L1_MODE" != "" || "$PRECACHE" != "" ]]; then # we may need to fix this in the Agent if [[ "$PACKAGERUNTIME" == "win-x64" || "$PACKAGERUNTIME" == "win-x86" ]]; then # signed service tree task - acquireExternalTool "$CONTAINER_URL/l1Tasks/5515f72c-5faa-4121-8a46-8f42a8f42132.zip" "Tasks" false dont_uncompress + acquireExternalTool "$CONTAINER_URL/l1Tasks/d9bafed4-0b18-4f58-0001-86655b4d2ce9.zip" "Tasks" false dont_uncompress fi fi diff --git a/src/Test/L1/Worker/SigningL1Tests.cs b/src/Test/L1/Worker/SigningL1Tests.cs index 34f927182f..064214b0aa 100644 --- a/src/Test/L1/Worker/SigningL1Tests.cs +++ b/src/Test/L1/Worker/SigningL1Tests.cs @@ -230,23 +230,21 @@ private static TaskStep GetSignedTask() { Reference = new TaskStepDefinitionReference { - Id = Guid.Parse("5515f72c-5faa-4121-8a46-8f42a8f42132"), - Name = "servicetree-link-build-task-signed", - Version = "1.52.1" + Id = Guid.Parse("d9bafed4-0b18-4f58-0001-86655b4d2ce9"), + Name = "CmdLine", + Version = "2.212.0" }, - Name = "servicetree-link-build-task-signed", - DisplayName = "ServiceTree Integration - SIGNED", + Name = "CmdLine", + DisplayName = "Command line - SIGNED", Id = Guid.NewGuid() }; // These inputs let the task itself succeed. - step.Inputs.Add("Service", "23ddace0-0682-541f-bfa9-6cbc76d9c051"); - step.Inputs.Add("ServiceTreeLinkNotRequiredIds", "2"); // Set to system.definitionId - step.Inputs.Add("ServiceTreeGateway", "Foo"); + step.Inputs.Add("script", "echo Hey!"); return step; } - private static string _fingerprint = "3F9001EA83C560D712C24CF213C3D312CB3BFF51EE89435D3430BD06B5D0EECE"; + private static string _fingerprint = "AA12DA22A49BCE7D5C1AE64CC1F3D892F150DA76140F210ABD2CBFFCA2C18A27"; } }