ランチャーのブートストラップ/実行は繰り返せるか?

質問です:

Discourse_Docker のリビジョン A をチェックアウトしているとして、時刻 T1 に launcher bootstrap web_only を実行し、続けて launcher run web_only を実行します。その後、時刻 T2 に全く同じコマンドを実行した場合、T1 と T2 で実行されているソフトウェアは完全に同一になりますか?

つまり、discourse_docker のコミット ID と YAML ファイル内の状態のみが、ビルドされた実行アーティファクトの完全な状態を構成しているのでしょうか?

ビルド時や起動時に Git リモートから Discourse がプルされているように見えるため、おそらくそうではないと疑っていますが、コミュニティの皆さんに確認させてください。

よろしくお願いいたします。

「いいね!」 1

It depends on what branch you are pulling. If it’s tests-passed, then you are likely to get a different version at every rebuild /bootstrap. You could or either a beta version or a commit id there to see that things stay the same.

If you want paid support to get your larger problem solved and have a budget, my contact info is in my profile.

「いいね!」 2

thanks @pfaffman . Quick clarification. By branch do you mean the branch of discourse_docker or is there another setting that can lock the main discourse to a certain branch? Just to be clear, in my example, I am not deliberately pulling new code for either discourse_docker or discourse . I’m getting the feeling that discourse_docker does either one, or both behind the scenes. Ideally I would want to disable this behaviour so I can get a repeatable build. Is this possible?

Launcher will pull the version of Discourse specified by the params: version: key in web_only.yml. As described in that file, the default is tests-passed.

In addition, plugins will normally update unless you pin a version in their git clone.

「いいね!」 5

Ok thanks @schleifer . I’ll take a look at that setting.

「いいね!」 1