Skip to content

Commit

Permalink
A little bit of cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Nov 19, 2020
1 parent 3ec448c commit 1c72150
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions .teamcity/src/Extensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ fun ProjectFeatures.kibanaAgent(init: ProjectFeature.() -> Unit) {
param("growingId", "true")
param("agent_pool_id", "-2")
param("preemptible", "false")
// param("sourceProject", "elastic-kibana-184716")
// param("sourceImageFamily", "kibana-ci-elastic-dev")
// param("sourceImageFamily", "elastic-kibana-ci-ubuntu-1804-lts-nocache")
param("sourceProject", "elastic-images-prod")
param("sourceImageFamily", "elastic-kibana-ci-ubuntu-1804-lts")
param("zone", "us-central1-a")
Expand Down Expand Up @@ -83,34 +80,11 @@ fun BuildType.addTestSettings() {
}
}

fun BuildType.addTestArtifacts() {
this.artifactRules += "\n" + testArtifactRules
}

fun BuildType.addSlackNotifications(to: String = "#kibana-teamcity-testing") {
params {
param("elastic.slack.enabled", "true")
param("elastic.slack.channels", to)
}
// features {
// notifications {
// notifierSettings = slackNotifier {
// connection = "KIBANA_SLACK"
// sendTo = to
// messageFormat = verboseMessageFormat {
// addBranch = true
// addChanges = true
// addStatusText = true
// maximumNumberOfChanges = 5
// }
// }
// buildFailedToStart = true
// buildFailed = true
// buildFinishedSuccessfully = false
// firstBuildErrorOccurs = true
// buildProbablyHanging = true
// }
// }
}

fun BuildType.dependsOn(buildType: BuildType, init: SnapshotDependency.() -> Unit = {}) {
Expand Down

0 comments on commit 1c72150

Please sign in to comment.