git-off

git off handles large files in git repos
git clone https://noulin.net/git/git-off.git
Log | Files | Refs | README

opsworks-2013-02-18.waiters2.json (7735B)


      1 {
      2   "version": 2,
      3   "waiters": {
      4     "AppExists": {
      5       "delay": 1,
      6       "operation": "DescribeApps",
      7       "maxAttempts": 40,
      8       "acceptors": [
      9         {
     10           "expected": 200,
     11           "matcher": "status",
     12           "state": "success"
     13         },
     14         {
     15           "matcher": "status",
     16           "expected": 400,
     17           "state": "failure"
     18         }
     19       ]
     20     },
     21     "DeploymentSuccessful": {
     22       "delay": 15,
     23       "operation": "DescribeDeployments",
     24       "maxAttempts": 40,
     25       "description": "Wait until a deployment has completed successfully",
     26       "acceptors": [
     27         {
     28           "expected": "successful",
     29           "matcher": "pathAll",
     30           "state": "success",
     31           "argument": "Deployments[].Status"
     32         },
     33         {
     34           "expected": "failed",
     35           "matcher": "pathAny",
     36           "state": "failure",
     37           "argument": "Deployments[].Status"
     38         }
     39       ]
     40     },
     41     "InstanceOnline": {
     42       "delay": 15,
     43       "operation": "DescribeInstances",
     44       "maxAttempts": 40,
     45       "description": "Wait until OpsWorks instance is online.",
     46       "acceptors": [
     47         {
     48           "expected": "online",
     49           "matcher": "pathAll",
     50           "state": "success",
     51           "argument": "Instances[].Status"
     52         },
     53         {
     54           "expected": "setup_failed",
     55           "matcher": "pathAny",
     56           "state": "failure",
     57           "argument": "Instances[].Status"
     58         },
     59         {
     60           "expected": "shutting_down",
     61           "matcher": "pathAny",
     62           "state": "failure",
     63           "argument": "Instances[].Status"
     64         },
     65         {
     66           "expected": "start_failed",
     67           "matcher": "pathAny",
     68           "state": "failure",
     69           "argument": "Instances[].Status"
     70         },
     71         {
     72           "expected": "stopped",
     73           "matcher": "pathAny",
     74           "state": "failure",
     75           "argument": "Instances[].Status"
     76         },
     77         {
     78           "expected": "stopping",
     79           "matcher": "pathAny",
     80           "state": "failure",
     81           "argument": "Instances[].Status"
     82         },
     83         {
     84           "expected": "terminating",
     85           "matcher": "pathAny",
     86           "state": "failure",
     87           "argument": "Instances[].Status"
     88         },
     89         {
     90           "expected": "terminated",
     91           "matcher": "pathAny",
     92           "state": "failure",
     93           "argument": "Instances[].Status"
     94         },
     95         {
     96           "expected": "stop_failed",
     97           "matcher": "pathAny",
     98           "state": "failure",
     99           "argument": "Instances[].Status"
    100         }
    101       ]
    102     },
    103     "InstanceRegistered": {
    104       "delay": 15,
    105       "operation": "DescribeInstances",
    106       "maxAttempts": 40,
    107       "description": "Wait until OpsWorks instance is registered.",
    108       "acceptors": [
    109         {
    110           "expected": "registered",
    111           "matcher": "pathAll",
    112           "state": "success",
    113           "argument": "Instances[].Status"
    114         },
    115         {
    116           "expected": "setup_failed",
    117           "matcher": "pathAny",
    118           "state": "failure",
    119           "argument": "Instances[].Status"
    120         },
    121         {
    122           "expected": "shutting_down",
    123           "matcher": "pathAny",
    124           "state": "failure",
    125           "argument": "Instances[].Status"
    126         },
    127         {
    128           "expected": "stopped",
    129           "matcher": "pathAny",
    130           "state": "failure",
    131           "argument": "Instances[].Status"
    132         },
    133         {
    134           "expected": "stopping",
    135           "matcher": "pathAny",
    136           "state": "failure",
    137           "argument": "Instances[].Status"
    138         },
    139         {
    140           "expected": "terminating",
    141           "matcher": "pathAny",
    142           "state": "failure",
    143           "argument": "Instances[].Status"
    144         },
    145         {
    146           "expected": "terminated",
    147           "matcher": "pathAny",
    148           "state": "failure",
    149           "argument": "Instances[].Status"
    150         },
    151         {
    152           "expected": "stop_failed",
    153           "matcher": "pathAny",
    154           "state": "failure",
    155           "argument": "Instances[].Status"
    156         }
    157       ]
    158     },
    159     "InstanceStopped": {
    160       "delay": 15,
    161       "operation": "DescribeInstances",
    162       "maxAttempts": 40,
    163       "description": "Wait until OpsWorks instance is stopped.",
    164       "acceptors": [
    165         {
    166           "expected": "stopped",
    167           "matcher": "pathAll",
    168           "state": "success",
    169           "argument": "Instances[].Status"
    170         },
    171         {
    172           "expected": "booting",
    173           "matcher": "pathAny",
    174           "state": "failure",
    175           "argument": "Instances[].Status"
    176         },
    177         {
    178           "expected": "online",
    179           "matcher": "pathAny",
    180           "state": "failure",
    181           "argument": "Instances[].Status"
    182         },
    183         {
    184           "expected": "pending",
    185           "matcher": "pathAny",
    186           "state": "failure",
    187           "argument": "Instances[].Status"
    188         },
    189         {
    190           "expected": "rebooting",
    191           "matcher": "pathAny",
    192           "state": "failure",
    193           "argument": "Instances[].Status"
    194         },
    195         {
    196           "expected": "requested",
    197           "matcher": "pathAny",
    198           "state": "failure",
    199           "argument": "Instances[].Status"
    200         },
    201         {
    202           "expected": "running_setup",
    203           "matcher": "pathAny",
    204           "state": "failure",
    205           "argument": "Instances[].Status"
    206         },
    207         {
    208           "expected": "setup_failed",
    209           "matcher": "pathAny",
    210           "state": "failure",
    211           "argument": "Instances[].Status"
    212         },
    213         {
    214           "expected": "start_failed",
    215           "matcher": "pathAny",
    216           "state": "failure",
    217           "argument": "Instances[].Status"
    218         },
    219         {
    220           "expected": "stop_failed",
    221           "matcher": "pathAny",
    222           "state": "failure",
    223           "argument": "Instances[].Status"
    224         }
    225       ]
    226     },
    227     "InstanceTerminated": {
    228       "delay": 15,
    229       "operation": "DescribeInstances",
    230       "maxAttempts": 40,
    231       "description": "Wait until OpsWorks instance is terminated.",
    232       "acceptors": [
    233         {
    234           "expected": "terminated",
    235           "matcher": "pathAll",
    236           "state": "success",
    237           "argument": "Instances[].Status"
    238         },
    239         {
    240           "expected": "ResourceNotFoundException",
    241           "matcher": "error",
    242           "state": "success"
    243         },
    244         {
    245           "expected": "booting",
    246           "matcher": "pathAny",
    247           "state": "failure",
    248           "argument": "Instances[].Status"
    249         },
    250         {
    251           "expected": "online",
    252           "matcher": "pathAny",
    253           "state": "failure",
    254           "argument": "Instances[].Status"
    255         },
    256         {
    257           "expected": "pending",
    258           "matcher": "pathAny",
    259           "state": "failure",
    260           "argument": "Instances[].Status"
    261         },
    262         {
    263           "expected": "rebooting",
    264           "matcher": "pathAny",
    265           "state": "failure",
    266           "argument": "Instances[].Status"
    267         },
    268         {
    269           "expected": "requested",
    270           "matcher": "pathAny",
    271           "state": "failure",
    272           "argument": "Instances[].Status"
    273         },
    274         {
    275           "expected": "running_setup",
    276           "matcher": "pathAny",
    277           "state": "failure",
    278           "argument": "Instances[].Status"
    279         },
    280         {
    281           "expected": "setup_failed",
    282           "matcher": "pathAny",
    283           "state": "failure",
    284           "argument": "Instances[].Status"
    285         },
    286         {
    287           "expected": "start_failed",
    288           "matcher": "pathAny",
    289           "state": "failure",
    290           "argument": "Instances[].Status"
    291         }
    292       ]
    293     }
    294   }
    295 }