github.com/opendevstack/tailor@v1.3.5-0.20220119161809-cab064e60a67/internal/test/e2e/testdata/buildconfig/steps.json (about)

     1  [
     2      {
     3          "command": "apply bc",
     4          "wantStdout": true,
     5          "wantResources": {
     6              "bc/foo": true
     7          },
     8          "wantFields": {
     9              "bc/foo": {
    10                  ".spec.source.git.ref": "master"
    11              }
    12          }
    13      },
    14      {
    15          "command": "apply bc",
    16          "wantStdout": true,
    17          "wantResources": {
    18              "bc/foo": true
    19          },
    20          "wantFields": {
    21              "bc/foo": {
    22                  ".spec.source.git.ref": "master",
    23                  ".spec.source.contextDir": "baz"
    24              }
    25          }
    26      },
    27      {
    28          "command": "apply bc",
    29          "wantStdout": true,
    30          "wantErr": true,
    31          "wantResources": {
    32              "bc/foo": true
    33          }
    34      },
    35      {
    36          "command": "apply bc --force",
    37          "wantStdout": true,
    38          "wantResources": {
    39              "bc/foo": false
    40          }
    41      }
    42  ]