ci-cache:在短暂的持续集成环境中缓存文件

时间:2024-07-04 06:46:09
【文件属性】:

文件名称:ci-cache:在短暂的持续集成环境中缓存文件

文件大小:11KB

文件格式:ZIP

更新时间:2024-07-04 06:46:09

Ruby

缓存 在持续集成构建之间缓存文件和文件夹,以加快构建执行速度。 可与 Travis CI 和其他人一起使用。 用法 配置 ci-cache 使用环境变量来接收 AWS 配置。 CI_CACHE_S3_BUCKET= " cache-bucket " CI_CACHE_S3_PREFIX= " prefix-for-files/ " CI_CACHE_S3_KEY= " aws-key " CI_CACHE_S3_SECRET= " aws-secret " 下载缓存文件/文件夹 ci-cache get --name cache-key --output-path . 上传缓存文件/文件夹 ci-cache set --name cache-key --content cache-folder --hash-file version.lock 如果hash-file已更改,则仅重新上


【文件预览】:
ci-cache-master
----.gitignore(172B)
----ci-cache.gemspec(994B)
----.rspec(8B)
----bin()
--------ci-cache(122B)
----.travis.yml(394B)
----LICENSE(1KB)
----CHANGELOG.md(62B)
----spec()
--------cli_spec.rb(2KB)
--------get_spec.rb(1KB)
--------spec_helper.rb(19B)
--------storage_spec.rb(2KB)
--------set_spec.rb(1KB)
----README.md(3KB)
----lib()
--------ci-cache.rb(277B)
--------ci-cache()
----Gemfile(38B)
----Rakefile(35B)
----.editorconfig(415B)

网友评论