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

Disabling Cookie House loyalty database in default demo #4788

Merged
merged 5 commits into from
Apr 12, 2024
Merged

Conversation

galvana
Copy link
Contributor

@galvana galvana commented Apr 11, 2024

Description Of Changes

Puts the Cookie House loyalty house behind an environment variable to keep demos simple but allow testing of custom identities.

Code Changes

  • Updated the docker-compose.yml for the demo environment

Steps to Confirm

  • Run nox -s "fides_env(test)"
  • Verify that an access request can be submitted via the Privacy Center without being asked to provide a Loyalty ID

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Issue Requirements are Met
  • Update CHANGELOG.md

Copy link

vercel bot commented Apr 11, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
fides-plus-nightly ⬜️ Ignored (Inspect) Visit Preview Apr 12, 2024 2:53am

Copy link

cypress bot commented Apr 11, 2024

Passing run #7215 ↗︎

0 4 0 0 Flakiness 0
⚠️ You've recorded test results over your free plan limit.
Upgrade your plan to view test results.

Details:

Merge 09c9c0c into b9c43be...
Project: fides Commit: 34c6a69cfa ℹ️
Status: Passed Duration: 00:33 💡
Started: Apr 12, 2024 2:49 AM Ended: Apr 12, 2024 2:49 AM

Review all test suite changes for PR #4788 ↗︎

Copy link

codecov bot commented Apr 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.28%. Comparing base (afc824d) to head (d4b3086).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4788      +/-   ##
==========================================
- Coverage   86.61%   86.28%   -0.33%     
==========================================
  Files         339      339              
  Lines       20088    20088              
  Branches     2586     2586              
==========================================
- Hits        17399    17333      -66     
- Misses       2216     2289      +73     
+ Partials      473      466       -7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@galvana galvana requested a review from NevilleS April 11, 2024 23:48
Copy link
Contributor

@NevilleS NevilleS left a comment

Choose a reason for hiding this comment

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

Yup, this is reasonable. Thanks for the extra TLC 😄

Comment on lines 45 to 46
# uncomment the line below to enable the "loyalty database"
# FIDES_DEPLOY__CONNECTORS__POSTGRES_LOYALTY__HOST: postgres-test
Copy link
Contributor

Choose a reason for hiding this comment

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

NOTE: locally, the fides_env nox command will automatically provide your local .env file to fides deploy, so you shouldn't need to even modify this compose file - just have FIDES_DEPLOY__CONNECTORS__POSTGRES_LOYALTY__HOST set in your .env and it's good to go.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice! In that case, I'll remove this mapping from the docker-compose

@galvana galvana merged commit 0858264 into main Apr 12, 2024
20 checks passed
@galvana galvana deleted the demo-cleanup branch April 12, 2024 02:54
@cypress cypress bot mentioned this pull request Apr 12, 2024
31 tasks
@NevilleS NevilleS mentioned this pull request Apr 12, 2024
10 tasks
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