Skip to content

Commit 1784351

Browse files
committed
Updated engineering.
1 parent 0667863 commit 1784351

3 files changed

Lines changed: 3 additions & 77 deletions

File tree

.teamcity/settings.kts

Lines changed: 1 addition & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ project {
1717
buildType(ReleaseBuild)
1818
buildType(PublicBuild)
1919
buildType(PublicDeployment)
20-
buildType(DownstreamMerge)
2120

22-
buildTypesOrder = arrayListOf(DebugBuild,ReleaseBuild,PublicBuild,PublicDeployment,DownstreamMerge)
21+
buildTypesOrder = arrayListOf(DebugBuild,ReleaseBuild,PublicBuild,PublicDeployment)
2322

2423
}
2524

@@ -319,76 +318,3 @@ object PublicDeployment : BuildType({
319318

320319
})
321320

322-
object DownstreamMerge : BuildType({
323-
324-
name = "Downstream Merge"
325-
326-
params {
327-
text("DownstreamMergeArguments", "", label = "Merge downstream Arguments", description = "Arguments to append to the 'Merge downstream' build step.", allowEmpty = true)
328-
text("DefaultBranch", "develop/2025.0", label = "Default Branch", description = "The default branch of this build configuration.")
329-
text("TimeOut", "300", label = "Time-Out Threshold", description = "Seconds after the duration of the last successful build.", regex = """\d+""", validationMessage = "The timeout has to be an integer number.")
330-
}
331-
332-
vcs {
333-
root(AbsoluteId("Metalama_Metalama20250_MetalamaFrameworkRunTime"))
334-
}
335-
336-
steps {
337-
powerShell {
338-
name = "Merge downstream"
339-
id = "DownstreamMerge"
340-
scriptMode = file {
341-
path = "Build.ps1"
342-
}
343-
noProfile = false
344-
scriptArgs = "tools git merge-downstream %DownstreamMergeArguments%"
345-
}
346-
}
347-
348-
failureConditions {
349-
failOnMetricChange {
350-
metric = BuildFailureOnMetric.MetricType.BUILD_DURATION
351-
units = BuildFailureOnMetric.MetricUnit.DEFAULT_UNIT
352-
comparison = BuildFailureOnMetric.MetricComparison.MORE
353-
compareTo = build {
354-
buildRule = lastSuccessful()
355-
}
356-
stopBuildOnFailure = true
357-
param("metricThreshold", "%TimeOut%")
358-
}
359-
}
360-
361-
requirements {
362-
equals("env.BuildAgentType", "caravela04cloud")
363-
}
364-
365-
features {
366-
swabra {
367-
lockingProcesses = Swabra.LockingProcessPolicy.KILL
368-
verbose = true
369-
}
370-
sshAgent {
371-
// By convention, the SSH key name is always PostSharp.Engineering for all repositories using SSH to connect.
372-
teamcitySshKey = "PostSharp.Engineering"
373-
}
374-
}
375-
376-
triggers {
377-
vcs {
378-
watchChangesInDependencies = true
379-
branchFilter = "+:develop/2025.0"
380-
// Build will not trigger automatically if the commit message contains comment value.
381-
triggerRules = "-:comment=<<VERSION_BUMP>>|<<DEPENDENCIES_UPDATED>>:**"
382-
}
383-
}
384-
385-
dependencies {
386-
dependency(DebugBuild) {
387-
snapshot {
388-
onDependencyFailure = FailureAction.FAIL_TO_START
389-
}
390-
}
391-
}
392-
393-
})
394-

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</PropertyGroup>
66
<!-- Set versions of dependencies that need special treatment or consist of multiple packages of the same version. -->
77
<PropertyGroup>
8-
<PostSharpEngineeringVersion Condition="'$(PostSharpEngineeringVersion)'==''">2023.2.152</PostSharpEngineeringVersion>
8+
<PostSharpEngineeringVersion Condition="'$(PostSharpEngineeringVersion)'==''">2023.2.157</PostSharpEngineeringVersion>
99
</PropertyGroup>
1010
<ItemGroup>
1111
<PackageVersion Include="coverlet.collector" Version="6.0.2" />

global.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"rollForward": "patch"
55
},
66
"msbuild-sdks": {
7-
"PostSharp.Engineering.Sdk": "2023.2.152"
7+
"PostSharp.Engineering.Sdk": "2023.2.157"
88
}
99
}

0 commit comments

Comments
 (0)