github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/pkg/pipelinescheduler/test_data/multiple_contexts/config.yaml (about)

     1  branch-protection:
     2    orgs:
     3      acme:
     4        repos:
     5          dummy:
     6            protect: true
     7            required_status_checks:
     8              contexts:
     9              - integration
    10              - context2
    11    protect-tested-repos: true
    12  # TODO reinstate this
    13  #deck:
    14  #  spyglass: {}
    15  #gerrit: {}
    16  #owners_dir_blacklist:
    17  #  default: null
    18  #  repos: null
    19  #plank: {}
    20  #pod_namespace: jx
    21  postsubmits:
    22    acme/dummy:
    23    - agent: tekton
    24      branches:
    25      - master
    26      # TODO switch this to tekton
    27      #build_spec:
    28      #  serviceAccountName: knative-build-bot
    29      #  template:
    30      #    name: jenkins-base
    31      context: ""
    32      name: release
    33  presubmits:
    34    acme/dummy:
    35    - agent: tekton
    36      always_run: true
    37      #build_spec:
    38      #  serviceAccountName: helm
    39      #  template:
    40      #    name: jenkins-base
    41      context: integration
    42      name: integration
    43      rerun_command: /test this
    44      trigger: (?m)^/test( all| this),?(\s+|$)
    45    - agent: tekton
    46      always_run: true
    47      #build_spec:
    48      #  serviceAccountName: helm
    49      #  template:
    50      #    name: jenkins-base
    51      context: context2
    52      name: context2
    53      rerun_command: /test context2
    54      trigger: (?m)^/test( all| context2),?(\s+|$)
    55    - agent: tekton
    56      always_run: false
    57      #build_spec:
    58      #  serviceAccountName: helm
    59      #  template:
    60      #    name: jenkins-base
    61      context: context3
    62      name: context3
    63      rerun_command: /test context3
    64      trigger: (?m)^/test( all| context3),?(\s+|$)
    65  #prowjob_namespace: jx
    66  #push_gateway: {}
    67  #sinker: {}
    68  tide:
    69    context_options:
    70      from-branch-protection: true
    71      required-if-present-contexts: null
    72      skip-unknown-contexts: false
    73    queries:
    74    - labels:
    75      - approved
    76      missingLabels:
    77      - do-not-merge
    78      - do-not-merge/hold
    79      - do-not-merge/work-in-progress
    80      - needs-ok-to-test
    81      - needs-rebase
    82      repos:
    83      - acme/dummy
    84    #target_url: https://tide.foo.bar