github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/config/jobs/kubernetes/test-infra/test-infra-trusted.yaml (about)

     1  postsubmits:
     2    kubernetes/org:
     3    - name: post-org-peribolos
     4      cluster: test-infra-trusted
     5      decorate: true
     6      spec:
     7        containers:
     8        - image: launcher.gcr.io/google/bazel
     9          imagePullPolicy: Always
    10          command:
    11          - bazel
    12          args:
    13          - run
    14          - //admin:update
    15          - --
    16          - --github-token-path=/etc/github-token/oauth
    17          - --confirm
    18          volumeMounts:
    19          - name: github
    20            mountPath: /etc/github-token
    21        volumes:
    22        - name: github
    23          secret:
    24            secretName: oauth-token
    25    kubernetes/test-infra:
    26    - name: post-test-infra-deploy-prow
    27      cluster: test-infra-trusted
    28      decorate: true
    29      branches:
    30      - master
    31      spec:
    32        containers:
    33        - image: gcr.io/k8s-testimages/gcloud-bazel:v20181107-d88dbbf
    34          command:
    35          - prow/deploy.sh
    36          args:
    37          - --confirm
    38          env:
    39          - name: GOOGLE_APPLICATION_CREDENTIALS
    40            value: /creds/service-account.json
    41          volumeMounts:
    42          - name: creds
    43            mountPath: /creds
    44        volumes:
    45        - name: creds
    46          secret:
    47            secretName: deployer-service-account
    48  
    49    - name: post-test-infra-push-prow
    50      cluster: test-infra-trusted
    51      decorate: true
    52      spec:
    53        containers:
    54        - image: gcr.io/k8s-testimages/gcloud-bazel:v20181107-d88dbbf
    55          command:
    56          - prow/push.sh
    57          env:
    58          - name: GOOGLE_APPLICATION_CREDENTIALS
    59            value: /creds/service-account.json
    60          volumeMounts:
    61          - name: creds
    62            mountPath: /creds
    63        volumes:
    64        - name: creds
    65          secret:
    66            secretName: pusher-service-account
    67  
    68  periodics:
    69  - interval: 24h
    70    name: ci-org-peribolos
    71    cluster: test-infra-trusted
    72    decorate: true
    73    extra_refs:
    74    - org: kubernetes
    75      repo: org
    76      base_ref: master
    77    spec:
    78      containers:
    79      - image: launcher.gcr.io/google/bazel
    80        imagePullPolicy: Always
    81        command:
    82        - bazel
    83        args:
    84        - run
    85        - //admin:update
    86        - --
    87        - --github-token-path=/etc/github-token/oauth
    88        - --confirm
    89        volumeMounts:
    90        - name: github
    91          mountPath: /etc/github-token
    92      volumes:
    93      - name: github
    94        secret:
    95          secretName: oauth-token
    96  - cron: "05 15 * * 1-5"  # Run at 7:05 PST (15:05 UTC) Mon-Fri
    97    name: ci-test-infra-autobump-prow
    98    cluster: test-infra-trusted
    99    decorate: true
   100    extra_refs:
   101    - org: kubernetes
   102      repo: test-infra
   103      base_ref: master
   104    spec:
   105      containers:
   106      - image: gcr.io/k8s-testimages/bazelbuild:v20181117-55a41ad84-0.18.1
   107        command:
   108        - prow/autobump.sh
   109        args:
   110        - k8s-ci-robot
   111        - /etc/github-token/oauth
   112        - "Kubernetes Prow Robot"
   113        - "k8s.ci.robot@gmail.com"
   114        volumeMounts:
   115        - name: github
   116          mountPath: /etc/github-token
   117          readOnly: true
   118        - name: ssh
   119          mountPath: /root/.ssh
   120      volumes:
   121      - name: github
   122        secret:
   123          secretName: oauth-token
   124      - name: ssh
   125        secret:
   126          secretName: k8s-ci-robot-ssh-keys
   127          defaultMode: 0400