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

sql: Docker container(s) to speed up ORM setup #59437

Open
ajstorm opened this issue Jan 26, 2021 · 5 comments
Open

sql: Docker container(s) to speed up ORM setup #59437

ajstorm opened this issue Jan 26, 2021 · 5 comments
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Comments

@ajstorm
Copy link
Collaborator

ajstorm commented Jan 26, 2021

Recently, at Hack the North, some of the developers had issues getting ORMs setup correctly with CRDB (specifically, Sequelize). The instructions in our docs work, when followed correctly, but many of them are several steps long, and missing (or messing up) a single step will lead to pain and suffering.

It would be beneficial if we had a simpler approach to getting up-and-running with CRDB and ORMs. Luckily, some of the SEs have already built assets for this using Docker (for example: https://github.com/dbist/cockroach-docker).

The thinking for this issue is to build standardized Docker containers for each ORM (or a mega-container which contains all ORMs) which could also contain all of the samples. This would take the multi-step setups we currently have, to a single Docker pull, and then execing into the container.

Jira issue: CRDB-3289

@ajstorm ajstorm added C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels Jan 26, 2021
@awoods187
Copy link
Contributor

@vy-ton can you evaluate this request and prioritize it with @ericharmeling?

@awoods187 awoods187 added this to Triage in SQL Sessions - Deprecated via automation Jan 27, 2021
@vy-ton
Copy link
Contributor

vy-ton commented Jan 27, 2021

This was discussed as an upcoming intern project

Other places we could leverage these containers

  • example-orms tests

@ajstorm
Copy link
Collaborator Author

ajstorm commented Jan 27, 2021

Here's a link from @timveil's of the repo where they're planning on coalescing all of the SE docker assets.: https://github.com/cockroachlabs-field/docker-examples

@rafiss rafiss moved this from Triage to Shorter term backlog in SQL Sessions - Deprecated Feb 16, 2021
@rafiss
Copy link
Collaborator

rafiss commented Feb 16, 2021

Comment from Vy: Could also be useful for internal reproduction of customer issues.

We will start on this by asking our ActiveRecord contractor to work on making a Docker image that has our adapter.

@rafiss
Copy link
Collaborator

rafiss commented Aug 23, 2021

cc @ericharmeling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception) T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)
Projects
No open projects
SQL Sessions - Deprecated
Shorter term backlog
Development

No branches or pull requests

4 participants