github.com/drone/runner-go@v1.12.0/handler/template/testdata/stage.json (about)

     1  {
     2      "Repo": {
     3          "Slug": "octocat/hello-world",
     4          "Name": "hello-world"
     5      },
     6      "Build": {
     7          "After": "7fd1a60b01f91b314f59955a4e4d4e80d8edf11d",
     8          "Event": "push",
     9          "Source": "master",
    10          "Target": "master",
    11          "Message": "Merge pull request #6 from Spaceghost/patch-1",
    12          "Author": "octocat",
    13          "AuthorAvatar": "https://avatars0.githubusercontent.com/u/583231?s=460&v=4",
    14          "Number": 42
    15      },
    16      "Stage": {
    17          "Name": "test",
    18          "Status": "running",
    19          "Started": 1563059000,
    20          "Created": 1563059000,
    21          "Steps": [
    22              { "Name": "clone", "Status": "success" },
    23              { "Name": "build", "Status": "running" },
    24              { "Name": "test", "Status": "success" },
    25              { "Name": "deploy", "Status": "success" }
    26          ]
    27      },
    28      "Logs": [
    29          {
    30              "Level": "debug",
    31              "Message": "updated stage to running",
    32              "Data": {
    33                  "build.id": 110,
    34                  "build.number": 110,
    35                  "repo.id": 48,
    36                  "repo.name": "hello-world",
    37                  "repo.namespace": "octocat",
    38                  "stage.id": 110,
    39                  "stage.name": "test",
    40                  "stage.number": 1,
    41                  "thread": 1
    42              },
    43              "Unix": 1563058875
    44          },
    45          {
    46              "Level": "debug",
    47              "Message": "process started",
    48              "Data": {
    49                  "build.id": 110,
    50                  "build.number": 110,
    51                  "repo.id": 48,
    52                  "repo.name": "hello-world",
    53                  "repo.namespace": "octocat",
    54                  "stage.id": 110,
    55                  "stage.name": "test",
    56                  "stage.number": 1,
    57                  "thread": 1
    58              },
    59              "Unix": 1563058875
    60          },
    61          {
    62              "Level": "debug",
    63              "Message": "process finished",
    64              "Data": {
    65                  "build.id": 110,
    66                  "build.number": 110,
    67                  "repo.id": 48,
    68                  "repo.name": "hello-world",
    69                  "repo.namespace": "octocat",
    70                  "stage.id": 110,
    71                  "stage.name": "test",
    72                  "stage.number": 1,
    73                  "thread": 1
    74              },
    75              "Unix": 1563058975
    76          },
    77          {
    78              "Level": "debug",
    79              "Message": "updated stage to complete",
    80              "Data": {
    81                  "build.id": 110,
    82                  "build.number": 110,
    83                  "repo.id": 48,
    84                  "repo.name": "hello-world",
    85                  "repo.namespace": "octocat",
    86                  "stage.id": 110,
    87                  "stage.name": "test",
    88                  "stage.number": 1,
    89                  "thread": 1
    90              },
    91              "Unix": 1563058977
    92          }
    93      ]
    94  }