-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Prepare to rename default branch to "main" #9089
Conversation
Questions:
|
I am wondering about environment conflicts. At the moment, there are 70 open PRs. What if some of them are actively developing and have the 'deploy_to_dev' tag? In that case, what will be deployed? How can i be sure, and how can i check that my branch is in the dev environment? |
The naming between the branch and the environment were coincidental. e.g. we don't have a branch named for any other environment (hackathon, demo, dev, prod etc). It's an industry standard for the default branch to be called
Yes this won't change. Right now contributors outside of MindsDB can't run Github actions for security reasons, it requires approval from a MindsDB member. So they can deploy to dev with approval, and they will still be able to after this change.
There are several stages we should be running different kinds of tests and those are laid out in the SDLC linked above. To be clear, this renaming doesn't really change any of our processes. |
When you rename a branch in Github, it also updates all of the PRs to be pointing to the new name. So this isn't an issue, and we've tested this on several of our other repos. What gets deployed to dev envs is whatever is in the developer's own branch, so that won't change.
This is more of a process question for us. Currently when a deploy is done, a message is sent to the
This is a good question and I remember looking into this when setting up the deploy to staging script, but I need to confirm that the behavior is sane if this happens. That said, this rename doesn't change any of this behavior - we currently deploy to staging for every merge into the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* update references to staging and stable branches * Add branch rename notice to the readme * fix rag splitters
* fix mysql connection status * revert * try different mysql image * Add web default handler * Add openai key to tests * fix rag splitters * Add debug * remove random file (#9157) * Prepare to rename default branch to "main" (#9089) * update references to staging and stable branches * Add branch rename notice to the readme * fix rag splitters * missed docs (#9158) * merge and test file handler perm * update dockerignore * Remove debug
* fix mysql connection status * revert * try different mysql image * Add web default handler * Add openai key to tests * fix rag splitters * Add debug * remove random file (#9157) * Prepare to rename default branch to "main" (#9089) * update references to staging and stable branches * Add branch rename notice to the readme * fix rag splitters * missed docs (#9158) * merge and test file handler perm * update dockerignore * Remove debug
* pin more packages * update tiktoken * Remove langchain * Fix mysql connection status tracking (#9120) * fix mysql connection status * revert * try different mysql image * Add web default handler * Add openai key to tests * fix rag splitters * Add debug * remove random file (#9157) * Prepare to rename default branch to "main" (#9089) * update references to staging and stable branches * Add branch rename notice to the readme * fix rag splitters * missed docs (#9158) * merge and test file handler perm * update dockerignore * Remove debug * fix langchain dep
This makes changes to prepare for the following changes to align with our SDLC:
staging
branch tomain
stable
branchDevelopment would then progress like this:
main
and is automatically deployed to https://staging.mindsdb.commain
will be deployed to prod.