GitXplorerGitXplorer
c

shellcheck-circleci

public
0 stars
0 forks
0 issues

Commits

List of commits on branch develop.
Unverified
90e2403b5e42fd75b9ea849c9d9f19e9998df84f

Merge branch 'release/2019.02.27.1'

ccfra committed 6 years ago
Unverified
5903496ef109c3f0a27c6623bfdf998252be6009

Bump release version

ccfra committed 6 years ago
Verified
c1669636ad30913df0a214b79c2a99f73e2fb948

Merge pull request #2 from cfra/renovate/docker-circleci-buildpack-deps-latest

ccfra committed 6 years ago
Verified
4824b6a6ffdbe3e5b58ca1a4a680f10914d1c56c

Update circleci/buildpack-deps:latest Docker digest to d56e885

rrenovate-bot committed 6 years ago
Verified
24c2f77a207924742aa9fcf3592511b5865ca68d

Merge pull request #3 from cfra/renovate/docker-koalaman-shellcheck-latest

ccfra committed 6 years ago
Verified
0afae44673173f466c0e22201c37aa0eec9e8f6a

Update koalaman/shellcheck:latest Docker digest to 46e592b

rrenovate-bot committed 6 years ago

README

The README file for this repository.

Archived: shellcheck-circleci

The solved with this docker image can actually be solved without it. There are pre-steps which can be specified for jobs when they are referenced in worflows:

- shellcheck/check:
    filters:
      tags:
        only:
          - /.*/
    pre-steps:
      - run:
          name: "Install git and SSH client"
          command: |
            apk add \
                --update \
                --no-progress \
                git \
                openssh-client

CircleCI Build Renovate enabled License: MIT

Docker image for running shellcheck on CircleCI.

This image is not maintained by CircleCI.

What is this

This image can be used for running shellcheck in CircleCI. In contrast to the official image, this image also includes git and ssh, tools needed for CircleCI to run smoothly.

Repository

The docker images are available in the repository at quay.

Tags

The current released version is tagged 0.6.0.

The latest development version is tagged as latest.

The releases will follow the upstream version, with an optional dash and number appended, if there are multiple releases per upstream version.

So for example, the first release for upstream version 1.16.4 will be tagged 1.16.4. If there is a second release for this upstream version, it will be tagged 1.16.4-1.

How to use this image

The easiest way to make use of it is to use the official CircleCI shellcheck-orb and override its executor:

version: 2.1
orbs:
  shellcheck: circleci/shellcheck@1.3.3

executors:
  shellcheck-circleci:
    docker:
      - image: quay.io/cfra/shellcheck-circleci

workflows:
  version: 2
  build:
    jobs:
      - shellcheck/check:
          executor: shellcheck-circleci

Development

For development, you can build the image locally using:

$ ./build.sh

This will build the image and tag it as shellcheck-circleci:latest.

To validate the generated image, you can run:

$ ./test

This will perform some basic tests on the image to see if shellcheck and git are working.