<commit_before>postsubmits:
  kubernetes/k8s.io:
  - name: post-k8sio-file-promo
    cluster: k8s-infra-prow-build-trusted
    decorate: true
    run_if_changed: '^artifacts\/(filestores|manifests)\/.*\/*.yaml'
    # Never run more than 1 job at a time. This is because we don't want to run
    # into a case where an older manifest PR merge gets run last (after a newer
    # one).
    max_concurrency: 1
    branches:
    - ^main$
    spec:
      serviceAccountName: k8s-infra-promoter
      containers:
      - image: k8s.gcr.io/artifact-promoter/kpromo:v3.3.0-beta.1-2
        command:
        - /kpromo
        args:
        - run
        - files
        - --manifests=/home/prow/go/src/github.com/kubernetes/k8s.io/artifacts/
        - --confirm
    annotations:
      testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
      testgrid-alert-email: <EMAIL>, <EMAIL>
      testgrid-num-failures-to-alert: '1'
  - name: post-k8sio-image-promo
    cluster: k8s-infra-prow-build-trusted
    decorate: true
    run_if_changed: 'k8s.gcr.io/((images/.*/images\.yaml)|(manifests/.*/promoter-manifest\.yaml))'
    # Never run more than 1 job at a time. This is because we don't want to run
    # into a case where an older manifest PR merge gets run last (after a newer
    # one).
    max_concurrency: 1
    branches:
    - ^main$
    spec:
      serviceAccountName: k8s-infra-gcr-promoter
      containers:
      - image: k8s.gcr.io/artifact-promoter/kpromo:v3.3.0-beta.1-2
        command:
        - /kpromo
        args:
        - cip
        - --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io
        - --confirm
    annotations:
      testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
      testgrid-alert-email: <EMAIL>, <EMAIL>
      testgrid-num-failures-to-alert: '1'

periodics:
- interval: 1h
  cluster: k8s-infra-prow-build-trusted
  max_concurrency: 1
  name: ci-k8sio-file-promo
  decorate: true
  extra_refs:
  - org: kubernetes
    repo: k8s.io
    base_ref: main
  spec:
    serviceAccountName: k8s-infra-promoter
    containers:
    - image: k8s.gcr.io/artifact-promoter/kpromo:v3.3.0-beta.1-2
      command:
      - /kpromo
      args:
      - run
      - files
      - --manifests=/home/prow/go/src/github.com/kubernetes/k8s.io/artifacts/
      - --confirm
  annotations:
    testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
    testgrid-alert-email: <EMAIL>, <EMAIL>
    testgrid-num-failures-to-alert: '1'
  rerun_auth_config:
    github_team_slugs:
      - org: kubernetes
        slug: release-managers

# ci-k8sio-image-promo runs every 1 hour, to make sure that the destination
# GCRs do not deviate away from the intent of the manifest.
- interval: 1h
  cluster: k8s-infra-prow-build-trusted
  max_concurrency: 1
  # This name is the "job name", passed in as "--job=NAME" for mkpj.
  name: ci-k8sio-image-promo
  # Enable Pod Utilities.
  # See https://git.k8s.io/test-infra/prow/pod-utilities.md.
  decorate: true
  extra_refs:
  # We clone the below repo automatically (via Pod Utilities), and get dropped
  # into /home/prow/go/src/github.com/kubernetes/k8s.io.
  - org: kubernetes
    repo: k8s.io
    base_ref: main
  spec:
    # The k8s-artifacts-prod name was chosen in
    # https://github.com/kubernetes/k8s.io/pull/695.
    serviceAccountName: k8s-infra-gcr-promoter
    containers:
    - image: k8s.gcr.io/artifact-promoter/kpromo:v3.3.0-beta.1-2
      command:
      - /kpromo
      args:
      - cip
      - --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io
      - --confirm
  annotations:
    testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
    testgrid-alert-email: <EMAIL>, <EMAIL>
    testgrid-num-failures-to-alert: '1'
  rerun_auth_config:
    github_team_slugs:
      - org: kubernetes
        slug: release-managers

- interval: 4h
  cluster: k8s-infra-prow-build-trusted
  max_concurrency: 1
  name: ci-k8sio-gcr-prod-backup
  decorate: true
  extra_refs:
  - org: kubernetes
    repo: k8s.io
    base_ref: main
  spec:
    serviceAccountName: k8s-infra-gcr-promoter-bak
    containers:
    - image: gcr.io/k8s-staging-releng/releng-ci:latest-go1.17
      imagePullPolicy: Always
      command:
      - infra/gcp/bash/backup_tools/backup.sh
      env:
      # The backup script needs GOPATH to be explicitly defined.
      - name: GOPATH
        value: /go
  annotations:
    testgrid-dashboards: sig-release-releng-blocking
    testgrid-alert-email: <EMAIL>, <EMAIL>
    testgrid-num-failures-to-alert: '2'
  rerun_auth_config:
    github_team_slugs:
      - org: kubernetes
        slug: release-managers
