PromucFlow_constructor/deploy/docker/fs/opt/appsmith
Abhijeet 6ca9ef549e
feat: Make images adaptable to support both Postgres and MongoDB uris (#36424)
## Description
PR to make the release tag adaptable to work with both MongoDB and
PostgreSQL uris.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new script to automate the preparation of server
artifacts, improving the build process.
- Added SQL files to the indentation configuration for consistent code
formatting.

- **Improvements**
- Enhanced error handling in the Docker build process to ensure
essential files are present before execution.
- Updated service configuration logic to prevent misconfiguration based
on the environment.
- Added a new job step in the build workflow to prepare server artifacts
after the build process.
- Implemented conditional logic in the run script to dynamically adapt
to different database configurations.

- **Bug Fixes**
- Adjusted the initialization process to focus on MongoDB, improving
reliability in various environments.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

/test Sanity

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/10940528231>
> Commit: 32731e8a93a25e5c9456eb89daca2d8bf327c012
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=10940528231&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Thu, 19 Sep 2024 12:21:54 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [x] No
2024-09-19 21:45:46 +05:30
..
templates feat: Make images adaptable to support both Postgres and MongoDB uris (#36424) 2024-09-19 21:45:46 +05:30
utils fix: trim db urls and remove special characters during backup restore (#36201) 2024-09-13 16:55:59 +05:30
auto_heal.sh chore: Fix auto heal script crash if curl times out (#29472) 2023-12-08 15:22:26 +05:30
caddy-reconfigure.mjs fix: caddy partial metrics (#36376) 2024-09-17 18:59:51 +05:30
diagnostics.sh Add a diagnostic script to assist in the debugging of issues with appsmith implementation (#35640) 2024-08-29 14:06:30 +05:30
entrypoint.sh feat: Make images adaptable to support both Postgres and MongoDB uris (#36424) 2024-09-19 21:45:46 +05:30
generate-infra-details.sh chore: Update incorrect docker tagging and add fargate tag in deployment telemetry (#33472) 2024-05-27 17:16:13 +05:30
healthcheck.sh chore: Health check only backend, caddy and RTS (#32891) 2024-04-25 10:36:13 +05:30
install_docker.sh chore: replaced decommisioned urls with new ones (#27786) 2023-10-05 12:07:18 +05:30
JFR-recording-24-hours.sh chore: JFR 24 hour script with logs file (#36041) 2024-09-13 12:46:54 +05:30
mongodb-fixer.sh chore: Use tlog instead of echo in more places (#34182) 2024-06-11 20:10:33 +05:30
pg-upgrade.sh fix: cleanup stale postgres postmaster.pid (#35171) 2024-07-26 12:52:49 +05:30
pull_resource.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
record-heap-dump.sh chore: preStop scripts (#35785) 2024-08-21 11:43:40 +05:30
record-thread-dump.sh chore: preStop scripts (#35785) 2024-08-21 11:43:40 +05:30
run-caddy.sh chore: Switch to vanilla Caddy, when rate limiting is disabled (#33387) 2024-05-24 13:11:56 +05:30
run-java.sh feat: Make images adaptable to support both Postgres and MongoDB uris (#36424) 2024-09-19 21:45:46 +05:30
run-postgres.sh chore: Add Postgres bin to PATH (#34265) 2024-06-17 12:53:34 +05:30
run-starting-page-init.sh feat: Caddy (#28081) 2023-12-05 10:47:36 +05:30
run-with-env.sh chore: Use tlog instead of echo in more places (#34182) 2024-06-11 20:10:33 +05:30
start_app.sh chore: Use single COPY command in Dockerfile for constant/static files (#27127) 2023-09-11 08:43:09 +05:30
starting-page-init.py feat: add ability to change application logs location (#31926) 2024-03-20 19:45:48 +05:30
thread-profile-start.sh chore: preStop scripts (#35785) 2024-08-21 11:43:40 +05:30
thread-profile-stop.sh chore: Added multiple scripts to trigger profiles (#35546) 2024-08-12 19:29:47 +05:30