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

     1  commands:
     2    - args:
     3        - alpha
     4        - repo
     5        - register
     6        - --namespace=rpkg-update
     7        - --name=git
     8        - http://git-server.test-git-namespace.svc.cluster.local:8080/rpkg-update
     9    - args:
    10        - alpha
    11        - rpkg
    12        - clone
    13        - --namespace=rpkg-update
    14        - https://github.com/platkrm/test-blueprints.git
    15        - --directory=basens
    16        - --ref=basens/v1
    17        - --repository=git
    18        - --revision=v0
    19        - basens-edit
    20      stdout: "git-f1fbc2b72ee70b2f34e64c2630031d0560e6cf48 created\n"
    21    - args:
    22        - alpha
    23        - rpkg
    24        - clone
    25        - --namespace=rpkg-update
    26        - git-f1fbc2b72ee70b2f34e64c2630031d0560e6cf48
    27        - --directory=basens
    28        - --ref=basens/v1
    29        - --repository=git
    30        - --revision=v0
    31        - basens-edit-clone
    32      stdout: "git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0 created\n"
    33    - args:
    34        - alpha
    35        - rpkg
    36        - copy
    37        - --namespace=rpkg-update
    38        - --revision=v2
    39        - git-f1fbc2b72ee70b2f34e64c2630031d0560e6cf48
    40      stdout: "git-894137a40c0792e88a9b844491a95a466b085ca1 created\n"
    41    - args:
    42        - alpha
    43        - rpkg
    44        - propose
    45        - --namespace=rpkg-update
    46        - git-894137a40c0792e88a9b844491a95a466b085ca1
    47      stderr: "git-894137a40c0792e88a9b844491a95a466b085ca1 proposed\n"
    48    - args:
    49        - alpha
    50        - rpkg
    51        - approve
    52        - --namespace=rpkg-update
    53        - git-894137a40c0792e88a9b844491a95a466b085ca1
    54      stderr: "git-894137a40c0792e88a9b844491a95a466b085ca1 approved\n"
    55    - args:
    56        - alpha
    57        - rpkg
    58        - get
    59        - --namespace=rpkg-update
    60      stdout: |
    61        NAME                                           PACKAGE             REVISION   LATEST   LIFECYCLE   REPOSITORY
    62        git-f1fbc2b72ee70b2f34e64c2630031d0560e6cf48   basens-edit         v0         false    Draft       git
    63        git-894137a40c0792e88a9b844491a95a466b085ca1   basens-edit         v2         true     Published   git
    64        git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0   basens-edit-clone   v0         false    Draft       git
    65    - args:
    66        - alpha
    67        - rpkg
    68        - update
    69        - --namespace=rpkg-update
    70        - --discover=upstream
    71        - git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0
    72      stdout: |
    73        PACKAGE REVISION                               UPSTREAM REPOSITORY   UPSTREAM UPDATES
    74        git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0   git                   v2
    75    - args:
    76        - alpha
    77        - rpkg
    78        - update
    79        - --namespace=rpkg-update
    80        - --discover=upstream
    81      stdout: |
    82        PACKAGE REVISION                               UPSTREAM REPOSITORY   UPSTREAM UPDATES
    83        git-f1fbc2b72ee70b2f34e64c2630031d0560e6cf48                         No update available
    84        git-894137a40c0792e88a9b844491a95a466b085ca1                         No update available
    85        git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0   git                   v2
    86    - args:
    87        - alpha
    88        - rpkg
    89        - update
    90        - --namespace=rpkg-update
    91        - --discover=downstream
    92      stdout: |
    93        PACKAGE REVISION                               DOWNSTREAM PACKAGE                             DOWNSTREAM UPDATE
    94        git-894137a40c0792e88a9b844491a95a466b085ca1   git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0   v0->v2
    95    - args:
    96        - alpha
    97        - rpkg
    98        - update
    99        - --namespace=rpkg-update
   100        - --revision=v2
   101        - git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0
   102      stdout: "git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0 updated\n"
   103    - args:
   104        - alpha
   105        - rpkg
   106        - update
   107        - --namespace=rpkg-update
   108        - --discover=upstream
   109      stdout: |
   110        PACKAGE REVISION                               UPSTREAM REPOSITORY   UPSTREAM UPDATES
   111        git-f1fbc2b72ee70b2f34e64c2630031d0560e6cf48                         No update available
   112        git-894137a40c0792e88a9b844491a95a466b085ca1                         No update available
   113        git-542e4d9fd8ca2ee94edf43aadb3ec31dc2fbd3a0   git                   No update available