github.com/olli-ai/jx/v2@v2.0.400-0.20210921045218-14731b4dd448/jenkins-x-lint.yml (about)

     1  buildPack: none
     2  pipelineConfig:
     3    pipelines:
     4      pullRequest:
     5        pipeline:
     6          agent:
     7            image: gcr.io/kaniko-project/executor:9912ccbf8d22bbafbf971124600fbb0b13b9cbd6
     8          stages:
     9            - name: ci
    10              environment:
    11                - name: BASE_WORKSPACE
    12                  value: /workspace/source
    13                - name: GOPATH
    14                  value: /workspace/go
    15                - name: GOPROXY
    16                  value: http://jenkins-x-athens-proxy
    17                - name: PATH
    18                  value: "/usr/local/git/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/workspace/go/bin"
    19              options:
    20                containerOptions:
    21                  resources:
    22                    limits:
    23                      cpu: 4
    24                      memory: 8Gi
    25                    requests:
    26                      cpu: 3
    27                      memory: 6Gi
    28              steps:
    29                - name: fmt
    30                  image: golang:1.13.8
    31                  command: ./hack/gofmt.sh
    32                  dir: /workspace/source
    33                - name: lint
    34                  image: golang:1.13.8
    35                  command: ./hack/linter.sh
    36                  dir: /workspace/source
    37                - name: ensure-test-classification
    38                  image: bash
    39                  command: ./hack/ensure-test-classification.sh
    40                  dir: /workspace/source