All Projects → sue445 → circleci-ruby-orbs

sue445 / circleci-ruby-orbs

Licence: MIT License
CircleCI orb for ruby

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to circleci-ruby-orbs

circleci
CircleCI Orbs for CI/CD using Pulumi.
Stars: ✭ 16 (+0%)
Mutual labels:  circleci-orb, circleci-orbs
aws-eks-orb
An orb to simplify deployments to Amazon Elastic Container Service for Kubernetes (Amazon EKS)
Stars: ✭ 16 (+0%)
Mutual labels:  circleci-orbs
rombundler
A tiny libretro frontend to release homebrews as executables
Stars: ✭ 49 (+206.25%)
Mutual labels:  bundler
The-HTML-and-CSS-Workshop
A New, Interactive Approach to Learning HTML and CSS
Stars: ✭ 65 (+306.25%)
Mutual labels:  bundler
bundle-diff
Bundler plugin for showing gem diffs
Stars: ✭ 42 (+162.5%)
Mutual labels:  bundler
dumber
A dumb JavasScript bundler for Single Page Application, dumber than you and me.
Stars: ✭ 21 (+31.25%)
Mutual labels:  bundler
docker-orb
Install/use various Docker-related tools on CircleCI
Stars: ✭ 18 (+12.5%)
Mutual labels:  circleci-orbs
orb-starter-kit
A starter kit for new orb authors
Stars: ✭ 27 (+68.75%)
Mutual labels:  circleci-orbs
ng2-fused
FuseBox plugins and utilities for building Angular2 applications.
Stars: ✭ 13 (-18.75%)
Mutual labels:  bundler
macpack
Makes a macOS binary redistributable by searching the dependency tree and copying/patching non-system libraries.
Stars: ✭ 20 (+25%)
Mutual labels:  bundler
orb-tools-orb
Various tools for authoring and publishing CircleCI orbs
Stars: ✭ 40 (+150%)
Mutual labels:  circleci-orbs
rna
🚀 A bundler, a server and a test runner for modern modules and applications.
Stars: ✭ 89 (+456.25%)
Mutual labels:  bundler
jasper
🧳 Single-binary packaging for Ruby applications that supports native and Wasm targets
Stars: ✭ 29 (+81.25%)
Mutual labels:  bundler
webpack tutorial
JavaScript Module bundler, Webpack2 from scratch
Stars: ✭ 13 (-18.75%)
Mutual labels:  bundler
monopack
A JavaScript bundler for node.js monorepo-codebased applications.
Stars: ✭ 52 (+225%)
Mutual labels:  bundler
the-super-tiny-web-module-resolver
simple js bundler written in 100 lines of code.
Stars: ✭ 25 (+56.25%)
Mutual labels:  bundler
pacco
A bundler for modular and extensible web projects.
Stars: ✭ 16 (+0%)
Mutual labels:  bundler
bundler-comparison
Comparison of web resource bundlers. 📦
Stars: ✭ 21 (+31.25%)
Mutual labels:  bundler
Webpack-4-boilerplate
🚀 Webpack 4 with ES6+ and SASS,LESS/STYLUS support + dev-server and livereload
Stars: ✭ 55 (+243.75%)
Mutual labels:  bundler
rolldown
Modern bundler built on Rollup with couple more features, such as multiple entry points, presets, better configuration experience and more.
Stars: ✭ 17 (+6.25%)
Mutual labels:  bundler

circleci-ruby-orbs

CircleCI orb for ruby

https://circleci.com/orbs/registry/orb/sue445/ruby-orbs

CircleCI Orb Version CircleCI

Requirements

Usage

Common setting

# .circleci/config.yml
version: 2.1

orbs:
  # Use specific version
  # see. https://github.com/sue445/circleci-ruby-orbs/releases
  ruby-orbs: sue445/[email protected]

  # or
  # Use latest version
  # ruby-orbs: sue445/ruby-orbs@volatile

bundle-install

Run bundle install using cache.

for app repo (Gemfile.lock is committed)

# .circleci/config.yml
jobs:
  rspec:
    docker:
      - image: circleci/ruby

    steps:
      - checkout

      - ruby-orbs/bundle-install
      # or
      - ruby-orbs/bundle-install:
          cache_key_prefix: "v1-bundle"
          bundle_jobs: 4
          bundle_retry: 3
          bundle_path: "vendor/bundle"
          bundle_gemfile: "Gemfile"
          bundle_clean: true
          bundle_extra_args: ""
          restore_bundled_with: true

      # Add your job (e.g. rspec, rubocop)
      - run: bundle exec rspec

for gem repo (Gemfile.lock is not committed)

# .circleci/config.yml
jobs:
  rspec:
    docker:
      - image: circleci/ruby

    steps:
      - checkout

      - ruby-orbs/bundle-install:
          with_gemfile_lock: false
          gemspec_name: "yourgem"
      # or
      - ruby-orbs/bundle-install:
          with_gemfile_lock: false
          gemspec_name: "yourgem"
          cache_key_prefix: "v1-bundle"
          bundle_jobs: 4
          bundle_retry: 3
          bundle_path: "vendor/bundle"
          bundle_clean: true
          bundle_extra_args: ""
          update_always: false

      # Add your job (e.g. rspec, rubocop)
      - run: bundle exec rspec

Parameters

  • cache_key_prefix : Key prefix of cache (default: v1-bundle)
  • bundle_jobs : Passed to bundle install --jobs (default: 4)
  • bundle_retry : Passed to bundle install --retry (default: 3)
  • bundle_path : Passed to bundle install --path or use bundle config set path (default: vendor/bundle)
  • bundle_gemfile : Passed to bundle install --gemfile (default: Gemfile)
  • bundle_clean : Whether pass --clean to bundle install or use bundle config set --local clean 'true' (default: true)
  • bundle_deployment : Whether path to --deployment or run bundle config set deployment 'true' (default: false)
  • bundle_frozen : Whether path to --frozen or run bundle config set frozen 'true' (default: false)
  • bundle_no_cache : Whether path to --no-cache or run bundle config set no-cache 'true' (default: false)
  • bundle_no_prune : Whether path to --no-prune or run bundle config set no-prune 'true' (default: false)
  • bundle_shebang : Whether path to --shebang or run bundle config set shebang 'true' (default: false)
  • bundle_system : Whether path to --system or run bundle config set system 'true' (default: false)
  • bundle_without : Passed to bundle install --without or bundle config set without
  • bundle_with : Passed to bundle install --with or bundle config set with
  • bundle_extra_args : Arguments to pass to bundle install
  • restore_bundled_with : Whether resolve bundler version difference between Gemfile.lock and pre-installed in CI (default: true)
  • with_gemfile_lock : Whether using Gemfile.lock for cache key (default: true)
  • gemspec_name : gemspec name (required if with_gemfile_lock is false)
  • update_always : Whether run always bundle update when with_gemfile_lock is disabled (default: false)

bundle-update-pr

Run bundle update and send PullRequest.

Uses https://github.com/masutaka/circleci-bundle-update-pr

workflows:
  version: 2
  nightly:
    triggers:
      - schedule:
          cron: "00 10 * * 5"
          filters:
            branches:
              only: master
    jobs:
      - ruby-orbs/bundle-update-pr
      # or
      - ruby-orbs/bundle-update-pr:
          image: "circleci/ruby:2.5.3"
          pre-bundle-update-pr:
            - run:
                name: "Set timezone to Asia/Tokyo"
                command: "sudo cp /usr/share/zoneinfo/Asia/Tokyo /etc/localtime"
            - ruby-orbs/bundle-install
          git_user_name: "yourname"
          git_user_email: "[email protected]"
          github_access_token: GITHUB_ACCESS_TOKEN

Parameters

  • image : Image for bundle update (default: circleci/ruby)
  • pre-bundle-update-pr : Run steps before circleci-bundle-update-pr (default: [])
  • post-bundle-update-pr : Run steps after circleci-bundle-update-pr (default: [])
  • version : circleci-bundle-update-pr vesion. default is latest
  • assignees : Assign the PR to them. (e.g. alice,bob,carol)
  • reviewers : Request PR review to them. (e.g. alice,bob,carol)
  • labels : Add labels to the PR (e.g. In Review, Update)
  • duplicate : Make PR even if it has already existed (default: false)
  • git_user_name : Username for commit (default: $GIT_USER_NAME)
  • git_user_email : E-mail for commit (default: $GIT_USER_EMAIL)
  • branch : Space separated branches. (e.g. master develop topic) (default: $CIRCLE_BRANCH)
  • github_access_token : Your GitHub personal access token as an env var on CircleCI (default: GITHUB_ACCESS_TOKEN)
    • Go to your account's settings page and generate a personal access token with "repo" scope
    • Use the CircleCI UI to set the GITHUB_ACCESS_TOKEN environment variable.
  • enterprise_octokit_access_token : Your GitHub Enterprise personal access token as an env var on CircleCI (default. ENTERPRISE_OCTOKIT_ACCESS_TOKEN)
    • Use the CircleCI UI to set the ENTERPRISE_OCTOKIT_ACCESS_TOKEN environment variable.
  • enterprise_octokit_api_endpoint : Your GitHub Enterprise api endpoint (e.g. https://www.example.com/api/v3) (default: $ENTERPRISE_OCTOKIT_API_ENDPOINT)
  • no_output_timeout : Elapsed time the command can run without output. (e.g. 20m, 1.25h, 5s) (default: 10m)

External

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].