GitXplorerGitXplorer
c

shellcheck-circleci

public
0 stars
0 forks
0 issues

Commits

List of commits on branch develop.
Verified
0371f786ea3b280eae783aef1ed5b6e0e01013d5

Merge pull request #5 from cfra/feature/archive

ccfra committed 6 years ago
Unverified
4641f86a6624f4dace20fd1767b4882d4edb93d2

Archive repository

ccfra committed 6 years ago
Unverified
d47047a0071ca769a171664b9a09266735c272cb

Merge tag '0.6.0' into develop

ccfra committed 6 years ago
Unverified
c3e0efec736852f1fad7b6d7032af05309ff5978

Merge branch 'release/0.6.0'

ccfra committed 6 years ago
Unverified
dc70ea2bac8c549e6acd8d8b7506765b6da4cc90

Prepare release 0.6.0

ccfra committed 6 years ago
Unverified
46b514f28d564ca2fe43521483b38ee9dcce8b41

Merge tag '2019.02.27.1' into develop

ccfra 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.