Skip to content

Commit

Permalink
Fix mailcatcher in staging
Browse files Browse the repository at this point in the history
- QA still seems broken, but I'm not sure if it's related
- Trying to use a default value in common.yml did not work, because the value in production was always being used, not falling back to the default if it wasn't set in staging or qa
- Needed to update the mailcatcher path
  • Loading branch information
maxkadel committed Nov 6, 2024
1 parent 3fc6a78 commit d1c64d4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions group_vars/orangelight/common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ rails_app_vars:
- name: SCSB_AUTH_KEY
value: "{{ scsb_auth_key }}"
- name: SMTP_HOST
value: "{{ ol_smtp_host | default('localhost') }}"
value: "{{ ol_smtp_host }}"
- name: SMTP_PORT
value: "{{ ol_smtp_port | default('1025') }}"
value: "{{ ol_smtp_port }}"
- name: SOLR_URL
value: "http://{{ catalog_solr_host }}:8983/solr/{{ catalog_solr_collection }}"
- name: CATALOG_FEEDBACK_QUEUE_ID
Expand Down
4 changes: 3 additions & 1 deletion group_vars/orangelight/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ alma_read_write_key: "{{ vault_alma_read_write_key }}"
install_mailcatcher: true
mailcatcher_user: "pulsys"
mailcatcher_group: "pulsys"
mailcatcher_install_location: "/usr/local/lib/ruby/gems/3.1.0/gems/mailcatcher-0.9.0/bin/mailcatcher"
mailcatcher_install_location: "/usr/local/lib/ruby/gems/3.1.0/gems/mailcatcher-0.10.0/bin/mailcatcher"
ol_smtp_host: 'localhost'
ol_smtp_port: 1025
ol_bibdata_base: 'https://bibdata-qa.princeton.edu'
ol_clancy_api_key: "{{ vault_clancy_api_key }}"
ol_clancy_base_url: '{{ vault_clancy_api_base_url }}'
Expand Down
4 changes: 3 additions & 1 deletion group_vars/orangelight/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ alma_read_write_key: "{{ vault_alma_sandbox_read_write_key }}"
install_mailcatcher: true
mailcatcher_user: "pulsys"
mailcatcher_group: "pulsys"
mailcatcher_install_location: "/usr/local/lib/ruby/gems/3.1.0/gems/mailcatcher-0.9.0/bin/mailcatcher"
mailcatcher_install_location: "/usr/local/lib/ruby/gems/3.1.0/gems/mailcatcher-0.10.0/bin/mailcatcher"
ol_smtp_host: 'localhost'
ol_smtp_port: 1025
ol_bibdata_base: 'https://bibdata-staging.lib.princeton.edu'
ol_clancy_api_key: "{{ vault_clancy_api_key }}"
ol_clancy_base_url: '{{ vault_clancy_api_base_url }}'
Expand Down

0 comments on commit d1c64d4

Please sign in to comment.