Skip to content

setup cdk dev mint and keycloak with devenv#591

Open
gudnuf wants to merge 1 commit intoalphafrom
setup-cdk-dev-mint
Open

setup cdk dev mint and keycloak with devenv#591
gudnuf wants to merge 1 commit intoalphafrom
setup-cdk-dev-mint

Conversation

@gudnuf
Copy link
Contributor

@gudnuf gudnuf commented Aug 20, 2025

Allows you to start CDK and keycloak with devenv processes up -d or cdk-mintd.

I decided to just make keycloak and CDK a single process because it made things easier, but if you have a strong objection we can make them separate. The main reason I kept them together was so that we can conditionally start keycloak only if the mint has auth enabled, but maybe this is unnecessary and we should just assume auth is always enabled. The main downside is the logs are grouped together, but you rarely find anything useful in the keycloak logs and should prefer the cdk-logs script I made for reading CDK's log output.

The cdk-mint script will automatically checkout the specified git repo and ref, then build and run that. So as we build mint features we just need to change the ref and restart the mint.

@gudnuf gudnuf requested a review from jbojcic1 August 20, 2025 23:12
@gudnuf gudnuf self-assigned this Aug 20, 2025
@vercel
Copy link

vercel bot commented Aug 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
agicash Ready Ready Preview Comment Aug 26, 2025 6:14pm
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
boardwalk Ignored Ignored Preview Aug 26, 2025 6:14pm

@supabase
Copy link

supabase bot commented Aug 20, 2025

This pull request has been ignored for the connected project hrebgkfhjpkbxpztqqke because there are no changes detected in supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@gudnuf gudnuf force-pushed the setup-cdk-dev-mint branch from 976146d to 08b9adb Compare August 21, 2025 01:21
@vercel vercel bot temporarily deployed to Preview – agicash August 21, 2025 01:22 Inactive

# https://devenv.sh/pre-commit-hooks/
pre-commit.hooks.generate-db-types = {
git-hooks.hooks.generate-db-types = {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

there has been a warning for a while that pre-commit was renamed to git-hooks

@gudnuf gudnuf force-pushed the setup-cdk-dev-mint branch from 08b9adb to d37adfe Compare August 26, 2025 18:13
@vercel vercel bot temporarily deployed to Preview – agicash August 26, 2025 18:14 Inactive
@gudnuf gudnuf mentioned this pull request Aug 26, 2025
Base automatically changed from master to alpha August 26, 2025 21:49
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