Yicong-Huang opened a new issue, #5970:
URL: https://github.com/apache/texera/issues/5970
### Task Summary
Four scripts under `bin/` are dead code — no caller in the repo, no
Dockerfile / k8s manifest / doc references them. They predate the move to
per-service Dockerfiles + sbt-native-packager dist launchers, and (now)
`bin/local-dev.sh` covers the local-dev workflow they used to drive.
| Script | What it was | Why dead |
|---|---|---|
| `bin/deploy-docker.sh` | Single-container entrypoint that fanned out to
`server.sh` + `workflow-compiling-service.sh` + `workflow-computing-unit.sh`
and `wait -n`'d. | Added in #2548 ("Add Dockerfile for Building Texera Docker
Image"); replaced when texera split into per-service Dockerfiles, each with its
own `CMD ["bin/<service>"]` dist launcher. |
| `bin/deploy-daemon.sh` | Build the full Scala dist + Angular prod build,
then `setsid nohup bin/server.sh`. | Replaced by `bin/local-dev.sh` for dev, by
k8s / per-service Dockerfiles for prod. No caller. |
| `bin/build.sh` | Wrapper that called `build-services.sh` + `frontend.sh`.
| No caller. `sbt dist` and `yarn build` are what we actually run. |
| `bin/frontend-dev.sh` | One-line `(cd frontend && ng serve)`. | No caller;
`bin/local-dev.sh` starts ng serve directly. |
Delete the four. The Tier-2 follow-up (per-service `*.sh` wrappers like
`server.sh` / `config-service.sh` / etc that these scripts called into) is a
separate cleanup.
### Task Type
- [x] Refactor / Cleanup
- [x] DevOps / Deployment / CI
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]