hamster

Crates.iohamster
lib.rshamster
version0.0.4
sourcesrc
created_at2020-04-28 22:48:33.849897
updated_at2020-04-29 11:47:24.76706
descriptionA local working dir runner of gitlab jobs
homepage
repositoryhttps://github.com/gilescope/hamster.git
max_upload_size
id235148
size27,549
Squirrel (gilescope)

documentation

README

hamster

offline gitlab runner

ALPHA

Tired of having to 'register' runners?

Just want a runner that doesn't run in a container, but tries to just, you know, run the stuff?

What does hamster honor?

  • hamster target_name will run that specific target.
  • variables defined at job and global level will be honored.
  • variable substitution works in the same mannor as go expand.
  • .extends is now supported.
  • yaml merge << and anchors work.

E.g. with this for your .gitlab-ci.yml:

goodbye:
  stage: primary_stage
  variables:
    GOODBYE: "tara"
  script:
    - echo $GOODBYE a bit

then hamster goodbye would output tara a bit.

What doesn't it do?

Does't honor:

  • services
  • image
  • when
  • hamster stage_name will not run all targets in a stage.[todo]

It won't checkout your code or do anything with git.

It won't start itself in a container (use the official gitlab runner for that)

Changelog

  • v0.0.4 Bugfix for same dir includes.
  • v0.0.3 Intial release
Commit count: 36

cargo fmt