Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for readonly (0.33 sec)

  1. .teamcity/src/main/kotlin/projects/CheckProject.kt

        params {
            param("credentialsStorageType", "credentialsJSON")
            // Disallow Web UI changes to TeamCity settings
            param("teamcity.ui.settings.readOnly", "true")
            // Avoid rebuilding same revision if it's already built on another branch
            param("teamcity.vcsTrigger.runBuildOnSameRevisionInEveryBranch", "false")
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 24 03:34:53 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        }
    }
    
    
    // pre-test/master/queue/alice/feature -> master
    // pre-test/release/current/bob/bugfix -> release
    // gh-readonly-queue/master/pr-1234-5678abcdef -> master
    fun toMergeQueueBaseBranch(actualBranch: String): String = when {
        actualBranch.startsWith("pre-test/") || actualBranch.startsWith("gh-readonly-queue/") -> actualBranch.substringAfter("/").substringBefore("/")
        else -> actualBranch
    }
    
    /**
     * The build environment.
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Feb 09 22:52:01 GMT 2024
    - 5.7K bytes
    - Viewed (2)
  3. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    
    /**
     * The logical branch.
     * For non-merge-queue branches this is the same as {@link #buildBranch}.
     * For merge-queue branches, this is the base branch.
     *
     * For example, for the merge queue branch "gh-readonly-queue/master/pr-12345-1a2b3c4d" the logical branch is "master".
     */
    val Project.logicalBranch: Provider<String>
        get() = buildBranch.map(::toMergeQueueBaseBranch)
    
    
    val Project.buildCommitId: Provider<String>
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 01 01:23:31 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/common/extensions.kt

                    )
            }
            skipConditionally(buildType)
        }
    }
    
    fun BuildStep.onlyRunOnGitHubMergeQueueBranch() {
        conditions {
            matches("teamcity.build.branch", "(pre-test/.*)|(gh-readonly-queue/.*)")
        }
    }
    
    fun BuildStep.skipConditionally(buildType: BuildType? = null) {
        // we need to run CompileALl unconditionally because of artifact dependency
        if (buildType !is CompileAll) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Apr 12 10:49:15 GMT 2024
    - 13K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/GitHubMergeQueueCheckPass.kt

        features {
            enablePullRequestFeature()
            publishBuildStatusToGithub(model)
        }
    
        triggers.vcs {
            quietPeriodMode = VcsTrigger.QuietPeriodMode.DO_NOT_USE
            branchFilter = """
    +:gh-readonly-queue/${model.branch.branchName}/*
    +:${model.branch.branchName}
    """
        }
    
        dependencies {
            snapshot(RelativeId(stageTriggerId(model, StageName.READY_FOR_NIGHTLY))) {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Jan 23 05:43:32 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top