Skip to content

This is a template repository with github actions configured appropriately for HathiTrust

License

Notifications You must be signed in to change notification settings

hathitrust/ruby_github_actions_template

Repository files navigation

Tests Coverage Status Ruby Style Guide

Template repository for Ruby project using shared HathiTrust GitHub Actions workflows

The example uses a Dockerfile for a Ruby project, but the GitHub Actions workflows are applicable to projects in perl as well.

To be able to deploy to Kubernetes using these actions, you will need to first set up secrets using use https://github.com/mlibrary/config-repo-env.

See also the actions these workflows use:

This repository includes:

  • examples for badges for tests, coveralls, and standardrb
  • Github Actions workflows for building a Docker image and deploying to Kubernetes. See individual workflows for additional comments.
  • starter Dockerfile, Dockerfile.prod, and docker-compose.yml, which implement our best attempt at a strategy around gem caching.
  • LICENSE required by all HathiTrust projects
  • Starter Gemfile, rspec, coveralls configuration
  • wait-for from https://github.com/eficode/wait-for, which we use extensively in CI workflows for waiting for mysql etc to become ready

Usage

Use this template, or copy individual files into your project.

When using this template, document inline variation in the Dockerfiles and github actions. That will help in understanding divergence between individual projects and future updates to this template.

About

This is a template repository with github actions configured appropriately for HathiTrust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages