<commit_before>periodics:
- interval: 1h
  name: maintenance-ci-aws-janitor
  labels:
    preset-service-account: "true"
  spec:
    containers:
    - args:
      - --bare
      - --timeout=60
      - --service-account=/etc/service-account/service-account.json
      - --upload=gs://kubernetes-jenkins/logs
      - --scenario=execute
      - --
      - /aws-janitor
      - --
      - --ttl=2h30m
      - --path=s3://k8s-kops-prow/objs.json
      env:
      - name: AWS_SHARED_CREDENTIALS_FILE
        value: /workspace/.aws/credentials
      image: gcr.io/k8s-test-infra-aws/aws-janitor:v20180606-bb012b637
      volumeMounts:
      - mountPath: /workspace/.aws
        name: aws-cred
        readOnly: true
    volumes:
    - name: aws-cred
      secret:
        defaultMode: 256
        secretName: aws-cred-new

- interval: 24h
  name: maintenance-ci-janitor
  labels:
    preset-service-account: "true"
  decorate: true
  path_alias: "k8s.io/test-infra"
  extra_refs:
  - org: kubernetes
    repo: test-infra
    base_ref: master
  spec:
    containers:
    - command:
      - go
      - run
      - experiment/ci-janitor/main.go
      - --config-path=prow/config.yaml
      - --job-config-path=config/jobs
      - --janitor-path=boskos/janitor/janitor.py
      image: gcr.io/k8s-testimages/gcloud-in-go:v20180725-a495f0247
      resources:
        requests:
          cpu: 5
          memory: "8Gi"

- interval: 1h
  name: maintenance-pull-janitor
  labels:
    preset-service-account: "true"
  spec:
    containers:
    - args:
      - --bare
      - --timeout=30
      - --service-account=/etc/service-account/service-account.json
      - --upload=gs://kubernetes-jenkins/logs
      - --scenario=kubernetes_janitor
      - --
      - --mode=pr
      env:
      image: gcr.io/k8s-testimages/gcloud-in-go:v20180725-a495f0247
      resources:
        requests:
          cpu: 5
          memory: "8Gi"

- interval: 1h
  name: maintenance-pull-scale-janitor
  labels:
    preset-service-account: "true"
  spec:
    containers:
    - args:
      - --bare
      - --timeout=60
      - --service-account=/etc/service-account/service-account.json
      - --upload=gs://kubernetes-jenkins/logs
      - --scenario=kubernetes_janitor
      - --
      - --mode=scale
      - --ratelimit=5
      env:
      image: gcr.io/k8s-testimages/gcloud-in-go:v20180725-a495f0247
      resources:
        requests:
          cpu: 5
          memory: "8Gi"
<commit_msg>move path_alias inside extra_refs<commit_after>periodics:
- interval: 1h
  name: maintenance-ci-aws-janitor
  labels:
    preset-service-account: "true"
  spec:
    containers:
    - args:
      - --bare
      - --timeout=60
      - --service-account=/etc/service-account/service-account.json
      - --upload=gs://kubernetes-jenkins/logs
      - --scenario=execute
      - --
      - /aws-janitor
      - --
      - --ttl=2h30m
      - --path=s3://k8s-kops-prow/objs.json
      env:
      - name: AWS_SHARED_CREDENTIALS_FILE
        value: /workspace/.aws/credentials
      image: gcr.io/k8s-test-infra-aws/aws-janitor:v20180606-bb012b637
      volumeMounts:
      - mountPath: /workspace/.aws
        name: aws-cred
        readOnly: true
    volumes:
    - name: aws-cred
      secret:
        defaultMode: 256
        secretName: aws-cred-new

- interval: 24h
  name: maintenance-ci-janitor
  labels:
    preset-service-account: "true"
  decorate: true
  extra_refs:
  - org: kubernetes
    repo: test-infra
    base_ref: master
    path_alias: k8s.io/test-infra
  spec:
    containers:
    - command:
      - go
      - run
      - experiment/ci-janitor/main.go
      - --config-path=prow/config.yaml
      - --job-config-path=config/jobs
      - --janitor-path=boskos/janitor/janitor.py
      image: gcr.io/k8s-testimages/gcloud-in-go:v20180725-a495f0247
      resources:
        requests:
          cpu: 5
          memory: "8Gi"

- interval: 1h
  name: maintenance-pull-janitor
  labels:
    preset-service-account: "true"
  spec:
    containers:
    - args:
      - --bare
      - --timeout=30
      - --service-account=/etc/service-account/service-account.json
      - --upload=gs://kubernetes-jenkins/logs
      - --scenario=kubernetes_janitor
      - --
      - --mode=pr
      env:
      image: gcr.io/k8s-testimages/gcloud-in-go:v20180725-a495f0247
      resources:
        requests:
          cpu: 5
          memory: "8Gi"

- interval: 1h
  name: maintenance-pull-scale-janitor
  labels:
    preset-service-account: "true"
  spec:
    containers:
    - args:
      - --bare
      - --timeout=60
      - --service-account=/etc/service-account/service-account.json
      - --upload=gs://kubernetes-jenkins/logs
      - --scenario=kubernetes_janitor
      - --
      - --mode=scale
      - --ratelimit=5
      env:
      image: gcr.io/k8s-testimages/gcloud-in-go:v20180725-a495f0247
      resources:
        requests:
          cpu: 5
          memory: "8Gi"

{'fraction_non_alphanumeric': 0.13200649878147847, 'fraction_numerical': 0.036555645816409424, 'mean_word_length': 1.785633484162896, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1362203', 'n_tokens_mistral': 1871, 'n_tokens_neox': 1743, 'n_words': 257}