<commit_before>---
apiVersion: v1
kind: ServiceAccount
metadata:
  annotations:
    iam.gke.io/gcp-service-account: <EMAIL>
  name: updater
  namespace: testgrid-canary
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: testgrid-updater
  namespace: testgrid-canary
  labels:
    component: updater
    app: testgrid
spec:
  replicas: 1 # https://github.com/GoogleCloudPlatform/testgrid/issues/663
  selector:
    matchLabels:
      app: testgrid
      component: updater
  template:
    metadata:
      labels:
        component: updater
        app: testgrid
    spec:
      serviceAccountName: updater
      containers:
      - name: updater
        image: gcr.io/k8s-testgrid/updater:v20220203-v0.0.119-2-gd137d94 
        ports:
        - name: metrics
          containerPort: 2112
        args:
        - --build-concurrency=5
        - --build-timeout=2m
        - --config=gs://k8s-testgrid-canary/config
        - --confirm
        - --group-concurrency=10
        - --group-timeout=20m
        - --json-logs
        - --subscribe=kubernetes-jenkins=kubernetes-jenkins/testgrid-canary
        - --subscribe=oss-prow=k8s-testgrid/testgrid-canary
        - --subscribe=istio-prow=k8s-testgrid/testgrid-canary<commit_msg>Enable persistent queue on canary updater<commit_after>---
apiVersion: v1
kind: ServiceAccount
metadata:
  annotations:
    iam.gke.io/gcp-service-account: <EMAIL>
  name: updater
  namespace: testgrid-canary
---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: testgrid-updater
  namespace: testgrid-canary
  labels:
    component: updater
    app: testgrid
spec:
  replicas: 1 # https://github.com/GoogleCloudPlatform/testgrid/issues/663
  selector:
    matchLabels:
      app: testgrid
      component: updater
  template:
    metadata:
      labels:
        component: updater
        app: testgrid
    spec:
      serviceAccountName: updater
      containers:
      - name: updater
        image: gcr.io/k8s-testgrid/updater:v20220203-v0.0.119-2-gd137d94 
        ports:
        - name: metrics
          containerPort: 2112
        args:
        - --build-concurrency=5
        - --build-timeout=2m
        - --config=gs://k8s-testgrid-canary/config
        - --confirm
        - --group-concurrency=10
        - --group-timeout=20m
        - --json-logs
        - --persist-queue=gs://k8s-testgrid-canary/queue/updater
        - --subscribe=kubernetes-jenkins=kubernetes-jenkins/testgrid-canary
        - --subscribe=oss-prow=k8s-testgrid/testgrid-canary
        - --subscribe=istio-prow=k8s-testgrid/testgrid-canary
{'fraction_non_alphanumeric': 0.1138401559454191, 'fraction_numerical': 0.030799220272904482, 'mean_word_length': 2.23989898989899, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '635285', 'n_tokens_mistral': 891, 'n_tokens_neox': 851, 'n_words': 141}