File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -47,14 +47,17 @@ jobs:
4747 GOPATH : /root/tmp/gopath
4848 run : go build
4949
50+ - name : Create logdir
51+ run : mkdir -p -m777 -p /tmp/ctrd-logs/${{ github.run_id }}
52+
5053 - name : Start Containerd
51- run : sudo containerd &
54+ run : sudo containerd 1>/tmp/ctrd-logs/${{ github.run_id }}/ctrd.out 2>/tmp/ctrd-logs/${{ github.run_id }}/ctrd.err &
5255
5356 - name : Start Firecracker-containerd
54- run : sleep 1s && sudo /usr/local/bin/firecracker-containerd --config /etc/firecracker-containerd/config.toml &
57+ run : sleep 1s && sudo /usr/local/bin/firecracker-containerd --config /etc/firecracker-containerd/config.toml 1>/tmp/ctrd-logs/${{ github.run_id }}/fccd.out 2>/tmp/ctrd-logs/${{ github.run_id }}/fccd.err &
5558
5659 - name : Start vHive
57- run : sleep 1s && sudo ./vhive &
60+ run : sleep 1s && sudo ./vhive -dbg 1>/tmp/ctrd-logs/${{ github.run_id }}/fccd.out 2>/tmp/ctrd-logs/${{ github.run_id }}/fccd.err &
5861
5962 - name : Create k8s cluster
6063 run : sleep 1s && ./scripts/cluster/create_one_node_cluster.sh
7679 KUBECONFIG : /etc/kubernetes/admin.conf
7780 run : ./function-images/tests/save_load_minio/scripts/run_minio_k8s.sh
7881
82+ - name : Archive log artifacts
83+ if : ${{ always() }}
84+ uses : actions/upload-artifact@v2
85+ with :
86+ name : ctrd-logs
87+ path : |
88+ /tmp/ctrd-logs/${{ github.run_id }}
89+
7990 - name : Cleaning
8091 if : ${{ always() }}
8192 run : |
Original file line number Diff line number Diff line change 2626
2727 - name : Host Info
2828 env :
29- GITHUB_RUN_ID : ${{ github.run_id }}-${{ github.run_number }}
29+ GITHUB_RUN_ID : ${{ github.run_id }}
3030 run : |
3131 echo $HOSTNAME
3232 echo $GITHUB_RUN_ID
6060 TMPDIR : /root/tmp/
6161 GOCACHE : /root/tmp/gocache
6262 GOPATH : /root/tmp/gopath
63- GITHUB_RUN_ID : ${{ github.run_id }}-${{ github.run_number }}
63+ GITHUB_RUN_ID : ${{ github.run_id }}
6464 run : make test-cri
6565
6666 - name : Archive log artifacts
You can’t perform that action at this time.
0 commit comments