github.com/wmuizelaar/kpt@v0.0.0-20221018115725-bd564717b2ed/e2e/testdata/live-apply/json-output/config.yaml (about) 1 # Copyright 2021 Google LLC 2 # 3 # Licensed under the Apache License, Version 2.0 (the "License"); 4 # you may not use this file except in compliance with the License. 5 # You may obtain a copy of the License at 6 # 7 # http://www.apache.org/licenses/LICENSE-2.0 8 # 9 # Unless required by applicable law or agreed to in writing, software 10 # distributed under the License is distributed on an "AS IS" BASIS, 11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 # See the License for the specific language governing permissions and 13 # limitations under the License. 14 15 parallel: true 16 kptArgs: 17 - "live" 18 - "apply" 19 - "--output=json" 20 - "--reconcile-timeout=2m" 21 stdOut: | 22 {"action":"Inventory","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 23 {"action":"Inventory","status":"Finished","timestamp":"<TIMESTAMP>","type":"group"} 24 {"action":"Apply","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 25 {"group":"","kind":"ConfigMap","name":"cm","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"apply"} 26 {"action":"Apply","count":1,"failed":0,"skipped":0,"status":"Finished","successful":1,"timestamp":"<TIMESTAMP>","type":"group"} 27 {"action":"Wait","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 28 {"group":"","kind":"ConfigMap","name":"cm","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"wait"} 29 {"action":"Wait","count":1,"failed":0,"skipped":0,"status":"Finished","successful":1,"timeout":0,"timestamp":"<TIMESTAMP>","type":"group"} 30 {"action":"Apply","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 31 {"group":"apps","kind":"Deployment","name":"nginx","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"apply"} 32 {"action":"Apply","count":2,"failed":0,"skipped":0,"status":"Finished","successful":2,"timestamp":"<TIMESTAMP>","type":"group"} 33 {"action":"Wait","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 34 {"group":"apps","kind":"Deployment","name":"nginx","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"wait"} 35 {"action":"Wait","count":2,"failed":0,"skipped":0,"status":"Finished","successful":2,"timeout":0,"timestamp":"<TIMESTAMP>","type":"group"} 36 {"action":"Prune","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 37 {"group":"apps","kind":"Deployment","name":"second-nginx","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"prune"} 38 {"action":"Prune","count":1,"failed":0,"skipped":0,"status":"Finished","successful":1,"timestamp":"<TIMESTAMP>","type":"group"} 39 {"action":"Wait","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 40 {"group":"apps","kind":"Deployment","name":"second-nginx","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"wait"} 41 {"action":"Wait","count":3,"failed":0,"skipped":0,"status":"Finished","successful":3,"timeout":0,"timestamp":"<TIMESTAMP>","type":"group"} 42 {"action":"Prune","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 43 {"group":"apps","kind":"Deployment","name":"first-nginx","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"prune"} 44 {"action":"Prune","count":2,"failed":0,"skipped":0,"status":"Finished","successful":2,"timestamp":"<TIMESTAMP>","type":"group"} 45 {"action":"Wait","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 46 {"group":"apps","kind":"Deployment","name":"first-nginx","namespace":"json-output","status":"Successful","timestamp":"<TIMESTAMP>","type":"wait"} 47 {"action":"Wait","count":4,"failed":0,"skipped":0,"status":"Finished","successful":4,"timeout":0,"timestamp":"<TIMESTAMP>","type":"group"} 48 {"action":"Inventory","status":"Started","timestamp":"<TIMESTAMP>","type":"group"} 49 {"action":"Inventory","status":"Finished","timestamp":"<TIMESTAMP>","type":"group"} 50 {"action":"Apply","count":2,"failed":0,"skipped":0,"successful":2,"timestamp":"<TIMESTAMP>","type":"summary"} 51 {"action":"Prune","count":2,"failed":0,"skipped":0,"successful":2,"timestamp":"<TIMESTAMP>","type":"summary"} 52 {"action":"Wait","count":4,"failed":0,"skipped":0,"successful":4,"timeout":0,"timestamp":"<TIMESTAMP>","type":"summary"} 53 54 optionalStdOut: 55 - '{"group":"","kind":"ConfigMap","name":"cm","namespace":"json-output","status":"Pending","timestamp":"<TIMESTAMP>","type":"wait"}' 56 - '{"group":"apps","kind":"Deployment","name":"nginx","namespace":"json-output","status":"Pending","timestamp":"<TIMESTAMP>","type":"wait"}' 57 - '{"group":"apps","kind":"Deployment","name":"second-nginx","namespace":"json-output","status":"Pending","timestamp":"<TIMESTAMP>","type":"wait"}' 58 - '{"group":"apps","kind":"Deployment","name":"first-nginx","namespace":"json-output","status":"Pending","timestamp":"<TIMESTAMP>","type":"wait"}' 59 60 inventory: 61 - kind: ConfigMap 62 name: cm 63 namespace: json-output 64 - group: apps 65 kind: Deployment 66 name: nginx 67 namespace: json-output