github.com/jghiloni/cli@v6.28.1-0.20170628223758-0ce05fe032a2+incompatible/ci/cli/tasks/lint.yml (about)

     1  ---
     2  platform: linux
     3  
     4  image_resource:
     5    type: docker-image
     6    source:
     7      repository: cloudfoundry/cli-ci
     8  
     9  inputs:
    10  - name: cli
    11    path: gopath/src/code.cloudfoundry.org/cli
    12  
    13  params:
    14    LINT_SLOW: true
    15    LINT_DEADLINE: 30s
    16    LINT_SLOW_DEADLINE: 5m
    17  
    18  run:
    19    path: bash
    20    args:
    21    - -c
    22    - |
    23      set -ex
    24  
    25      export GOPATH=$PWD/gopath
    26      export PATH=$GOPATH/bin:$PATH
    27  
    28      pushd $GOPATH/src/code.cloudfoundry.org/cli
    29        bin/lint
    30      popd