Home | History | Annotate | Download | only in upload_dm_results.expected
      1 [
      2   {
      3     "cmd": [
      4       "python",
      5       "-u",
      6       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
      7       "--json-output",
      8       "/path/to/tmp/json",
      9       "ensure-directory",
     10       "--mode",
     11       "0777",
     12       "[START_DIR]/tmp_upload"
     13     ],
     14     "infra_step": true,
     15     "name": "makedirs tmp dir"
     16   },
     17   {
     18     "cmd": [
     19       "python",
     20       "-u",
     21       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     22       "--json-output",
     23       "/path/to/tmp/json",
     24       "copy",
     25       "[START_DIR]/dm/dm.json",
     26       "[START_DIR]/tmp_upload"
     27     ],
     28     "infra_step": true,
     29     "name": "copy dm.json"
     30   },
     31   {
     32     "cmd": [
     33       "python",
     34       "-u",
     35       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     36       "--json-output",
     37       "/path/to/tmp/json",
     38       "copy",
     39       "[START_DIR]/dm/verbose.log",
     40       "[START_DIR]/tmp_upload"
     41     ],
     42     "infra_step": true,
     43     "name": "copy verbose.log"
     44   },
     45   {
     46     "cmd": [
     47       "python",
     48       "-u",
     49       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     50       "--json-output",
     51       "/path/to/tmp/json",
     52       "remove",
     53       "[START_DIR]/dm/dm.json"
     54     ],
     55     "infra_step": true,
     56     "name": "rm old dm.json"
     57   },
     58   {
     59     "cmd": [
     60       "python",
     61       "-u",
     62       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     63       "--json-output",
     64       "/path/to/tmp/json",
     65       "remove",
     66       "[START_DIR]/dm/verbose.log"
     67     ],
     68     "infra_step": true,
     69     "name": "rm old verbose.log"
     70   },
     71   {
     72     "cmd": [
     73       "python",
     74       "-u",
     75       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
     76       "--json-output",
     77       "/path/to/tmp/json",
     78       "glob",
     79       "[START_DIR]/dm",
     80       "*.png"
     81     ],
     82     "infra_step": true,
     83     "name": "find images",
     84     "stdout": "/path/to/tmp/",
     85     "~followup_annotations": [
     86       "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
     87       "@@@STEP_LOG_END@glob@@@"
     88     ]
     89   },
     90   {
     91     "cmd": [
     92       "gsutil",
     93       "-m",
     94       "cp",
     95       "[START_DIR]/dm/*.png",
     96       "gs://skia-infra-gm/dm-images-v1"
     97     ],
     98     "name": "upload images"
     99   },
    100   {
    101     "cmd": [
    102       "python",
    103       "-u",
    104       "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
    105       "--json-output",
    106       "/path/to/tmp/json",
    107       "glob",
    108       "[START_DIR]/dm",
    109       "*.pdf"
    110     ],
    111     "infra_step": true,
    112     "name": "find images (2)",
    113     "stdout": "/path/to/tmp/",
    114     "~followup_annotations": [
    115       "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
    116       "@@@STEP_LOG_END@glob@@@"
    117     ]
    118   },
    119   {
    120     "cmd": [
    121       "gsutil",
    122       "cp",
    123       "-z",
    124       "json,log",
    125       "[START_DIR]/tmp_upload/*",
    126       "gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001"
    127     ],
    128     "name": "upload JSON and logs"
    129   },
    130   {
    131     "name": "$result",
    132     "recipe_result": null,
    133     "status_code": 0
    134   }
    135 ]