github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/porch/rpkg-lifecycle/config.yaml (about)

     1  commands:
     2    - args:
     3        - alpha
     4        - repo
     5        - register
     6        - --namespace=rpkg-lifecycle
     7        - --name=git
     8        - http://git-server.test-git-namespace.svc.cluster.local:8080/rpkg-lifecycle
     9    - args:
    10        - alpha
    11        - rpkg
    12        - init
    13        - --namespace=rpkg-lifecycle
    14        - --repository=git
    15        - --revision=v1
    16        - lifecycle-package
    17      stdout: "git-635026ba389a2dd5417b6e7577430c7ccff30f36 created\n"
    18    - args:
    19        - alpha
    20        - rpkg
    21        - propose
    22        - --namespace=rpkg-lifecycle
    23        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    24      stderr: |
    25        git-635026ba389a2dd5417b6e7577430c7ccff30f36 proposed
    26    - args:
    27        - alpha
    28        - rpkg
    29        - get
    30        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    31        - --namespace=rpkg-lifecycle
    32        - --output=custom-columns=NAME:.metadata.name,PKG:.spec.packageName,REV:.spec.revision,LIFECYCLE:.spec.lifecycle
    33      stdout: |
    34        NAME                                           PKG                 REV   LIFECYCLE
    35        git-635026ba389a2dd5417b6e7577430c7ccff30f36   lifecycle-package   v1    Proposed
    36    - args:
    37        - alpha
    38        - rpkg
    39        - reject
    40        - --namespace=rpkg-lifecycle
    41        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    42      stderr: |
    43        git-635026ba389a2dd5417b6e7577430c7ccff30f36 rejected
    44    - args:
    45        - alpha
    46        - rpkg
    47        - get
    48        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    49        - --namespace=rpkg-lifecycle
    50      stdout: |
    51        NAME                                           PACKAGE             REVISION   LATEST   LIFECYCLE   REPOSITORY
    52        git-635026ba389a2dd5417b6e7577430c7ccff30f36   lifecycle-package   v1         false    Draft       git
    53    - args:
    54        - alpha
    55        - rpkg
    56        - propose
    57        - --namespace=rpkg-lifecycle
    58        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    59      stderr: |
    60        git-635026ba389a2dd5417b6e7577430c7ccff30f36 proposed
    61    - args:
    62        - alpha
    63        - rpkg
    64        - get
    65        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    66        - --namespace=rpkg-lifecycle
    67      stdout: |
    68        NAME                                           PACKAGE             REVISION   LATEST   LIFECYCLE   REPOSITORY
    69        git-635026ba389a2dd5417b6e7577430c7ccff30f36   lifecycle-package   v1         false    Proposed    git
    70    - args:
    71        - alpha
    72        - rpkg
    73        - approve
    74        - --namespace=rpkg-lifecycle
    75        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    76      stderr: |
    77        git-635026ba389a2dd5417b6e7577430c7ccff30f36 approved
    78    - args:
    79        - alpha
    80        - rpkg
    81        - get
    82        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    83        - --namespace=rpkg-lifecycle
    84      stdout: |
    85        NAME                                           PACKAGE             REVISION   LATEST   LIFECYCLE   REPOSITORY
    86        git-635026ba389a2dd5417b6e7577430c7ccff30f36   lifecycle-package   v1         true     Published   git
    87    - args:
    88        - alpha
    89        - rpkg
    90        - delete
    91        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
    92        - --namespace=rpkg-lifecycle
    93      stderr: |
    94        git-635026ba389a2dd5417b6e7577430c7ccff30f36 deleted
    95    - args:
    96        - alpha
    97        - rpkg
    98        - get
    99        - git-635026ba389a2dd5417b6e7577430c7ccff30f36
   100        - --namespace=rpkg-lifecycle
   101      stderr: "Error: the server could not find the requested resource (get packagerevisions.porch.kpt.dev git-635026ba389a2dd5417b6e7577430c7ccff30f36) \n"
   102      exitCode: 1