ReleaseEngineering: Difference between revisions

Jump to navigation Jump to search
Line 314: Line 314:
+    """
+    """
+    find_replace_dict = {
+    find_replace_dict = {
+        "releng-hardware/gecko-t-linux64-talos":      "releng-hardware/gecko-t-linux64-talos-b",
+        "releng-hardware/gecko-t-osx-1010":      "releng-hardware/gecko-t-osx-1010-beta",
+    }
+    }
+    # This will replace releng-hardware/gecko-t-osx-1010 worker-type with releng-hardware/gecko-t-osx-1010-beta
+    # Replace releng-hardware/gecko-t-osx-1010 worker-type with releng-hardware/gecko-t-osx-1010-beta
+    # for Linux, you will need to use releng-hardware/geck-t-linux-talos with releng-hardware/geck-t-linux-talos-b
+    # for Linux, replace releng-hardware/gecko-t-linux-talos with releng-hardware/gecko-t-linux-talos-b
+    for task in tasks:
+    for task in tasks:
+        if task['worker-type'] in find_replace_dict:
+        if task['worker-type'] in find_replace_dict:
32

edits

Navigation menu