go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/cv/internal/common/constants.go (about)

     1  // Copyright 2023 The LUCI Authors.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //      http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  package common
    16  
    17  const (
    18  	// FooterNoEquivalentBuilders instructs LUCI CV to ignore the equivalent
    19  	// builder. Meaning always launch the main builder if possible.
    20  	FooterNoEquivalentBuilders = "No-Equivalent-Builders"
    21  	// FooterLegacyNoEquivalentBuilders is the legacy version of
    22  	// FooterNoEquivalentBuilders
    23  	FooterLegacyNoEquivalentBuilders = "NO_EQUIVALENT_BUILDERS"
    24  	// FooterCQDoNotCancelTryjobs instructs LUCI CV to not to cancel the Tryjobs.
    25  	FooterCQDoNotCancelTryjobs = "Cq-Do-Not-Cancel-Tryjobs"
    26  	// FooterNoTreeChecks instructs LUCI CV to skip tree check before submission.
    27  	FooterNoTreeChecks = "No-Tree-Checks"
    28  	// FooterLegacyNoTreeChecks is the legacy version of FooterNoTreeChecks.
    29  	FooterLegacyNoTreeChecks = "NOTREECHECKS"
    30  	// FooterNoTry instructs LUCI CV to skip all Tryjobs except Presubmit.
    31  	FooterNoTry = "No-Try"
    32  	// FooterLegacyNoTry is the legacy version of FooterNoTry
    33  	FooterLegacyNoTry = "NOTRY"
    34  	// FooterNoPresubmit instructs LUCI CV to skip the Presubmit Tryjob.
    35  	//
    36  	// CAVEAT: crbug.com/1292195 - It use `disable_reuse` field to decide
    37  	// whether a Tryjob is Presubmit which produce false positive.
    38  	FooterNoPresubmit = "No-Presubmit"
    39  	// FooterLegacyPresubmit is the legacy version of FooterNoPresubmit.
    40  	FooterLegacyPresubmit = "NOPRESUBMIT"
    41  	// FooterCQIncludeTryjobs specifies the additional Tryjobs to launch.
    42  	FooterCQIncludeTryjobs = "Cq-Include-Trybots"
    43  	// FooterLegacyCQIncludeTryjobs is the legacy version of
    44  	// FooterCQIncludeTryjobs.
    45  	FooterLegacyCQIncludeTryjobs = "CQ_INCLUDE_TRYBOTS"
    46  	// FooterOverrideTryjobsForAutomation provides an list of Tryjobs that
    47  	// overrides ALL the Tryjobs supposed to be launched according to the
    48  	// configuration.
    49  	FooterOverrideTryjobsForAutomation = "Override-Tryjobs-For-Automation"
    50  	// FooterCQClTag specifies the additional Tag that will be added to the
    51  	// launched Tryjobs.
    52  	FooterCQClTag = "Cq-Cl-Tag"
    53  )