Sign inSign up

electrocucaracha/linter

By electrocucaracha

•Updated over 5 years ago

Linter image used by CI jobs

Image
0

2.6K

electrocucaracha/linter repository overview

⁠Linter

Docker License

⁠Usage

Use this Dockerfile to build a base image for your unit tests in Concourse CI⁠ or Tekton CI/CD⁠

Here is an example of a Concourse job⁠ that uses electrocucaracha/linter image.

  - name: linting
    serial: true
    plan:
      - get: src
        trigger: true
        params: {depth: 1}
      - in_parallel:
          - task: tox
            config:
              platform: linux
              image_resource:
                type: docker-image
                source:
                  repository: electrocucaracha/linter
              inputs:
                - name: code
              run:
                dir: src
                path: /usr/local/bin/linter.sh
                params:
                   RELENG_LINTER_TOOL: tox

Here is an example of a Tekton pipeline⁠ that uses electrocucaracha/linter image.

  tasks:
    - name: tox
      taskRef:
        name: linter-task
      params:
        - name: linter_tool
          value: tox
      resources:
        inputs:
          - name: repo
            resource: src

Tag summary

Content type

Image

Digest

Size

164.5 MB

Last updated

over 5 years ago

docker pull electrocucaracha/linter