Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add setup_keys script for Sidekiq Pro #1403

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ This is an implementation of ArcLight being implemented as a replacement for the
#### Setup
* Install Lando from https://github.com/lando/lando/releases (at least 3.0.0-rrc.2)
* See .tool-versions for language version requirements (ruby, nodejs)
* `bin/setup_keys`

```sh
bundle install
yarn install
```
(Remember you'll need to run the above commands on an ongoing basis as dependencies are updated.)


#### Starting / stopping services
We use lando to run services required for both test and development
environments.
Expand Down
8 changes: 8 additions & 0 deletions bin/setup_keys
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env ruby
def sidekiq_pro_credentials
content = `lpass show "Shared-ITIMS-Passwords/Sidekiq Pro Instructions"`
content = content.split("\n").find { |x| x.start_with?("BUNDLE_GEMS") }
content.split("=").last
end

`bundle config gems.contribsys.com #{sidekiq_pro_credentials}`