Skip to content

[SPIKE] Adds support for workflow database. #5388

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

justinlittman
Copy link
Contributor

Why was this change made? 🤔

How was this change tested? 🤨

⚡ ⚠ If this change has cross service impact, including data writes to shared file systems, run integration tests and/or test in [stage|qa] environment, in addition to specs. ⚡

database: "<%= ENV.fetch('DATABASE_NAME', 'dor_services_development') %>"
workflow:
<<: *workflow_default
database: "<%= ENV.fetch('WORKFLOW_DATABASE_NAME', 'workflow_production') %>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we want the default WF DB name to be the same (prod) value in all three envs?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. Fixing.

config/deploy.rb Outdated
@@ -53,7 +53,7 @@
# set :keep_releases, 5

set :linked_dirs, %w[log tmp/pids tmp/cache tmp/sockets vendor/bundle config/certs config/settings]
set :linked_files, %w[config/database.yml]
# set :linked_files, %w[config/database.yml]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you say more about this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The database configs are going to be set from env variables, so we don't want to use the database.yml from puppet.

@justinlittman justinlittman changed the title Adds support for workflow database. [SPIKE] Adds support for workflow database. Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants