Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
/ linter Public archive

Docker image with common linter tools. Useful as a base image for unit tests in Concourse CI.

Notifications You must be signed in to change notification settings

electrocucaracha/linter

Repository files navigation

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

About

Docker image with common linter tools. Useful as a base image for unit tests in Concourse CI.

Topics

Resources

Stars

Watchers

Forks