tasks/pipeline.py
def trigger(
    _, git_ref=DEFAULT_BRANCH, release_version_6="nightly", release_version_7="nightly-a7", repo_branch="nightly"
):
    """
    OBSOLETE: Trigger a deploy pipeline on the given git ref. Use pipeline.run with the --deploy option instead.
    """

    use_release_entries = ""
    major_versions = []

    if release_version_6 != "nightly" and release_version_7 != "nightly-a7":
        use_release_entries = "--use-release-entries "

    if release_version_6 != "":
        major_versions.append("6")

    if release_version_7 != "":
        major_versions.append("7")

    raise Exit(
        f"""The pipeline.trigger task is obsolete. Use:
    pipeline.run --git-ref {git_ref} --deploy --major-versions "{','.join(major_versions)}" --repo-branch {repo_branch} {use_release_entries}
instead.""",
        1,
    )

    OBSOLETE: Trigger a deploy pipeline on the given git ref. Use pipeline.run with the --deploy option instead.
    
Trigger a deploy pipeline on the given git ref. Use pipeline.run with the --deploy option instead.
Trigger a deploy pipeline on the given git ref . Use pipeline . run with the -- deploy option instead .
def trigger(
    _, git_ref=DEFAULT_BRANCH, release_version_6="nightly", release_version_7="nightly-a7", repo_branch="nightly"
):
    use_release_entries = ""
    major_versions = []
    if release_version_6 != "nightly" and release_version_7 != "nightly-a7":
        use_release_entries = "--use-release-entries "
    if release_version_6 != "":
        major_versions.append("6")
    if release_version_7 != "":
        major_versions.append("7")
    raise Exit(
        f"""The pipeline.trigger task is obsolete. Use:
    pipeline.run --git-ref {git_ref} --deploy --major-versions "{','.join(major_versions)}" --repo-branch {repo_branch} {use_release_entries}
instead.""",
        1,
    )
def trigger ( _ , git_ref = DEFAULT_BRANCH , release_version_6 = "nightly" , release_version_7 = "nightly-a7" , repo_branch = "nightly" ) : use_release_entries = "" major_versions = [ ] if release_version_6 != "nightly" and release_version_7 != "nightly-a7" : use_release_entries = "--use-release-entries " if release_version_6 != "" : major_versions . append ( "6" ) if release_version_7 != "" : major_versions . append ( "7" ) raise Exit ( f"""The pipeline.trigger task is obsolete. Use:
    pipeline.run --git-ref {git_ref} --deploy --major-versions "{','.join(major_versions)}" --repo-branch {repo_branch} {use_release_entries}
instead.""" , 1 , )
OBSOLETE: Trigger a deploy pipeline on the given git ref.
OBSOLETE : Trigger a deploy pipeline on the given git ref .
"""
    OBSOLETE: Trigger a deploy pipeline on the given git ref. Use pipeline.run with the --deploy option instead.
    """
_
git_ref
release_version_6
release_version_7
repo_branch