Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for fromDslContext (0.43 sec)

  1. .teamcity/src/main/kotlin/util/WarmupEc2Agent.kt

    import vcsroots.useAbsoluteVcs
    
    object WarmupEc2Agent : BuildType({
        name = "Warmup EC2 Agent"
        id("Util_WarmupEc2Agent")
    
        vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().vcsRootId())
    
        features {
            freeDiskSpace {
                // Lower the limit such that the agent work directories aren't cleaned during the AMI baking process
                requiredSpace = "100mb"
            }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt

        type = Type.COMPOSITE
    
        vcs {
            root(AbsoluteId(VersionedSettingsBranch.fromDslContext().vcsRootId()))
            checkoutMode = CheckoutMode.ON_AGENT
        }
    
        features {
            enablePullRequestFeature()
            publishBuildStatusToGithub(model)
        }
    
        if (!VersionedSettingsBranch.fromDslContext().isExperimental) {
            triggers.vcs {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 16 07:23:13 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        pullRequests {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            provider = github {
                authType = token {
                    token = "%github.bot-teamcity.token%"
                }
                filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
                filterTargetBranch = "+:refs/heads/${VersionedSettingsBranch.fromDslContext().branchName}"
            }
        }
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt

                        // We want it to be triggered only when there're pending changes in the specific vcs root, i.e. GradleMaster/GradleRelease
                        triggerRules = "+:root=${VersionedSettingsBranch.fromDslContext().vcsRootId()}:."
                        // The promotion itself will be triggered on gradle-promote's master branch
                        branchFilter = "+:master"
                    }
                }
            }
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 07 17:05:02 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. .teamcity/settings.kts

     |        |----- Nightly Snapshot
     |        |----- ...
     |
     |----- Util
             |----- WarmupEc2Agent
             |----- AdHocPerformanceTest
     */
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon May 13 07:45:05 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  6. .teamcity/src/test/kotlin/BuildScanTagUtilsTest.kt

        private val subprojectProvider = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        private val model = CIBuildModel(
            projectId = "Check",
            branch = VersionedSettingsBranch.fromDslContext(),
            buildScanTags = listOf("Check"),
            subprojects = subprojectProvider
        )
    
        @Test
        fun `test stage tags`() {
            assertEquals(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/promotion/SanityCheck.kt

            }
        }
    
        triggers {
            vcs {
                branchFilter = ""
                enabled = VersionedSettingsBranch.fromDslContext().enableVcsTriggers
            }
        }
    
        requirements {
            requiresOs(Os.LINUX)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 977 bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/promotion/StartReleaseCycleTest.kt

                }
            }
    
            val enableTriggers = VersionedSettingsBranch.fromDslContext().enableVcsTriggers
            triggers {
                vcs {
                    branchFilter = "+:master"
                    enabled = enableTriggers
                }
                schedule {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. .teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt

            const val RELEASE_BRANCH = "release"
    
            private
            const val EXPERIMENTAL_BRANCH = "experimental"
    
            private
            val OLD_RELEASE_PATTERN = "release(\\d+)x".toRegex()
    
            fun fromDslContext(): VersionedSettingsBranch {
                return VersionedSettingsBranch(DslContext.getParameter("Branch", "placeholder"))
            }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 26 12:59:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/util/PublishKotlinDslPlugin.kt

        name = "Publish Kotlin DSL Plugin"
        id("Util_PublishKotlinDslPlugin")
        uuid = "${DslContext.uuidPrefix}_Util_PublishKotlinDslPlugin"
        vcs.useAbsoluteVcs(VersionedSettingsBranch.fromDslContext().vcsRootId())
    
        requirements {
            requiresOs(Os.LINUX)
        }
    
        params {
            param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX))
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Dec 05 00:08:14 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top