github.com/SamarSidharth/kpt@v0.0.0-20231122062228-c7d747ae3ace/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 - --workspace=update-1 19 - basens-edit 20 stdout: "git-3f036055f7ba68706372cbe0c4b14d553794f7c4 created\n" 21 - args: 22 - alpha 23 - rpkg 24 - clone 25 - --namespace=rpkg-update 26 - git-3f036055f7ba68706372cbe0c4b14d553794f7c4 27 - --directory=basens 28 - --ref=basens/v1 29 - --repository=git 30 - --workspace=update-2 31 - basens-edit-clone 32 stdout: "git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 created\n" 33 - args: 34 - alpha 35 - rpkg 36 - copy 37 - --namespace=rpkg-update 38 - --workspace=update-3 39 - --replay-strategy=true 40 - git-3f036055f7ba68706372cbe0c4b14d553794f7c4 41 stdout: "git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 created\n" 42 - args: 43 - alpha 44 - rpkg 45 - propose 46 - --namespace=rpkg-update 47 - git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 48 stderr: "git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 proposed\n" 49 - args: 50 - alpha 51 - rpkg 52 - approve 53 - --namespace=rpkg-update 54 - git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 55 stderr: "git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 approved\n" 56 - args: 57 - alpha 58 - rpkg 59 - get 60 - --namespace=rpkg-update 61 stdout: | 62 NAME PACKAGE WORKSPACENAME REVISION LATEST LIFECYCLE REPOSITORY 63 git-3f036055f7ba68706372cbe0c4b14d553794f7c4 basens-edit update-1 false Draft git 64 git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 basens-edit update-3 v1 true Published git 65 git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 basens-edit-clone update-2 false Draft git 66 - args: 67 - alpha 68 - rpkg 69 - update 70 - --namespace=rpkg-update 71 - --discover=upstream 72 - git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 73 stdout: | 74 PACKAGE REVISION UPSTREAM REPOSITORY UPSTREAM UPDATES 75 git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 git v1 76 - args: 77 - alpha 78 - rpkg 79 - update 80 - --namespace=rpkg-update 81 - --discover=upstream 82 stdout: | 83 PACKAGE REVISION UPSTREAM REPOSITORY UPSTREAM UPDATES 84 git-3f036055f7ba68706372cbe0c4b14d553794f7c4 No update available 85 git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 No update available 86 git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 git v1 87 - args: 88 - alpha 89 - rpkg 90 - update 91 - --namespace=rpkg-update 92 - --discover=downstream 93 stdout: | 94 PACKAGE REVISION DOWNSTREAM PACKAGE DOWNSTREAM UPDATE 95 git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 (draft "update-1")->v1 96 - args: 97 - alpha 98 - rpkg 99 - update 100 - --namespace=rpkg-update 101 - --revision=v1 102 - git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 103 stdout: "git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 updated\n" 104 - args: 105 - alpha 106 - rpkg 107 - update 108 - --namespace=rpkg-update 109 - --discover=upstream 110 stdout: | 111 PACKAGE REVISION UPSTREAM REPOSITORY UPSTREAM UPDATES 112 git-3f036055f7ba68706372cbe0c4b14d553794f7c4 No update available 113 git-7fcdd499f0790ac3bd8f805e3e5e00825641eb60 No update available 114 git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 git No update available 115 - args: 116 - alpha 117 - rpkg 118 - pull 119 - --namespace=rpkg-update 120 - git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 121 - /tmp/porch-e2e/pkg-update-git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 122 - args: 123 - fn 124 - eval 125 - --image 126 - gcr.io/kpt-fn/search-replace:v0.2.0 127 - --match-kind 128 - Kptfile 129 - /tmp/porch-e2e/pkg-update-git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 130 - -- 131 - by-path=upstreamLock.git.ref 132 - put-value=invalid 133 stderr: "[RUNNING] \"gcr.io/kpt-fn/search-replace:v0.2.0\" on 1 resource(s)\n Results:\n [info] upstreamLock.git.ref: Mutated field value to \"invalid\"\n" 134 - args: 135 - alpha 136 - rpkg 137 - push 138 - --namespace=rpkg-update 139 - git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 140 - /tmp/porch-e2e/pkg-update-git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0 141 - args: 142 - alpha 143 - rpkg 144 - update 145 - --namespace=rpkg-update 146 - --discover=upstream 147 stderr: "Error: could not parse upstreamLock in Kptfile of package \"git-7ab0219ace10c1081a8b40a6b97d5da58bdb62e0\": malformed upstreamLock.Git.Ref \"invalid\" \n" 148 exitCode: 1