<commit_msg>releng: Revert `ci-k8sio-image-promo` image to cip:v3.2.0<commit_after>postsubmits:
  kubernetes/k8s.io:
  - name: post-k8sio-file-promo
    cluster: k8s-infra-prow-build-trusted
    decorate: true
    run_if_changed: '^artifacts\/(filestores|manifests)\/.*\/*.yaml'
    # Never run more than 1 job at a time. This is because we don't want to run
    # into a case where an older manifest PR merge gets run last (after a newer
    # one).
    max_concurrency: 1
    branches:
    - ^main$
    spec:
      serviceAccountName: k8s-infra-promoter
      containers:
      - image: k8s.gcr.io/artifact-promoter/kpromo:v3.3.0-beta.1-2
        command:
        - /kpromo
        args:
        - run
        - files
        - --manifests=/home/prow/go/src/github.com/kubernetes/k8s.io/artifacts/
        - --confirm
    annotations:
      testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
      testgrid-alert-email: <EMAIL>, <EMAIL>
      testgrid-num-failures-to-alert: '1'
  - name: post-k8sio-image-promo
    cluster: k8s-infra-prow-build-trusted
    decorate: true
    run_if_changed: 'k8s.gcr.io/((images/.*/images\.yaml)|(manifests/.*/promoter-manifest\.yaml))'
    # Never run more than 1 job at a time. This is because we don't want to run
    # into a case where an older manifest PR merge gets run last (after a newer
    # one).
    max_concurrency: 1
    branches:
    - ^main$
    spec:
      serviceAccountName: k8s-infra-gcr-promoter
      containers:
      - image: k8s.gcr.io/artifact-promoter/kpromo:v3.3.0-beta.1-2
        command:
        - /kpromo
        args:
        - cip
        - --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io
        - --confirm
    annotations:
      testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
      testgrid-alert-email: <EMAIL>, <EMAIL>
      testgrid-num-failures-to-alert: '1'

periodics:
- interval: 1h
  cluster: k8s-infra-prow-build-trusted
  max_concurrency: 1
  name: ci-k8sio-file-promo
  decorate: true
  extra_refs:
  - org: kubernetes
    repo: k8s.io
    base_ref: main
  spec:
    serviceAccountName: k8s-infra-promoter
    containers:
    - image: k8s.gcr.io/artifact-promoter/kpromo:v3.3.0-beta.1-2
      command:
      - /kpromo
      args:
      - run
      - files
      - --manifests=/home/prow/go/src/github.com/kubernetes/k8s.io/artifacts/
      - --confirm
  annotations:
    testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
    testgrid-alert-email: <EMAIL>, <EMAIL>
    testgrid-num-failures-to-alert: '1'
  rerun_auth_config:
    github_team_slugs:
      - org: kubernetes
        slug: release-managers

# ci-k8sio-image-promo runs every 1 hour, to make sure that the destination
# GCRs do not deviate away from the intent of the manifest.
- interval: 1h
  cluster: k8s-infra-prow-build-trusted
  max_concurrency: 1
  # This name is the "job name", passed in as "--job=NAME" for mkpj.
  name: ci-k8sio-image-promo
  # Enable Pod Utilities.
  # See https://git.k8s.io/test-infra/prow/pod-utilities.md.
  decorate: true
  extra_refs:
  # We clone the below repo automatically (via Pod Utilities), and get dropped
  # into /home/prow/go/src/github.com/kubernetes/k8s.io.
  - org: kubernetes
    repo: k8s.io
    base_ref: main
  spec:
    # The k8s-artifacts-prod name was chosen in
    # https://github.com/kubernetes/k8s.io/pull/695.
    serviceAccountName: k8s-infra-gcr-promoter
    containers:
    - image: k8s.gcr.io/artifact-promoter/cip:v3.2.0
      command:
      - cip
      args:
      - run
      - --thin-manifest-dir=/home/prow/go/src/github.com/kubernetes/k8s.io/k8s.gcr.io
      - --confirm
  annotations:
    testgrid-dashboards: sig-release-releng-blocking, sig-k8s-infra-k8sio
    testgrid-alert-email: <EMAIL>, <EMAIL>
    testgrid-num-failures-to-alert: '1'
  rerun_auth_config:
    github_team_slugs:
      - org: kubernetes
        slug: release-managers

- interval: 4h
  cluster: k8s-infra-prow-build-trusted
  max_concurrency: 1
  name: ci-k8sio-gcr-prod-backup
  decorate: true
  extra_refs:
  - org: kubernetes
    repo: k8s.io
    base_ref: main
  spec:
    serviceAccountName: k8s-infra-gcr-promoter-bak
    containers:
    - image: gcr.io/k8s-staging-releng/releng-ci:latest-go1.17
      imagePullPolicy: Always
      command:
      - infra/gcp/bash/backup_tools/backup.sh
      env:
      # The backup script needs GOPATH to be explicitly defined.
      - name: GOPATH
        value: /go
  annotations:
    testgrid-dashboards: sig-release-releng-blocking
    testgrid-alert-email: <EMAIL>, <EMAIL>
    testgrid-num-failures-to-alert: '2'
  rerun_auth_config:
    github_team_slugs:
      - org: kubernetes
        slug: release-managers

{'fraction_non_alphanumeric': 0.12004662004662005, 'fraction_numerical': 0.018436109345200253, 'mean_word_length': 2.4613127979464613, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4265513', 'n_tokens_mistral': 3686, 'n_tokens_neox': 3538, 'n_words': 685}