-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: TypeError: Cannot read properties of null (reading '0') #266
Comments
Hi @63isOK, Would you mind re-running your action with debug logs enabled and attach those logs here? I believe that may help us narrow down the issue. Instructions on how to do that can be found here: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging#enabling-step-debug-logging (just set a repository secret called |
Hi @jaiveerk , Thanks for your help. 2022-12-07T05:50:56.2394285Z ##[group]Run Azure/k8s-deploy@v4.7
2022-12-07T05:50:56.2394763Z with:
2022-12-07T05:50:56.2395183Z namespace: hello
2022-12-07T05:50:56.2395629Z manifests: deploy
2022-12-07T05:50:56.2396177Z images: ghcr.io/baozaolaoba/hello-world:v0.0.31
2022-12-07T05:50:56.2396891Z pull-images: true
2022-12-07T05:50:56.2397405Z imagepullsecrets: docker-login
2022-12-07T05:50:56.2397892Z action: deploy
2022-12-07T05:50:56.2398317Z force: true
2022-12-07T05:50:56.2398751Z strategy: basic
2022-12-07T05:50:56.2399197Z route-method: service
2022-12-07T05:50:56.2399677Z version-switch-buffer: 0
2022-12-07T05:50:56.2400187Z traffic-split-method: pod
2022-12-07T05:50:56.2400670Z percentage: 0
2022-12-07T05:50:56.2401648Z token: ***
2022-12-07T05:50:56.2402225Z annotate-namespace: true
2022-12-07T05:50:56.2403299Z private-cluster: false
2022-12-07T05:50:56.2403818Z skip-tls-verify: false
2022-12-07T05:50:56.2404246Z env:
2022-12-07T05:50:56.2404678Z CONTAINER_REGISTRY: ghcr.io
2022-12-07T05:50:56.2405211Z IMAGE_NAME: baozaolaoba/hello-world
2022-12-07T05:50:56.2405692Z NAMESPACE: hello
2022-12-07T05:50:56.2406125Z YAML_DIR: deploy
2022-12-07T05:50:56.2406667Z KUBECONFIG: /home/runner/work/_temp/kubeconfig_1670392253764
2022-12-07T05:50:56.2407203Z ##[endgroup]
2022-12-07T05:50:56.3908509Z ##[debug]Input manifest files: /tmp/Deployment_hello_1670392256388,/tmp/Ingress_hello-ingress_1670392256388,/tmp/Namespace_hello_1670392256388,/tmp/Service_hello_1670392256388
2022-12-07T05:50:56.3910711Z ::group::Deploying manifests
2022-12-07T05:50:56.3911231Z ##[group]Deploying manifests
2022-12-07T05:50:56.3916629Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl apply,-f,/tmp/Deployment_hello_1670392256388,/tmp/Ingress_hello-ingress_1670392256388,/tmp/Namespace_hello_1670392256388,/tmp/Service_hello_1670392256388,--force,--namespace,hello
2022-12-07T05:50:56.3937462Z [command]/usr/local/bin/kubectl apply -f /tmp/Deployment_hello_1670392256388,/tmp/Ingress_hello-ingress_1670392256388,/tmp/Namespace_hello_1670392256388,/tmp/Service_hello_1670392256388 --force --namespace hello
2022-12-07T05:50:59.6806944Z deployment.apps/hello unchanged
2022-12-07T05:50:59.9017340Z ingress.networking.k8s.io/hello-ingress unchanged
2022-12-07T05:51:00.1233851Z namespace/hello unchanged
2022-12-07T05:51:00.3461716Z service/hello unchanged
2022-12-07T05:51:00.3525955Z ##[debug]Deployed manifest files: /tmp/Deployment_hello_1670392256388,/tmp/Ingress_hello-ingress_1670392256388,/tmp/Namespace_hello_1670392256388,/tmp/Service_hello_1670392256388
2022-12-07T05:51:00.3527278Z ::endgroup::
2022-12-07T05:51:00.3527727Z ##[endgroup]
2022-12-07T05:51:00.3530884Z ::group::Checking manifest stability
2022-12-07T05:51:00.3531636Z ##[group]Checking manifest stability
2022-12-07T05:51:00.3553405Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl rollout,status,Deployment/hello,--namespace,hello
2022-12-07T05:51:00.3558433Z [command]/usr/local/bin/kubectl rollout status Deployment/hello --namespace hello
2022-12-07T05:51:01.8176422Z deployment "hello" successfully rolled out
2022-12-07T05:51:02.0458153Z ::endgroup::
2022-12-07T05:51:02.0458917Z ##[endgroup]
2022-12-07T05:51:02.0467612Z ::group::Printing ingresses
2022-12-07T05:51:02.0468518Z ##[group]Printing ingresses
2022-12-07T05:51:02.0478380Z ##[debug]fetching resource of type ingress and name hello-ingress
2022-12-07T05:51:02.0481151Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl get,ingress/hello-ingress,-o,json,--namespace,hello
2022-12-07T05:51:02.0483525Z [command]/usr/local/bin/kubectl get ingress/hello-ingress -o json --namespace hello
2022-12-07T05:51:03.2818827Z {
2022-12-07T05:51:03.2819681Z "apiVersion": "networking.k8s.io/v1",
2022-12-07T05:51:03.2821030Z "kind": "Ingress",
2022-12-07T05:51:03.2821709Z "metadata": {
2022-12-07T05:51:03.2822388Z "annotations": {
2022-12-07T05:51:03.2827583Z "actions.github.com/k8s-deploy": "{\"run\":\"3613558234\",\"repository\":\"baozaolaoba/hello-world\",\"workflow\":\"持续部署\",\"workflowFileName\":\"ContinuousDeployment.yml\",\"jobName\":\"build-and-push-image\",\"createdBy\":\"63isOK\",\"runUri\":\"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234\",\"commit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"lastSuccessRunCommit\":\"da6f35d3d0a93f14a445ac0126e057700f780529\",\"branch\":\"refs/tags/v0.0.31\",\"deployTimestamp\":1670162046317,\"dockerfilePaths\":{\"ghcr.io/baozaolaoba/hello-world:v0.0.31\":\"\"},\"manifestsPaths\":[\"https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy\"],\"helmChartPaths\":[],\"provider\":\"GitHub\"}",
2022-12-07T05:51:03.2833486Z "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"networking.k8s.io/v1\",\"kind\":\"Ingress\",\"metadata\":{\"annotations\":{},\"name\":\"hello-ingress\",\"namespace\":\"hello\"},\"spec\":{\"rules\":[{\"host\":\"baozaolaoba.top\",\"http\":{\"paths\":[{\"backend\":{\"service\":{\"name\":\"hello\",\"port\":{\"number\":80}}},\"path\":\"/hello-app\",\"pathType\":\"Prefix\"}]}}]}}\n"
2022-12-07T05:51:03.2835467Z },
2022-12-07T05:51:03.2836426Z "creationTimestamp": "2022-12-03T07:14:34Z",
2022-12-07T05:51:03.2837226Z "generation": 1,
2022-12-07T05:51:03.2838066Z "name": "hello-ingress",
2022-12-07T05:51:03.2838820Z "namespace": "hello",
2022-12-07T05:51:03.2839604Z "resourceVersion": "2045003",
2022-12-07T05:51:03.2840627Z "uid": "a3e38582-bb4b-486b-b9a9-3a09770f75aa"
2022-12-07T05:51:03.2841359Z },
2022-12-07T05:51:03.2842040Z "spec": {
2022-12-07T05:51:03.2842669Z "rules": [
2022-12-07T05:51:03.2843296Z {
2022-12-07T05:51:03.2844009Z "host": "baozaolaoba.top",
2022-12-07T05:51:03.2844776Z "http": {
2022-12-07T05:51:03.2845470Z "paths": [
2022-12-07T05:51:03.2846145Z {
2022-12-07T05:51:03.2846824Z "backend": {
2022-12-07T05:51:03.2847582Z "service": {
2022-12-07T05:51:03.2848946Z "name": "hello",
2022-12-07T05:51:03.2849742Z "port": {
2022-12-07T05:51:03.2850496Z "number": 80
2022-12-07T05:51:03.2851248Z }
2022-12-07T05:51:03.2852086Z }
2022-12-07T05:51:03.2852764Z },
2022-12-07T05:51:03.2853692Z "path": "/hello-app",
2022-12-07T05:51:03.2854517Z "pathType": "Prefix"
2022-12-07T05:51:03.2855226Z }
2022-12-07T05:51:03.2855873Z ]
2022-12-07T05:51:03.2856524Z }
2022-12-07T05:51:03.2857131Z }
2022-12-07T05:51:03.2857720Z ]
2022-12-07T05:51:03.2858292Z },
2022-12-07T05:51:03.2858902Z "status": {
2022-12-07T05:51:03.2859568Z "loadBalancer": {}
2022-12-07T05:51:03.2860208Z }
2022-12-07T05:51:03.2860753Z }
2022-12-07T05:51:03.2865822Z ::endgroup::
2022-12-07T05:51:03.2866585Z ##[endgroup]
2022-12-07T05:51:03.2867816Z ::group::Annotating resources
2022-12-07T05:51:03.2868584Z ##[group]Annotating resources
2022-12-07T05:51:03.2870687Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl get,pods,-o,json,--namespace,hello
2022-12-07T05:51:04.7543972Z ##[debug]Getting workflows for repo: baozaolaoba/hello-world
2022-12-07T05:51:04.9166896Z [command]/usr/bin/docker pull ghcr.io/baozaolaoba/hello-world:v0.0.31
2022-12-07T05:51:05.6624855Z v0.0.31: Pulling from baozaolaoba/hello-world
2022-12-07T05:51:05.6637935Z Digest: sha256:ab378d9bc05feaac941683d5735090544fe998af333f2d9c1ff572f549865258
2022-12-07T05:51:05.6639913Z Status: Image is up to date for ghcr.io/baozaolaoba/hello-world:v0.0.31
2022-12-07T05:51:05.6661661Z ghcr.io/baozaolaoba/hello-world:v0.0.31
2022-12-07T05:51:05.6695404Z [command]/usr/bin/docker inspect ghcr.io/baozaolaoba/hello-world:v0.0.31
2022-12-07T05:51:05.6978752Z [
2022-12-07T05:51:05.6979369Z {
2022-12-07T05:51:05.6980087Z "Id": "sha256:d2cbd771e38272fc4c7189a2c9594f5840a4a9d455ba9f814e557a1d05147bca",
2022-12-07T05:51:05.6980791Z "RepoTags": [
2022-12-07T05:51:05.6981709Z "ghcr.io/baozaolaoba/hello-world:latest",
2022-12-07T05:51:05.6982941Z "ghcr.io/baozaolaoba/hello-world:v0.0.31"
2022-12-07T05:51:05.6983475Z ],
2022-12-07T05:51:05.6983949Z "RepoDigests": [
2022-12-07T05:51:05.6984859Z "ghcr.io/baozaolaoba/hello-world@sha256:ab378d9bc05feaac941683d5735090544fe998af333f2d9c1ff572f549865258"
2022-12-07T05:51:05.6985530Z ],
2022-12-07T05:51:05.6985993Z "Parent": "",
2022-12-07T05:51:05.6986566Z "Comment": "buildkit.dockerfile.v0",
2022-12-07T05:51:05.6987239Z "Created": "2022-12-07T05:50:47.37859039Z",
2022-12-07T05:51:05.6987771Z "Container": "",
2022-12-07T05:51:05.6988288Z "ContainerConfig": {
2022-12-07T05:51:05.6991659Z "Hostname": "",
2022-12-07T05:51:05.6992251Z "Domainname": "",
2022-12-07T05:51:05.6992791Z "User": "",
2022-12-07T05:51:05.6993328Z "AttachStdin": false,
2022-12-07T05:51:05.6993891Z "AttachStdout": false,
2022-12-07T05:51:05.6994535Z "AttachStderr": false,
2022-12-07T05:51:05.6995074Z "Tty": false,
2022-12-07T05:51:05.6995599Z "OpenStdin": false,
2022-12-07T05:51:05.6996144Z "StdinOnce": false,
2022-12-07T05:51:05.6996695Z "Env": null,
2022-12-07T05:51:05.6997205Z "Cmd": null,
2022-12-07T05:51:05.6997715Z "Image": "",
2022-12-07T05:51:05.6998246Z "Volumes": null,
2022-12-07T05:51:05.6998780Z "WorkingDir": "",
2022-12-07T05:51:05.6999321Z "Entrypoint": null,
2022-12-07T05:51:05.6999871Z "OnBuild": null,
2022-12-07T05:51:05.7000392Z "Labels": null
2022-12-07T05:51:05.7000874Z },
2022-12-07T05:51:05.7001382Z "DockerVersion": "",
2022-12-07T05:51:05.7001932Z "Author": "",
2022-12-07T05:51:05.7002431Z "Config": {
2022-12-07T05:51:05.7002941Z "Hostname": "",
2022-12-07T05:51:05.7003484Z "Domainname": "",
2022-12-07T05:51:05.7004038Z "User": "",
2022-12-07T05:51:05.7004583Z "AttachStdin": false,
2022-12-07T05:51:05.7005161Z "AttachStdout": false,
2022-12-07T05:51:05.7005721Z "AttachStderr": false,
2022-12-07T05:51:05.7006270Z "ExposedPorts": {
2022-12-07T05:51:05.7006810Z "80/tcp": {}
2022-12-07T05:51:05.7007299Z },
2022-12-07T05:51:05.7007798Z "Tty": false,
2022-12-07T05:51:05.7008329Z "OpenStdin": false,
2022-12-07T05:51:05.7008882Z "StdinOnce": false,
2022-12-07T05:51:05.7009401Z "Env": [
2022-12-07T05:51:05.7010065Z "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
2022-12-07T05:51:05.7010704Z ],
2022-12-07T05:51:05.7011202Z "Cmd": null,
2022-12-07T05:51:05.7011708Z "Image": "",
2022-12-07T05:51:05.7012249Z "Volumes": null,
2022-12-07T05:51:05.7012810Z "WorkingDir": "/baozaolaoba",
2022-12-07T05:51:05.7013368Z "Entrypoint": [
2022-12-07T05:51:05.7013931Z "/baozaolaoba/out"
2022-12-07T05:51:05.7014444Z ],
2022-12-07T05:51:05.7014958Z "OnBuild": null,
2022-12-07T05:51:05.7015736Z "Labels": {
2022-12-07T05:51:05.7016395Z "maintainer": "BaoZaoLaoBa<release4go@outlook.com>",
2022-12-07T05:51:05.7017357Z "org.opencontainers.image.created": "2022-12-07T05:50:31.079Z",
2022-12-07T05:51:05.7018502Z "org.opencontainers.image.description": "测试ci/cd",
2022-12-07T05:51:05.7019258Z "org.opencontainers.image.licenses": "",
2022-12-07T05:51:05.7020082Z "org.opencontainers.image.revision": "d6c96fd8aa4ebf886c1053fcf618862e0c7e2622",
2022-12-07T05:51:05.7021156Z "org.opencontainers.image.source": "https://github.com/baozaolaoba/hello-world",
2022-12-07T05:51:05.7022875Z "org.opencontainers.image.title": "hello-world",
2022-12-07T05:51:05.7024106Z "org.opencontainers.image.url": "https://github.com/baozaolaoba/hello-world",
2022-12-07T05:51:05.7024947Z "org.opencontainers.image.version": "v0.0.31"
2022-12-07T05:51:05.7025532Z }
2022-12-07T05:51:05.7026005Z },
2022-12-07T05:51:05.7026522Z "Architecture": "amd64",
2022-12-07T05:51:05.7027071Z "Os": "linux",
2022-12-07T05:51:05.7027578Z "Size": 4349952,
2022-12-07T05:51:05.7028118Z "VirtualSize": 4349952,
2022-12-07T05:51:05.7032674Z "GraphDriver": {
2022-12-07T05:51:05.7033146Z "Data": {
2022-12-07T05:51:05.7033735Z "LowerDir": "/var/lib/docker/overlay2/onyz65phh4avqzet9fragyl8u/diff",
2022-12-07T05:51:05.7034483Z "MergedDir": "/var/lib/docker/overlay2/43ugmcztz7t3t1eek1477cv2s/merged",
2022-12-07T05:51:05.7035206Z "UpperDir": "/var/lib/docker/overlay2/43ugmcztz7t3t1eek1477cv2s/diff",
2022-12-07T05:51:05.7035919Z "WorkDir": "/var/lib/docker/overlay2/43ugmcztz7t3t1eek1477cv2s/work"
2022-12-07T05:51:05.7036466Z },
2022-12-07T05:51:05.7036920Z "Name": "overlay2"
2022-12-07T05:51:05.7037342Z },
2022-12-07T05:51:05.7037746Z "RootFS": {
2022-12-07T05:51:05.7038184Z "Type": "layers",
2022-12-07T05:51:05.7038642Z "Layers": [
2022-12-07T05:51:05.7039284Z "sha256:a93b315a06e84c5ce8e1553f21d1d1af04cae7d49cad5f107b0eacaac3f87c5b",
2022-12-07T05:51:05.7040084Z "sha256:d6ba28ffddf622910275bff3ab4c2385d7d769d01e45212d22791716992e8a33"
2022-12-07T05:51:05.7040737Z ]
2022-12-07T05:51:05.7041128Z },
2022-12-07T05:51:05.7041537Z "Metadata": {
2022-12-07T05:51:05.7042158Z "LastTagTime": "0001-01-01T00:00:00Z"
2022-12-07T05:51:05.7042629Z }
2022-12-07T05:51:05.7043009Z }
2022-12-07T05:51:05.7043374Z ]
2022-12-07T05:51:05.7076278Z ##[debug]fetching resource of type namespace and name hello
2022-12-07T05:51:05.7078003Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl get,namespace/hello,-o,json,--namespace,hello
2022-12-07T05:51:05.7080180Z [command]/usr/local/bin/kubectl get namespace/hello -o json --namespace hello
2022-12-07T05:51:06.4569789Z {
2022-12-07T05:51:06.4570433Z "apiVersion": "v1",
2022-12-07T05:51:06.4571160Z "kind": "Namespace",
2022-12-07T05:51:06.4571794Z "metadata": {
2022-12-07T05:51:06.4572296Z "annotations": {
2022-12-07T05:51:06.4575422Z "actions.github.com/k8s-deploy": "{\"run\":\"3613558234\",\"repository\":\"baozaolaoba/hello-world\",\"workflow\":\"持续部署\",\"workflowFileName\":\"ContinuousDeployment.yml\",\"jobName\":\"build-and-push-image\",\"createdBy\":\"63isOK\",\"runUri\":\"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234\",\"commit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"lastSuccessRunCommit\":\"da6f35d3d0a93f14a445ac0126e057700f780529\",\"branch\":\"refs/tags/v0.0.31\",\"deployTimestamp\":1670162046317,\"dockerfilePaths\":{\"ghcr.io/baozaolaoba/hello-world:v0.0.31\":\"\"},\"manifestsPaths\":[\"https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy\"],\"helmChartPaths\":[],\"provider\":\"GitHub\"}",
2022-12-07T05:51:06.4577978Z "kubectl.kubernetes.io/last-applied-configuration": "{\"apiVersion\":\"v1\",\"kind\":\"Namespace\",\"metadata\":{\"annotations\":{},\"name\":\"hello\"}}\n"
2022-12-07T05:51:06.4578775Z },
2022-12-07T05:51:06.4579773Z "creationTimestamp": "2022-12-03T07:10:32Z",
2022-12-07T05:51:06.4580334Z "labels": {
2022-12-07T05:51:06.4580893Z "kubernetes.io/metadata.name": "hello"
2022-12-07T05:51:06.4581422Z },
2022-12-07T05:51:06.4581904Z "name": "hello",
2022-12-07T05:51:06.4582428Z "resourceVersion": "2044994",
2022-12-07T05:51:06.4583124Z "uid": "700a74e1-ab4b-4ec9-b37c-8e8ff1f23725"
2022-12-07T05:51:06.4583668Z },
2022-12-07T05:51:06.4584105Z "spec": {
2022-12-07T05:51:06.4584579Z "finalizers": [
2022-12-07T05:51:06.4585202Z "kubernetes"
2022-12-07T05:51:06.4585690Z ]
2022-12-07T05:51:06.4586116Z },
2022-12-07T05:51:06.4586551Z "status": {
2022-12-07T05:51:06.4587040Z "phase": "Active"
2022-12-07T05:51:06.4587496Z }
2022-12-07T05:51:06.4587909Z }
2022-12-07T05:51:06.4629556Z ##[debug]files getting annotated are ["/tmp/Deployment_hello_1670392256388","/tmp/Ingress_hello-ingress_1670392256388","/tmp/Namespace_hello_1670392256388","/tmp/Service_hello_1670392256388"]
2022-12-07T05:51:06.4631711Z ##[debug]printing objects getting annotated...
2022-12-07T05:51:06.4639353Z ##[debug]object: {"apiVersion":"apps/v1","kind":"Deployment","metadata":{"name":"hello","namespace":"hello","labels":{"app":"hello"}},"spec":{"selector":{"matchLabels":{"app":"hello"}},"replicas":1,"strategy":{"rollingUpdate":{"maxSurge":"25%","maxUnavailable":"25%"},"type":"RollingUpdate"},"template":{"metadata":{"labels":{"app":"hello"}},"spec":{"containers":[{"name":"hello","image":"ghcr.io/baozaolaoba/hello-world:v0.0.31","imagePullPolicy":"IfNotPresent","resources":{"requests":{"cpu":"100m","memory":"100Mi"},"limits":{"cpu":"100m","memory":"100Mi"}},"livenessProbe":{"tcpSocket":{"port":80},"initialDelaySeconds":5,"timeoutSeconds":5,"successThreshold":1,"failureThreshold":3,"periodSeconds":10},"readinessProbe":{"httpGet":{"path":"/hello","port":80},"initialDelaySeconds":5,"timeoutSeconds":2,"successThreshold":1,"failureThreshold":3,"periodSeconds":10},"ports":[{"containerPort":80,"name":"hello"}],"volumeMounts":[{"name":"localtime","mountPath":"/etc/localtime"}]}],"volumes":[{"name":"localtime","hostPath":{"path":"/usr/share/zoneinfo/Asia/Taipei"}}],"restartPolicy":"Always","imagePullSecrets":[{"name":"docker-login"}]}}}}
2022-12-07T05:51:06.4645114Z ##[debug]printing objects getting annotated...
2022-12-07T05:51:06.4647850Z ##[debug]object: {"apiVersion":"networking.k8s.io/v1","kind":"Ingress","metadata":{"name":"hello-ingress","namespace":"hello"},"spec":{"rules":[{"host":"baozaolaoba.top","http":{"paths":[{"path":"/hello-app","pathType":"Prefix","backend":{"service":{"name":"hello","port":{"number":80}}}}]}}]}}
2022-12-07T05:51:06.4650200Z ##[debug]printing objects getting annotated...
2022-12-07T05:51:06.4653400Z ##[debug]object: {"apiVersion":"v1","kind":"Namespace","metadata":{"name":"hello"}}
2022-12-07T05:51:06.4655184Z ##[debug]printing objects getting annotated...
2022-12-07T05:51:06.4657323Z ##[debug]object: {"apiVersion":"v1","kind":"Service","metadata":{"name":"hello","namespace":"hello"},"spec":{"selector":{"app":"hello"},"type":"ClusterIP","ports":[{"name":"hello","protocol":"TCP","port":80,"targetPort":80}]}}
2022-12-07T05:51:06.4662101Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl annotate,namespace,hello,actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"},--overwrite,--namespace,hello
2022-12-07T05:51:06.4667135Z [command]/usr/local/bin/kubectl annotate namespace hello actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"} --overwrite --namespace hello
2022-12-07T05:51:07.8986865Z namespace/hello annotated
2022-12-07T05:51:07.9020625Z ##[debug]annotating /tmp/Deployment_hello_1670392256388 with annotation actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"}
2022-12-07T05:51:07.9024773Z ##[debug]sending args from annotate to execute: ["annotate","-f","/tmp/Deployment_hello_1670392256388","actions.github.com/k8s-deploy={\"run\":\"3613558234\",\"repository\":\"baozaolaoba/hello-world\",\"workflow\":\"持续部署\",\"workflowFileName\":\"ContinuousDeployment.yml\",\"jobName\":\"build-and-push-image\",\"createdBy\":\"63isOK\",\"runUri\":\"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234\",\"commit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"lastSuccessRunCommit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"branch\":\"refs/tags/v0.0.31\",\"deployTimestamp\":1670392266462,\"dockerfilePaths\":{\"ghcr.io/baozaolaoba/hello-world:v0.0.31\":\"\"},\"manifestsPaths\":[\"https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy\"],\"helmChartPaths\":[],\"provider\":\"GitHub\"}","--overwrite"]
2022-12-07T05:51:07.9028523Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl annotate,-f,/tmp/Deployment_hello_1670392256388,actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"},--overwrite,--namespace,hello
2022-12-07T05:51:07.9033722Z [command]/usr/local/bin/kubectl annotate -f /tmp/Deployment_hello_1670392256388 actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"} --overwrite --namespace hello
2022-12-07T05:51:09.1476376Z deployment.apps/hello annotated
2022-12-07T05:51:09.1521735Z ##[debug]annotating /tmp/Ingress_hello-ingress_1670392256388 with annotation actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"}
2022-12-07T05:51:09.1527270Z ##[debug]sending args from annotate to execute: ["annotate","-f","/tmp/Ingress_hello-ingress_1670392256388","actions.github.com/k8s-deploy={\"run\":\"3613558234\",\"repository\":\"baozaolaoba/hello-world\",\"workflow\":\"持续部署\",\"workflowFileName\":\"ContinuousDeployment.yml\",\"jobName\":\"build-and-push-image\",\"createdBy\":\"63isOK\",\"runUri\":\"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234\",\"commit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"lastSuccessRunCommit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"branch\":\"refs/tags/v0.0.31\",\"deployTimestamp\":1670392266462,\"dockerfilePaths\":{\"ghcr.io/baozaolaoba/hello-world:v0.0.31\":\"\"},\"manifestsPaths\":[\"https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy\"],\"helmChartPaths\":[],\"provider\":\"GitHub\"}","--overwrite"]
2022-12-07T05:51:09.1532016Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl annotate,-f,/tmp/Ingress_hello-ingress_1670392256388,actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"},--overwrite,--namespace,hello
2022-12-07T05:51:09.1536654Z [command]/usr/local/bin/kubectl annotate -f /tmp/Ingress_hello-ingress_1670392256388 actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"} --overwrite --namespace hello
2022-12-07T05:51:10.6619555Z ingress.networking.k8s.io/hello-ingress annotated
2022-12-07T05:51:10.6650249Z ##[debug]annotating /tmp/Namespace_hello_1670392256388 with annotation actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"}
2022-12-07T05:51:10.6659547Z ##[debug]sending args from annotate to execute: ["annotate","-f","/tmp/Namespace_hello_1670392256388","actions.github.com/k8s-deploy={\"run\":\"3613558234\",\"repository\":\"baozaolaoba/hello-world\",\"workflow\":\"持续部署\",\"workflowFileName\":\"ContinuousDeployment.yml\",\"jobName\":\"build-and-push-image\",\"createdBy\":\"63isOK\",\"runUri\":\"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234\",\"commit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"lastSuccessRunCommit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"branch\":\"refs/tags/v0.0.31\",\"deployTimestamp\":1670392266462,\"dockerfilePaths\":{\"ghcr.io/baozaolaoba/hello-world:v0.0.31\":\"\"},\"manifestsPaths\":[\"https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy\"],\"helmChartPaths\":[],\"provider\":\"GitHub\"}","--overwrite"]
2022-12-07T05:51:10.6666592Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl annotate,-f,/tmp/Namespace_hello_1670392256388,actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"},--overwrite,--namespace,hello
2022-12-07T05:51:10.6672156Z [command]/usr/local/bin/kubectl annotate -f /tmp/Namespace_hello_1670392256388 actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"} --overwrite --namespace hello
2022-12-07T05:51:12.1533120Z namespace/hello annotated
2022-12-07T05:51:12.1607346Z ##[debug]annotating /tmp/Service_hello_1670392256388 with annotation actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"}
2022-12-07T05:51:12.1612350Z ##[debug]sending args from annotate to execute: ["annotate","-f","/tmp/Service_hello_1670392256388","actions.github.com/k8s-deploy={\"run\":\"3613558234\",\"repository\":\"baozaolaoba/hello-world\",\"workflow\":\"持续部署\",\"workflowFileName\":\"ContinuousDeployment.yml\",\"jobName\":\"build-and-push-image\",\"createdBy\":\"63isOK\",\"runUri\":\"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234\",\"commit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"lastSuccessRunCommit\":\"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622\",\"branch\":\"refs/tags/v0.0.31\",\"deployTimestamp\":1670392266462,\"dockerfilePaths\":{\"ghcr.io/baozaolaoba/hello-world:v0.0.31\":\"\"},\"manifestsPaths\":[\"https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy\"],\"helmChartPaths\":[],\"provider\":\"GitHub\"}","--overwrite"]
2022-12-07T05:51:12.1618068Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl annotate,-f,/tmp/Service_hello_1670392256388,actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"},--overwrite,--namespace,hello
2022-12-07T05:51:12.1623559Z [command]/usr/local/bin/kubectl annotate -f /tmp/Service_hello_1670392256388 actions.github.com/k8s-deploy={"run":"3613558234","repository":"baozaolaoba/hello-world","workflow":"持续部署","workflowFileName":"ContinuousDeployment.yml","jobName":"build-and-push-image","createdBy":"63isOK","runUri":"https://github.com/baozaolaoba/hello-world/actions/runs/3613558234","commit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","lastSuccessRunCommit":"d6c96fd8aa4ebf886c1053fcf618862e0c7e2622","branch":"refs/tags/v0.0.31","deployTimestamp":1670392266462,"dockerfilePaths":{"ghcr.io/baozaolaoba/hello-world:v0.0.31":""},"manifestsPaths":["https://github.com/baozaolaoba/hello-world/blob/d6c96fd8aa4ebf886c1053fcf618862e0c7e2622/deploy"],"helmChartPaths":[],"provider":"GitHub"} --overwrite --namespace hello
2022-12-07T05:51:13.3461817Z service/hello annotated
2022-12-07T05:51:13.3496872Z ##[debug]Kubectl run with command: /usr/local/bin/kubectl describe,deployment,hello,--namespace,hello
2022-12-07T05:51:15.1261241Z ##[error]TypeError: Cannot read properties of null (reading '0')
2022-12-07T05:51:15.1298111Z ##[debug]Node Action run completed with exit code 1
2022-12-07T05:51:15.1305323Z ##[debug]Finishing: 部署到k8s集群 |
Hi @63isOK, I've created a fork of the action with the potential fix, would you mind giving it a run? Instead of Let me know if that works! If so, I'll get my fix merged in and if not, I'll keep investigating. |
Hi @jaiveerk , |
Reopening this until we cut a release on this action. |
What happened?
my workflow:
there is an error
[error]TypeError: Cannot read properties of null (reading '0')
afterannotated
.no
try-catch
in function annotateResources:Version
Runner
github action + k8s v1.25.4
Relevant log output
2022-12-04T13:52:38.0853062Z ##[group]Run Azure/k8s-deploy@v4.7
2022-12-04T13:52:38.0863628Z ##[endgroup]
2022-12-04T13:52:38.1995713Z ##[group]Deploying manifests
2022-12-04T13:52:38.2022607Z [command]/usr/local/bin/kubectl apply -f /tmp/Deployment_hello_1670161958196,/tmp/Ingress_hello-ingress_1670161958196,/tmp/Namespace_hello_1670161958197,/tmp/Service_hello_1670161958197 --force --namespace hello
2022-12-04T13:52:41.9320472Z deployment.apps/hello configured
2022-12-04T13:52:42.1766322Z ingress.networking.k8s.io/hello-ingress unchanged
2022-12-04T13:52:42.4237082Z namespace/hello unchanged
2022-12-04T13:52:42.6698221Z service/hello unchanged
2022-12-04T13:52:42.6739867Z ##[endgroup]
2022-12-04T13:52:42.6740588Z ##[group]Checking manifest stability
2022-12-04T13:52:42.6759585Z [command]/usr/local/bin/kubectl rollout status Deployment/hello --namespace hello
2022-12-04T13:52:44.4079784Z Waiting for deployment "hello" rollout to finish: 1 old replicas are pending termination...
2022-12-04T13:54:02.3545192Z Waiting for deployment "hello" rollout to finish: 1 old replicas are pending termination...
2022-12-04T13:54:02.3956312Z deployment "hello" successfully rolled out
2022-12-04T13:54:02.3990113Z ##[endgroup]
2022-12-04T13:54:02.3993021Z ##[group]Printing ingresses
2022-12-04T13:54:02.4009992Z [command]/usr/local/bin/kubectl get ingress/hello-ingress -o json --namespace hello
2022-12-04T13:54:03.1783242Z ##[endgroup]
2022-12-04T13:54:03.1786032Z ##[group]Annotating resources
2022-12-04T13:54:06.3182719Z [command]/usr/local/bin/kubectl annotate namespace hello actions.github.com/k8s-deploy=
2022-12-04T13:54:08.0540007Z namespace/hello annotated
2022-12-04T13:54:08.0565766Z [command]/usr/local/bin/kubectl annotate -f /tmp/Deployment_hello_1670161958196 actions.github.com/k8s-deploy=
2022-12-04T13:54:10.1379583Z deployment.apps/hello annotated
2022-12-04T13:54:10.1406969Z [command]/usr/local/bin/kubectl annotate -f /tmp/Ingress_hello-ingress_1670161958196 actions.github.com/k8s-deploy=
2022-12-04T13:54:11.0919957Z ingress.networking.k8s.io/hello-ingress annotated
2022-12-04T13:54:11.0957808Z [command]/usr/local/bin/kubectl annotate -f /tmp/Namespace_hello_1670161958197 actions.github.com/k8s-deploy=
2022-12-04T13:54:12.8102623Z namespace/hello annotated
2022-12-04T13:54:12.8125267Z [command]/usr/local/bin/kubectl annotate -f /tmp/Service_hello_1670161958197 actions.github.com/k8s-deploy=
2022-12-04T13:54:13.7816438Z service/hello annotated
2022-12-04T13:54:15.8375745Z ##[error]TypeError: Cannot read properties of null (reading '0')
2022-12-04T13:54:15.8463831Z Post job cleanup.
2022-12-04T13:54:15.9122752Z ##[group]Removing temp folder /tmp/docker-build-push-uhPZTa
The text was updated successfully, but these errors were encountered: