@@ -36,44 +36,44 @@ jobs:
36
36
]
37
37
38
38
steps :
39
- - name : Set up Go 1.18
40
- uses : actions/setup-go@v3
41
- with :
42
- go-version : 1.18
39
+ - uses : actions/checkout@v3
40
+ with :
41
+ lfs : " true"
42
+ - name : Checkout LFS objects
43
+ run : git lfs checkout
43
44
44
- - name : Check out code into the Go module directory
45
- uses : actions/checkout @v3
46
- - name : Create k8s Kind Cluster
47
- run : bash ./scripts/stargz/01-kind.sh
45
+ - name : Set up Go 1.19
46
+ uses : actions/setup-go @v3
47
+ with :
48
+ go-version : 1.19
48
49
49
- - name : Install Serving
50
- run : bash ./scripts/stargz/02-serving .sh
50
+ - name : Create k8s Kind Cluster
51
+ run : bash ./scripts/stargz/01-kind .sh
51
52
52
- - name : Install Kourier
53
- run : bash ./scripts/stargz/02-kourier .sh
53
+ - name : Install Serving
54
+ run : bash ./scripts/stargz/02-serving .sh
54
55
55
- - name : Setup domain and autoscaler
56
- run : |
56
+ - name : Install Kourier
57
+ run : bash ./scripts/stargz/02-kourier.sh
58
+
59
+ - name : Setup domain and autoscaler
60
+ run : |
57
61
INGRESS_HOST="127.0.0.1"
58
62
KNATIVE_DOMAIN=$INGRESS_HOST.sslip.io
59
63
kubectl patch configmap -n knative-serving config-domain -p "{\"data\": {\"$KNATIVE_DOMAIN\": \"\"}}"
60
64
kubectl patch configmap -n knative-serving config-autoscaler -p "{\"data\": {\"allow-zero-initial-scale\": \"true\"}}"
61
65
66
+ - name : Setup stock-only node
67
+ run : ./scripts/cloudlab/setup_node.sh stock-only use-stargz
62
68
63
- - name : Setup stock-only node
64
- run : ./scripts/cloudlab/setup_node.sh stock-only use-stargz
65
-
66
- - name : Check containerd service is running
67
- run : sudo screen -list | grep "containerd"
69
+ - name : Check containerd service is running
70
+ run : sudo screen -list | grep "containerd"
68
71
69
- - name : Check stargz-snapshotter is running
70
- run : sudo systemctl is-active --quiet stargz-snapshotter
71
-
72
- - name : Setup single-node cluster
73
- run : ./scripts/cluster/create_one_node_cluster.sh stock-only
72
+ - name : Check stargz-snapshotter is running
73
+ run : sudo systemctl is-active --quiet stargz-snapshotter
74
74
75
- - name : Run test container with kn
76
- run : kn service apply stargz-test -f ./configs/knative_workloads/stargz-node.yaml --concurrency-target 1
75
+ - name : Run test container with kn
76
+ run : kn service apply stargz-test -f ./configs/knative_workloads/stargz-node.yaml --concurrency-target 1
77
77
78
- - name : Curl container
79
- run : curl http://stargz-test.default.192.168.1.240 .sslip.io | grep "Hello World"
78
+ - name : Curl container
79
+ run : curl http://stargz-test.default.127.0.0.1 .sslip.io | grep "Hello World"
0 commit comments