diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 3556304ed..392b12cef 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,32 +1,26 @@ - +#### Developer -## Description - +- [ ] All new ENV is documented in README +- [ ] All new ENV has been added to Heroku Pipeline, Staging and Prod +- [ ] ANDI or Wave has been run in accordance to + [our guide](https://mitlibraries.github.io/guides/basics/a11y.html) and + all issues introduced by these changes have been resolved or opened as new + issues (link to those issues in the Pull Request details above) +- [ ] Stakeholder approval has been confirmed (or is not needed) -## Motivation and Context - - +#### Code Reviewer -## How Has This Been Tested? - - - +- [ ] The commit message is clear and follows our guidelines + (not just this pull request message) +- [ ] There are appropriate tests covering any new functionality +- [ ] The documentation has been updated or is unnecessary +- [ ] The changes have been verified +- [ ] New dependencies are appropriate or there were no changes -## Screenshots or GIFs (if appropriate): +#### Requires database migrations? -## Types of changes - -- [] Bug fix (non-breaking change which fixes an issue) -- [] Improvement (non-breaking change which improves existing functionality) -- [] New feature (non-breaking change which adds new functionality) -- [] Breaking change (fix or feature that would cause existing functionality to change) +YES | NO -## Checklist: - - -- [] My code follows the code style of this project. -- [] My change requires a change to the documentation. -- [] I have updated the documentation accordingly. -- [] I have read the **CONTRIBUTING** document. -- [] I have added tests to cover my changes. -- [] All new and existing tests passed. +#### Includes new or updated dependencies? + +YES | NO diff --git a/.github/README.md b/.github/README.md new file mode 100644 index 000000000..d78d39bcf --- /dev/null +++ b/.github/README.md @@ -0,0 +1,8 @@ +# Quepid for the MIT Libraries + +This repository allows the MIT Libraries to run an instance of Quepid in order to guide our development of platforms +like Unified Search and TIMDEX. + +## See also + +The [project readme](../README.md) has a lot of useful information. \ No newline at end of file diff --git a/app.json b/app.json index 239475473..d1a21ea5b 100644 --- a/app.json +++ b/app.json @@ -72,12 +72,10 @@ }, "formation": { "web": { - "quantity": 1, - "size": "standard-2x" + "quantity": 1 }, "worker": { - "quantity": 1, - "size": "standard-2x" + "quantity": 1 } }, "scripts": { diff --git a/config/database.yml b/config/database.yml index e59ca512a..0fcc5e3f5 100755 --- a/config/database.yml +++ b/config/database.yml @@ -23,4 +23,4 @@ test: production: <<: *default - url: <%= ENV["DATABASE_URL"] %> + url: <%= ENV["DATABASE_URL"].presence || "mysql2://#{ENV["DB_USERNAME"]}:#{ENV["DB_PASSWORD"]}@#{ENV["DB_HOST"]}:3306/#{ENV["DB_NAME"]}" %> diff --git a/config/queue.yml b/config/queue.yml index 87c623c68..826fd478a 100644 --- a/config/queue.yml +++ b/config/queue.yml @@ -7,7 +7,7 @@ default: &default - queues: "*" threads: 3 processes: <%= ENV.fetch("JOB_CONCURRENCY", 1) %> - polling_interval: 0.1 + polling_interval: <%= ENV.fetch("JOB_POLLING_INTERVAL", 0.1) %> development: <<: *default