gitlab-ci-local

Tired of pushing to test your .gitlab-ci.yml?

MIT License

Downloads
3.1K
Stars
1.9K
Committers
36

Bot releases are visible (Hide)

gitlab-ci-local - cache:when and bug fixes

Published by firecow over 1 year ago

Thanks to @fabianpedd @lflobo @kouk @broneq @FnuGk @trygve55 @sh0shin @detly for contributing 😃

gitlab-ci-local - Umask and ListCsv options

Published by firecow almost 2 years ago

Thanks to @alexander-matthiesen @peterbbeu @FnuGk for contributing 😄

gitlab-ci-local - Bugfix shared docker filesystem

Published by firecow almost 2 years ago

  • Fix a bug, where the rsync command wasn't awaited

Thanks to @aleritty @oll-korrekt @steirico for contributing.

gitlab-ci-local - Docker shared filesystem

Published by firecow almost 2 years ago

Thanks to @ticapix, @trygve55, @atli-c, @kouk, @alexander-matthiesen and @FnuGk for helping out 😄

gitlab-ci-local - Includes rules, and optional needs

Published by firecow almost 2 years ago

  • Add DIND example @firecow
  • Fix error message with artifacts not being copied, even though only reports were specified @haydenseitz
  • Support optional artifacts in needs @kouk
  • Add circular !reference detection @firecow
  • Fix bug with double quotes and regex in rules. @firecow
  • Service container logs into .gitlab-ci-local folder @greenmaid
  • Exclude .gitlab-ci-local folder from artifacts/cache rsync commands @firecow
  • Add support for rules in includes @gbenguria
  • Use Config instead of ContainerConfig in healthcheck routine @peterbbeu
  • Mount tmp folder to services, to prevent crash @greenmaid
  • Add --clean / --no-cleanup cli option @firecow @moberghammer

Thanks to @atli-c @LauJosefsen @FnuGk and @byrdal for reviewing pull requests

gitlab-ci-local - CI_JOB_STATUS, docker-in-docker

Published by firecow about 2 years ago

  • Implement CI_JOB_STATUS
  • --mount-cache bugfix, for "funny" job name
  • service healtcheck fix, only one port needs to answer correctly now
  • docker-in-docker example
  • docker service network bug, if after_script was present
gitlab-ci-local - Fix performance bottleneck

Published by firecow about 2 years ago

  • Fix performance bottleneck bug in rules/local includes file traversal logic
gitlab-ci-local - Rules bugfixes

Published by firecow about 2 years ago

  • Variable expand cache.key
  • Allow jobs called pages
  • Bugfix paths in docker containers, to better support podman
  • Support rules.variables
  • Add $HOME/.gitlab-ci-local/.env support
  • artifactsToSource global CLI option
  • Add global variable description support
  • no-shell isolated jobs now copies artifacts to artifacts folder, making a mix og no-shell and image: functional
  • Add include wildcard support
  • Support rules.exist
gitlab-ci-local - Parallel Matrix

Published by firecow over 2 years ago

  • Add parallel.matrix support
  • Add --state-dir cli option to change .gitlab-ci-local folder location
  • Proper cache: expansion and merging
  • Includes without ref: defaults to HEAD instead of master
  • services: healthchecking is no longer broken
  • Fix problem with extends: in job expander class
  • Fix bug with rules: evaluation
  • Proper nested variable expansion
gitlab-ci-local - --only-needs cli option

Published by firecow over 2 years ago

  • Added --only-needs and --list-json cli options
  • Predefined variables cannot be overridden anymore
  • Moved informational messages into stderr to behavior better with 1> output.txt redirections
  • Fixed bug in --completion
  • Fixed bug with list flattening
  • Fixed bug with rsync'ing
  • Bumped various npm packages

Thanks to @alexislefebvre, @meleu, @dus7eh, @LauJosefsen, @atli-c, @bcouetil and @icook for contributing.

gitlab-ci-local - Variables features

Published by firecow over 2 years ago

  • Add --remote-variables option
  • Home,file and remote variables now has support for environment matchers
  • More precise variable value expansion
  • Use execa instead of custom cp handling, which was causing race conditions
gitlab-ci-local - Fewer bash instances spawned

Published by firecow over 2 years ago

  • Spawn fewer bash instances by using child_process.spawn properly
  • Copy file variables to docker-executor service's
  • Git command parallelization
gitlab-ci-local - Remote includes specified as string

Published by firecow over 2 years ago

  • Failed artifact generation don't break future jobs anymore
  • Includes specified as string starting with http or https now works as intended
gitlab-ci-local - Bugfix rules parsing and evaluation

Published by firecow almost 3 years ago

  • Bugfix rules parsing and evaluation
  • Fix bug in code coverage
  • Bump various npm package versions
gitlab-ci-local - --fetch-includes

Published by firecow almost 3 years ago

  • Added --fetch-includes option
    • Includes are only fetched once now
  • Bugfixed services:
  • Print output for failed jobs
  • Mock external dependencies during testing to make local development easier
gitlab-ci-local - Include file directive can now be an array

Published by firecow almost 3 years ago

  • Include file directive can now also be an array
  • Fix bug with mounted tmp folder linux file permissions
gitlab-ci-local - Copy cache in/out properly

Published by firecow almost 3 years ago

  • Proper cache copy in/out functionality
  • Possibility to use "old" host mount based caching
  • Fixed project variables file, and added it to README
gitlab-ci-local - Services port checking

Published by firecow almost 3 years ago

  • services: PORT's are now checked before job scripts are executed
  • Bumped various npm packages
  • Use axios instead of node-fetch
gitlab-ci-local - 4.26.3

Published by firecow almost 3 years ago

  • Harden GitData remote matching and project file includes
gitlab-ci-local - 4.26.2

Published by firecow almost 3 years ago

  • Hardened class GitData regex'ing n' stuff @nbj @aepfli @firecow
Package Rankings
Top 4.72% on Npmjs.org
Top 20.33% on Formulae.brew.sh
Badges
Extracted from project README
build Known Vulnerabilities npm license Renovate Quality Gate Status Maintainability Rating Reliability Rating Security Rating Coverage Code Smells Duplicated Lines (%)