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] dockerイメージの起動確認するCIがほしい #12827

Open
1 task
samunohito opened this issue Dec 27, 2023 · 7 comments
Open
1 task

[CI] dockerイメージの起動確認するCIがほしい #12827

samunohito opened this issue Dec 27, 2023 · 7 comments
Labels
🛠️Dev Development of Misskey itself

Comments

@samunohito
Copy link
Member

Summary

#12822 を受けて。

must: イメージのビルドと起動確認が出来るところまで
if possible: 立ち上がったイメージとの疎通確認(curlで/metaをたたくとか)

Purpose

公式Dockerイメージへのバグ混入を検出したい

Do you want to implement this feature yourself?

  • Yes, I will implement this by myself and send a pull request
@samunohito samunohito added the 🛠️Dev Development of Misskey itself label Dec 27, 2023
@tai-cha
Copy link
Member

tai-cha commented Dec 27, 2023

MEMO
前にAPI ReportのActions作ったときに感じたけどcurlでの起動確認はきちんとリトライ処理とかも書いてあげて安定性を持たせる必要がある

@shiosyakeyakini-info
Copy link
Contributor

shiosyakeyakini-info commented Dec 27, 2023

dockerでMisskey起動してCI/CDをまわしています(作ってもらった)

わりと安定して動いているみたい

https://github.com/shiosyakeyakini-info/misskey_dart/blob/master/.github/workflows/test_develop.yml
https://github.com/shiosyakeyakini-info/misskey_dart/blob/master/test/testenv/setup.sh

Misskey本体のdevelopブランチに対して日次で動かしているので、dockerが起動しなくなるとこれがコケるので次の日には気付ける

@u1-liquid
Copy link
Sponsor Contributor

okteto..........

@samunohito
Copy link
Member Author

(もしかして、もう仕組みがある…?)

@samunohito
Copy link
Member Author

@u1-liquid
すみません、教えてください。

okteto..........

これは何を示唆するコメントでしょうか…

@u1-liquid
Copy link
Sponsor Contributor

u1-liquid commented Dec 28, 2023

これは何を示唆するコメントでしょうか…

#8335#8799 のことです。 正しく設定されているのであれば /deploy などでdockerイメージからのテストインスタンスが起動するはずです。
(ioのレポジトリでも使おうとしてみたことがありましたが、フォークだからか上手く動いてくれませんでした)

@samunohito
Copy link
Member Author

ありがとうございます…!
検討する際にこれらの内容も精査してみます。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🛠️Dev Development of Misskey itself
Projects
Status: Todo
Development

No branches or pull requests

4 participants