Skip to content

Commit

Permalink
fix functional signing l1 tests (#4390)
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisRumyantsev authored Aug 10, 2023
1 parent 5a8ed1f commit d1af460
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Misc/externals.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 7 additions & 9 deletions src/Test/L1/Worker/SigningL1Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}

0 comments on commit d1af460

Please sign in to comment.