Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions python/mozversioncontrol/mozversioncontrol/repo/git.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@ def push_to_try(
raise MissingVCSExtension("cinnabar")

with self.try_commit(message, changed_files) as head:
try_repo = "mozillaenterprise-github-lissyx" # "hg::ssh://hg.mozilla.org/try"
try_ref = "enterprise-try" # "refs/heads/branches/default/tip"
cmd = (
str(self._tool),
"-c",
Expand All @@ -337,8 +339,8 @@ def push_to_try(
# is, and figures on its own, but that request takes a long time on try.
"cinnabar.data=never",
"push",
"hg::ssh://hg.mozilla.org/try",
f"+{head}:refs/heads/branches/default/tip",
try_repo,
f"+{head}:{try_ref}",
)
if allow_log_capture:
self._push_to_try_with_log_capture(
Expand Down
2 changes: 1 addition & 1 deletion taskcluster/gecko_taskgraph/transforms/partner_repack.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def populate_repack_manifests_url(config, tasks):
**{"release-level": release_level(config.params["project"])},
)

if task["worker"]["env"]["REPACK_MANIFESTS_URL"].startswith("git@"):
if task["worker"]["env"]["REPACK_MANIFESTS_URL"] and task["worker"]["env"]["REPACK_MANIFESTS_URL"].startswith("git@"):
if "enterprise" in task["name"]:
task.setdefault("scopes", []).append(
"secrets:get:project/enterprise/level-{level}/partner-github-ssh".format(
Expand Down
Loading