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

Redis fixin' + some small cleanup #308

Merged
merged 6 commits into from
Jan 2, 2024
Merged

Redis fixin' + some small cleanup #308

merged 6 commits into from
Jan 2, 2024

Conversation

tjheffner
Copy link
Contributor

@tjheffner tjheffner commented Dec 29, 2023

Description

Relates to #283, where I disabled redis because it was causing CMS tugboat preview servers to fail, as no redis service is available there (nor does it need to be, all preview pages should be fetched fresh). This re-enables redis using an env var. I pass it to the cli via yarn export only, when static pages are generated.

I also updated the generator template + terminal output to better reflect the slight refactor to queries in #306 .

Testing done

Verified redis did not run during yarn dev, verified it does run & store menu keys during yarn export

Screenshots

n/a

QA steps

Tasks

Preview Give feedback

@va-cms-bot va-cms-bot temporarily deployed to Tugboat December 29, 2023 18:11 Destroyed
@tjheffner tjheffner requested review from ryguyk and jtmst December 29, 2023 18:12
Copy link
Contributor

@ryguyk ryguyk left a comment

Choose a reason for hiding this comment

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

This looks good. I'm not yet approving because of open questions I raised for discussion, but this is very close.

package.json Outdated Show resolved Hide resolved
packages/env-loader/src/cli-options.ts Outdated Show resolved Hide resolved
src/lib/drupal/drupalClient.ts Show resolved Hide resolved
@va-cms-bot va-cms-bot temporarily deployed to Tugboat January 2, 2024 20:29 Destroyed
@tjheffner tjheffner merged commit 50f5283 into main Jan 2, 2024
6 checks passed
@tjheffner tjheffner deleted the redis-fixin branch January 2, 2024 20:40
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.

3 participants