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

setup deploy for new prod-temp environment #1756

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

peetucket
Copy link
Member

@peetucket peetucket commented Jan 18, 2025

Why was this change made?

See https://github.com/sul-dlss/operations-tasks/issues/3951

  • We are spinning up a temporary prod environment for Profile's use.
  • Add some links to related tickets in code documentation.
  • Disable harvesting in dev environment for now (not needed per discussion with Profiles)
  • Remove unnecessary linking of secrets.yml file for all environments (noticed when deploying to prod-temp, this comes from vault now anyway)

How was this change tested?

Which documentation and/or configurations were updated?

@@ -1,5 +1,5 @@
# see https://github.com/sul-dlss/sul_pub/wiki/Servers-Deployment-environment
server 'sul-pub-cap-dev-a.stanford.edu', user: 'pub', roles: %w(web db harvester_dev app)
Copy link
Member Author

Choose a reason for hiding this comment

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

disable harvesting for now in this environment, not needed during testing


set :bundle_without, %w(test development).join(' ')

set :log_level, :info
Copy link
Member Author

Choose a reason for hiding this comment

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

new prod-temp environment (already setup)

@@ -12,7 +12,6 @@

# Default value for :linked_files is []
set :linked_files, fetch(:linked_files, []).push(
'config/secrets.yml',
Copy link
Member Author

Choose a reason for hiding this comment

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

not needed, value comes from vault and is set in the environment via puppet, e.g. https://github.com/sul-dlss/puppet/blob/production/hieradata/node/sul-pub-prod.stanford.edu.yaml#L67

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.

1 participant