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

Change Dockerfile base image #255

Closed
wants to merge 7 commits into from

Conversation

Alva8756
Copy link
Contributor

Currently the migration job(create tables to crdb) doesn't take effect.

Job logs only provide limit information: no migrations to run.

It's good to have shell access to either fleetdb or fleetdb-migration pod to investigate deeper. However, existing image gcr.io/distroless/static doesn't support shell :( https://github.com/GoogleContainerTools/distroless/blob/main/README.md

We can revert the image back in the future. However it would be helpful for us to switch to some image that allows us debugging inside the pod.

Alva8756 and others added 7 commits December 11, 2023 14:00
* merge all sql files into one

* insert-into BMC to server-credential-types

* regenerate sqlboiler crdb --add-soft-deletes
* update gitignore for vim backup files

* regenerate ORM layer with metal-toolbox sqlboiler-crdb

* WARNING! I changed a generated file here. I will update once I have a fix in place upstream

* fix up linting

* update to sqlboiler v4 4.15

* regen models with --enable-soft-delete
@Alva8756 Alva8756 requested a review from a team as a code owner January 17, 2024 05:23
@Alva8756 Alva8756 closed this Jan 17, 2024
@Alva8756
Copy link
Contributor Author

Created PR to the wrong repo.

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