Skip to content

A simple project of projects to demonstrate caching in a continuous integration environment

License

Notifications You must be signed in to change notification settings

alaeddein/ci-caching

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitlab CI Caching pipeline status

A simple project of projects to demonstrate basic CI caching for quicker builds in continuous integration environments.

This repository uses Gitlab CI as the target example but all continuous integration services provide caching as a basic feature and are implemented in roughly the same way.

How to use this repository

This example repository isn't meant to be a complete or comprehensive example of CI caching but rather as a place to start for those that have never seen or used caching before.

The only important thing in this repository is the .gitlab-ci.yml file. Open it up, examine it, and copy the bits that are useful to you or your projects.

References

Here are some references for some CI platforms I've used and recommend:

  • Travis CI: Easy to get started, integrates with practically every git hosting platform.
  • Gitlab CI: 100% Free & Open Source and uses markup similar to Travis.
  • Circle CI: Similar to Travis CI but much more container-focused.
  • Github Actions: Good for simple projects already hosted on Github.

Gitlab also has some great documentation regarding best practices when using caches and artifacts in CI - https://docs.gitlab.com/ee/ci/caching

About

A simple project of projects to demonstrate caching in a continuous integration environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 41.1%
  • Python 36.8%
  • HTML 13.1%
  • JavaScript 5.6%
  • XSLT 2.4%
  • Ruby 0.9%
  • Handlebars 0.1%