Skip to content

Commit f69cb0a

Browse files
committed
Add comments
1 parent 4f6860b commit f69cb0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ci.jsonnet

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,10 @@ local part_definitions = {
158158
local url = ["mx", "urlrewrite", "https://github.com/graalvm/graal-enterprise.git"],
159159
repo = "../graal-enterprise",
160160
suite_file = "graal-enterprise/mx.graal-enterprise/suite.py",
161+
# Find the latest merge commit of a pull request in the graal repo, equal or older than our graal import.
161162
merge_commit_in_graal = ["git", "-C", "../graal", "log", "--pretty=%H", "--grep=PullRequest:", "--merges", "-n1"] + jt(["truffle_version"]),
163+
# Find the commit importing that version of graal in graal-enterprise by looking at the suite file.
164+
# The suite file is automatically updated on every graal PR merged.
162165
graal_enterprise_commit = ["git", "-C", repo, "log", "--pretty=%H", "--grep=PullRequest:", "--reverse", "-m", "-S", merge_commit_in_graal, suite_file, "|", "head", "-1"];
163166
[
164167
["git", "clone", url, repo],

0 commit comments

Comments
 (0)