feat: add tqdev deployment target - #315
Merged
Merged
Conversation
Add a deploy-tq-dev Make target that stops services, builds the development binaries, installs tqdev into a configurable directory, and restarts services.\n\nDocument the default destination and ARGS override in the English and Japanese Makefile references.\n\nVerified with make dry runs, make help, and git diff --check.
Invoke the tqdev binary from the selected deployment directory so ARGS destinations outside PATH restart services with the newly built executable.\n\nVerified default and overridden destinations with make dry runs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tqdev のローカルデプロイコマンドを追加
Summary
開発版の
tqdevをビルドしてローカルへ配置し、サービスを再起動する一連の操作をmake deploy-tq-devで実行できるようにします。主な変更点:
tqdev service stop、build-tq-dev、成果物配置、サービス再起動を順番に実行する Make target を追加$HOME/.local/binとし、ARGSで配置先ディレクトリを上書き可能に変更やったこと
deploy-tq-devtarget と.PHONY宣言を追加tqdevを移動tqdev自身でservice startを実行make helpの General セクションへ deploy target を表示ARGS指定例を追加動作確認
make -n deploy-tq-devmake -n deploy-tq-dev ARGS=/tmp/tasq-binmake helpgit diff --checkmake deploy-tq-devの本実行レビュー & 動作確認 チェックリスト
ARGS指定時に指定先の新しいtqdevでサービスが起動すること推奨テスト計画:
make -n deploy-tq-devで既定配置先へのコマンド列を確認するmake -n deploy-tq-dev ARGS=/tmp/tasq-binで配置先上書き時のコマンド列を確認するmake deploy-tq-devを実行し、再起動後のバージョンを確認するその他気になることや相談ごと
実サービスを停止・再起動する本実行は未実施です。