github.com/yrj2011/jx-test-infra@v0.0.0-20190529031832-7a2065ee98eb/config/jobs/kubernetes-incubator/service-catalog/service-catalog-presubmits.yaml (about)

     1  presubmits:
     2    kubernetes-incubator/service-catalog:
     3    - name: pull-service-catalog-unit
     4      agent: kubernetes
     5      context: pull-service-catalog-unit
     6      always_run: true
     7      skip_report: false
     8      rerun_command: "/test pull-service-catalog-unit"
     9      trigger: "(?m)^/test (all|pull-service-catalog-unit)\\s*"
    10      decorate: true
    11      spec:
    12        containers:
    13        - image: golang:1.10
    14          command:
    15          - make
    16          args:
    17          - test-unit
    18          env:
    19          - name: NO_DOCKER
    20            value: "1"
    21    - name: pull-service-catalog-integration
    22      agent: kubernetes
    23      context: pull-service-catalog-integration
    24      always_run: true
    25      skip_report: false
    26      rerun_command: "/test pull-service-catalog-integration"
    27      trigger: "(?m)^/test (all|pull-service-catalog-integration)\\s*"
    28      labels:
    29        preset-service-account: "true"
    30      spec:
    31        containers:
    32        - image: gcr.io/k8s-testimages/kubekins-e2e:v20180716-9145034c9-1.10
    33          args:
    34          - "--repo=github.com/kubernetes-incubator/$(REPO_NAME)=$(PULL_REFS)"
    35          - "--timeout=45"
    36          - "--scenario=execute"
    37          - "--"
    38          - "make"
    39          - "test-integration"
    40          env:
    41          - name: DOCKER_IN_DOCKER_ENABLED
    42            value: "true"
    43          # docker-in-docker needs privileged mode
    44          securityContext:
    45            privileged: true
    46          # docker-in-docker needs a place to store the images
    47          volumeMounts:
    48            - name: docker-graph
    49              mountPath: /docker-graph
    50        volumes:
    51          - name: docker-graph
    52            emptyDir: {}
    53    - name: pull-service-catalog-xbuild
    54      agent: kubernetes
    55      context: pull-service-catalog-xbuild
    56      always_run: true
    57      skip_report: false
    58      rerun_command: "/test pull-service-catalog-xbuild"
    59      trigger: "(?m)^/test (all|pull-service-catalog-xbuild)\\s*"
    60      labels:
    61        preset-service-account: "true"
    62      spec:
    63        containers:
    64        - image: gcr.io/k8s-testimages/kubekins-e2e:v20180725-795cceb4c-1.10
    65          args:
    66          - "--repo=github.com/kubernetes-incubator/$(REPO_NAME)=$(PULL_REFS)"
    67          - "--timeout=60"
    68          - "--scenario=execute"
    69          - "--"
    70          - "make"
    71          - "images-all"
    72          - "svcat-all"
    73          env:
    74          - name: DOCKER_IN_DOCKER_ENABLED
    75            value: "true"
    76          # docker-in-docker needs privileged mode
    77          securityContext:
    78            privileged: true
    79          # docker-in-docker needs a place to store the images
    80          volumeMounts:
    81            - name: docker-graph
    82              mountPath: /docker-graph
    83        volumes:
    84          - name: docker-graph
    85            emptyDir: {}