Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 2.63 KB

File metadata and controls

57 lines (44 loc) · 2.63 KB

Just WoodpeckerCI Plugin

pulls size dockerfile license prs issues

A WoodpeckerCI plugin for just to lint justfiles. Also usable with Gitlab, Github or locally, see examples for usage.

Features

  • searches for justfiles recursive
  • runnable with local docker daemon

Example

Woodpecker:

steps:
  just:
    depends_on: []
    image: kokuwaio/just:1.51.0
    when:
      event: pull_request
      path: [.justfile]

Gitlab: (using script is needed because of https://gitlab.com/gitlab-org/gitlab/-/issues/19717)

just:
  needs: []
  stage: lint
  image:
    name: kokuwaio/just:1.51.0
    entrypoint: [""]
  script: [/usr/bin/entrypoint.sh]
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
      changes: ["**/.justfile"]

CLI:

docker run --rm --volume=$PWD:$PWD:ro --workdir=$PWD kokuwaio/just:1.51.0

Alternatives

Image Comment amd64 arm64
kokuwaio/just Woodpecker plugin size size