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
Automate deploying internal Mathesar #3076
Comments
The instructions seem simple enough to not need automation. Maybe let's document this and call it a day? Edit: I reread the top post and noticed that "we want to update If it's no more often than once a week, I think doing it manually is fine. If it's more often (2-3 times a week), I'd want at least a shell script. A cronjob would be nice, but is |
@dmos62 This issue is a result of discussion + a decision in Matrix yesterday, starting here. All your points were discussed there, but to summarize:
This is for us (the core team) to dogfood
Ideally every time something is merged into |
I added a section to the main description of the issue to also push |
I would like to have DockerHub images too, because #2709 affects our project, and as the resolving of the issue progresses, we want to use the latest fixes in our docker-compose.yml as soon as possible. |
Adding |
Since this is related to internal infrastructure and not Mathesar code, I've moved it to Basecamp here. We'll still be working on this. |
Problem
Currently, deploying changes to the
develop
branch to the internal.mathesar.org instance is a manual process. We want to do it often, and this is burdensome.Proposed solution
We should automate this deployment.
Additional context
We'd like to use the docker setup to maintain parity with our current recommendations to users. The current deployment process is: Brent logs into internal.mathesar.org via SSH, looks in
.bash_history
to try to remember what he did last time, and then runsClearly, there is room for improvement. The goal is to build a local image based on the
develop
branch, and then run Mathesar in 'prod mode', but using the local image rather than pulling the actual prod image from dockerhub. If tagged properly, this should be the result of the above commands.Pushing
develop
buildsAs part of this issue, we should also push
develop
Docker builds of Mathesar to Docker Hub regularly, since there are some users who may want to test it (see #2709 (comment)). This may involve setting up a new DockerHub repo or renaming our current DockerHub repo frommathesar-prod
tomathesar
.The text was updated successfully, but these errors were encountered: