RubyGems Navigation menu

cartage 1.2

Cartage provides a plug-in based tool to reliably create a package for a Bundler-based Ruby application that can be used in deployment with a configuration tool like Ansible, Chef, Puppet, or Salt. The package is created with its dependencies bundled in +vendor/bundle+, so it can be deployed in environments with strict access control rules and without requiring development tool access. Cartage has learned its tricks from Heroku, Capistrano, and Hoe. From Hoe, it learned to keep a manifest to control what is packaged (as well as its plug-in system). From Heroku, it learned to keep a simple ignore file. From Capistrano, it learned to mark the Git hashref as a file in its built package, and to timestamp the packages. Cartage follows a relatively simple set of steps when creating a package: 1. Copy the application files to the work area. The application’s files are specified in +Manifest.txt+ and filtered against the exclusion list (+.cartignore+). If there is no +.cartignore+, try to use +.slugignore+. If there is no +.slugignore+, Cartage will use a sensible default exclusion list. To override the use of this exclusion list, an empty +.cartignore+ file must be present. 2. The Git hashref is written to the work area (as +release_hashref+) and to the package staging area. 3. Files that have been modified are restored to pristine condition in the work area. The source files are not touched. (This ensures that +config/database.yml+, for example, will not be the version used by a continuous integration system.) 4. Bundler is fetched into the work area, and the bundle is installed into the work area’s +vendor/bundle+ without the +development+ and +test+ environments. If a bundle cache is kept (by default, one is), the resulting +vendor/bundle+ will be put into a bundle cache so that future bundle installs are faster. 5. A timestamped tarball is created from the contents of the work area. It can then be copied to a more permanent or accessible location. Cartage is extremely opinionated about its tools and environment: * The packages are created with +tar+ and +bzip2+ using <tt>tar cfj</tt>. * Cartage only understands +git+, which is used for creating <tt>release_hashref</tt>s, +Manifest.txt+ creation and comparison, and even default application name detection (from the name of the origin remote).

Gemfile:
=

安裝:
=

版本列表:

  1. 2.2.1 May 09, 2022 (42.0 KB)
  2. 2.2 March 19, 2020 (41.5 KB)
  3. 2.1 March 16, 2017 (41.0 KB)
  4. 2.0 May 31, 2016 (40.0 KB)
  5. 2.0.rc1 May 25, 2016 (40.0 KB)
  6. 1.2 May 27, 2015 (27.0 KB)
顯示所有版本(共 9)

Runtime 相依性套件 (1):

cmdparse ~> 3.0

Development 相依性套件 (14):

hoe ~> 3.13
hoe-doofus ~> 1.0
hoe-gemspec2 ~> 1.1
hoe-git ~> 1.5
hoe-travis ~> 1.2
minitest ~> 5.6
minitest-moar ~> 0.0
rake ~> 10.0
rdoc ~> 4.0
simplecov ~> 0.7

擁有者:

作者:

  • Austin Ziegler

SHA 256 總和檢查碼:

=

總下載次數 27,593

這個版本 5,020

版本发布:

授權:

MIT

Ruby 版本需求: >= 0

新版本需要 MFA: true

相關連結: