bug 1491371 - try: none draft
authorRob Lemley <rob@thunderbird.net>
Thu, 14 Feb 2019 17:33:41 -0500
changeset 71058 5931a9111607a069401830ca091fcff48969ab52
parent 71053 f37fea8e26c4039b01ae9155f228e7f73251e307
push id7795
push userthunderbird@calypsoblue.org
push dateThu, 14 Feb 2019 22:33:46 +0000
treeherdertry-comm-central@5931a9111607 [default view] [failures only]
bugs1491371
bug 1491371 - try: none
.gecko_ref.yml
.gecko_rev.yml
.taskcluster.yml
rename from .gecko_ref.yml
rename to .gecko_rev.yml
--- a/.gecko_ref.yml
+++ b/.gecko_rev.yml
@@ -1,9 +1,14 @@
 ---
 GECKO_BASE_REPOSITORY: https://hg.mozilla.org/mozilla-unified
 GECKO_HEAD_REPOSITORY: https://hg.mozilla.org/mozilla-central
-GECKO_HEAD_REF: default
+GECKO_HEAD_REV: default
 
 ### For branches
 # GECKO_BASE_REPOSITORY: https://hg.mozilla.org/mozilla-unified
 # GECKO_HEAD_REPOSITORY: https://hg.mozilla.org/releases/mozilla-beta
-# GECKO_HEAD_REF: 8574d2808aaa
+# GECKO_HEAD_REV: 8574d2808aaa
+#
+# Note about GECKO_HEAD_REV vs GECKO_HEAD_REF:
+# GECKO_HEAD_REF is deprecated. Please use GECKO_HEAD_REV only.
+# "default" is a special case and is considered a valid revision for
+# our purposes.
--- a/.taskcluster.yml
+++ b/.taskcluster.yml
@@ -142,17 +142,16 @@ tasks:
 
       payload:
         env:
           # checkout-gecko uses these to check out the source; the inputs
           # to `mach taskgraph decision` are all on the command line.
           $merge:
             - COMM_BASE_REPOSITORY: 'https://hg.mozilla.org/comm-central'
               COMM_HEAD_REPOSITORY: '${repoUrl}'
-              COMM_HEAD_REF: '${push.revision}'
               COMM_HEAD_REV: '${push.revision}'
               HG_STORE_PATH: /builds/worker/checkouts/hg-store
               TASKCLUSTER_CACHES: /builds/worker/checkouts
               # someday, these will be provided by the worker - Bug 1492664
               TASKCLUSTER_ROOT_URL: https://taskcluster.net
               TASKCLUSTER_PROXY_URL: http://taskcluster
             - $if: 'tasks_for == "action"'
               then:
@@ -204,21 +203,19 @@ tasks:
                 --root=comm/taskcluster/ci
                 --pushlog-id='${push.pushlog_id}'
                 --pushdate='${push.pushdate}'
                 --project='${repository.project}'
                 --owner='${ownerEmail}'
                 --level='${repository.level}'
                 --base-repository="$GECKO_BASE_REPOSITORY"
                 --head-repository="$GECKO_HEAD_REPOSITORY"
-                --head-ref="$GECKO_HEAD_REF"
                 --head-rev="$GECKO_HEAD_REV"
                 --comm-base-repository="$COMM_BASE_REPOSITORY"
                 --comm-head-repository="$COMM_HEAD_REPOSITORY"
-                --comm-head-ref="$COMM_HEAD_REF"
                 --comm-head-rev="$COMM_HEAD_REV"
                 --try-task-config-file=comm/try_task_config.json
                 ${extraArgs}
 
         artifacts:
           'public':
             type: 'directory'
             path: '/builds/worker/artifacts'