Skip to content
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

[CI]本番サーバに持って行くための Self-Hosted Runner の設定をする #31

Open
Tracked by #108
h-takeyeah opened this issue Mar 27, 2024 · 3 comments
Assignees
Labels

Comments

@h-takeyeah
Copy link
Collaborator

本番サーバ(今日3/27時点では本番も開発も分かれてませんけど……笑)へ持って行くために Self-Hosted Runner を使うのでその設定をする、試す、手順をドキュメントとして残す。

なお、「使うので」と確定事項みたいに書いたけど、やってみてダメなら別の手段も考えるかーという段階です。

@h-takeyeah
Copy link
Collaborator Author

補足

GitHub Actions を好きなサーバで実行できる仕組みが Self-Hosted Runner です https://docs.github.com/ja/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners

今回のサーバがインターネット上に公開されていないという状況に近い例として Self-Hosted Github ActionsとAnsibleで研究室のサーバーへのユーザー追加を自動化する などが参考になりました。

@h-takeyeah h-takeyeah self-assigned this Mar 27, 2024
@h-takeyeah
Copy link
Collaborator Author

sudo 使えるユーザで実行するの怖かったので github というユーザを作ってそのユーザとして走らせることにした

@KinjiKawaguchi KinjiKawaguchi changed the title 本番サーバに持って行くための Self-Hosted Runner の設定をする [CI]本番サーバに持って行くための Self-Hosted Runner の設定をする Apr 1, 2024
@KinjiKawaguchi KinjiKawaguchi mentioned this issue Apr 6, 2024
16 tasks
@KinjiKawaguchi KinjiKawaguchi mentioned this issue Apr 18, 2024
13 tasks
@h-takeyeah
Copy link
Collaborator Author

現時点では CI を回すと dev タグのついた Docker イメージ(リリースタグじゃない!!直したい!!)が本番環境に pull されて up します

@KinjiKawaguchi KinjiKawaguchi added this to the v0.1.0 milestone Aug 7, 2024
@KinjiKawaguchi KinjiKawaguchi removed this from the v0.1.0 milestone Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants