Skip to content

rock-core/autoproj-ci

Repository files navigation

Autoproj::CI

Installation

Run

autoproj plugin install autoproj-ci

From within an autoproj workspace

Usage

Build cache

The autoproj ci cache-push, autoproj ci build and autoproj ci cache-pull subcommands allow you to save build artifacts (push) or get them from the cache (pull and build) to avoid re-building things that are not needed. The pull may be used to unarchive the relevant artifacts from the archive dir into the workspace's prefix. build does cache-pull and triggers a build that will ignore the cached packages. cache-push updates the cache using the packages successfully build by the last build command.

cache-pull generates a JSON file that can be used to determine what has been pulled from the cache. Cached packages can then be provided to the --not option of autoproj build, as e.g.

autoproj build --not this_package that_package

Passing the options must be done by your build environment. It's not automatically handled by the tools

Development

Install the plugin with a --path option to use your working checkout

autoproj plugin install autoproj-ci --path /path/to/checkout

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/rock-core/autoproj-ci. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Autoproj::Ci project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Autoproj plugin that provides commands useful to build in CI environments

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published