Closed megasanjay closed 1 week ago
Thank you for submitting this pull request! We appreciate your contribution to the project. Before we can merge it, we need to review the changes you've made to ensure they align with our code standards and meet the requirements of the project. We'll get back to you as soon as we can with feedback. Thanks again!
This PR implements deployment environments for the application using Kamal, a deployment tool. The changes include setting up production and staging environments, configuring Docker builds, and updating environment variable references. The deployment setup includes SSL certification, health checks, and secrets management.
classDiagram
class EnvironmentVariables {
+String DOCKER_BUILDKIT
+String KAMAL_REGISTRY_LOGIN_SERVER
+String KAMAL_REGISTRY_USERNAME
+String KAMAL_REGISTRY_PASSWORD
+String KAMAL_SERVER_IP
+String DATABASE_URL
+String APP_ID
+String GH_APP_ID
+String GH_APP_NAME
+String GH_CLIENT_ID
+String GH_CLIENT_SECRET
+String PRIVATE_KEY
+String WEBHOOK_SECRET
+String CODEFAIR_APP_DOMAIN
+String CODEFAIR_BOT_DOMAIN
+String ZENODO_API_ENDPOINT
+String ZENODO_ENDPOINT
}
note for EnvironmentVariables "Updated environment variable references for deployment"
Change | Details | Files |
---|---|---|
Set up Kamal deployment configuration and environments |
|
bot/config/deploy.yml .github/workflows/deploy-main.yml .github/workflows/deploy-staging.yml bot/.kamal/hooks/* |
Optimize Docker build process |
|
bot/Dockerfile bot/Dockerfile.dev |
Standardize environment variable naming |
|
bot/index.js bot/main.js bot/utils/tools/index.js ui/server/utils/auth.ts ui/server/api/**/*.ts |
Code quality improvements |
|
bot/index.js bot/metadata/index.js CHANGELOG.md codemeta.json |
Thanks for making updates to your pull request. Our team will take a look and provide feedback as soon as possible. Please wait for any GitHub Actions to complete before editing your pull request. If you have any additional questions or concerns, feel free to let us know. Thank you for your contributions!
Thanks for closing this pull request! If you have any further questions, please feel free to open a new issue. We are always happy to help!
Summary by Sourcery
Set up deployment environments for production and staging, updating CI workflows to support these environments with concurrency control. Modify Dockerfile to optimize build and runtime stages, and update environment variable references across the codebase. Add deployment configuration files and hooks for Kamal, and update changelog to reflect recent changes.
CI:
Deployment: