You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,6 @@ This is optional item, only do it if your goal is to add a component or fix a bu
37
37
38
38
4. find out the version number, click into the workflow page, click `e2etest-preparation` step, and click `Versioning for testing`, record the version number. Ex(v0.1.12-299946851).
39
39
40
-
5. provide your testing aws account id to Ying(wangmyin@), so that he will give permission to your aws account to fetch the testing image from a private ECR. [todo, once we migrate to dockerhub, you don't need this step]
41
-
42
40
43
41
## 2. Run ECS Test
44
42
@@ -48,7 +46,7 @@ This is optional item, only do it if your goal is to add a component or fix a bu
48
46
cd terraform/ecs && terraform init && terraform apply -var-file="../testing-suites/statsd-ecs.tfvars"
49
47
```
50
48
51
-
### 2.1 run with a specific aoc version
49
+
### 2.2 run with a specific aoc version if you have done 1.4
52
50
53
51
```shell
54
52
cd terraform/ecs && terraform init && terraform apply -var-file="../testing-suites/statsd-ecs.tfvars" -var="aoc_version={the version you got from workflow}"
@@ -61,35 +59,35 @@ cd terraform/ecs && terraform destory"
61
59
```
62
60
## 3. Run EC2
63
61
64
-
### 3.1 run with the testing suite [only amazonlinux2 is supported at this moment]
62
+
### 3.1 run with the testing suite [support amazonlinux2, ubuntu16, windows2019]
65
63
66
64
```shell
67
-
cd terraform/ec2 && terraform init && terraform apply -var="sshkey_s3_bucket={the bucket name you setin setup}" -var-file="../testing-suites/statsd-ec2.tfvars"
65
+
cd terraform/ec2 && terraform init && terraform apply -var="testing_ami=amazonlinux2" -var="sshkey_s3_bucket={the bucket name you setin setup}" -var-file="../testing-suites/statsd-ec2.tfvars"
68
66
```
69
67
70
-
### 3.2 run with a specfic aoc version
68
+
### 3.2 run with a specfic aoc version if you have done 1.4
71
69
72
70
73
71
```shell
74
72
cd terraform/ec2 && terraform init && terraform apply -var="sshkey_s3_bucket={the bucket name you setin setup}" -var-file="../testing-suites/statsd-ec2.tfvars" -var="aoc_version={the version you got from workflow}"
75
73
```
76
74
77
-
### 3.3 don't forget to clean the resources
75
+
### 3.3 don't forget to clean the resources
78
76
```shell
79
77
cd terraform/ec2 && terraform destory"
80
78
```
81
79
82
80
## 4. Run EKS
83
81
84
-
create a eks cluster in your account before run below command
82
+
please note you are required to create a eks cluster in your account before running below command
85
83
86
84
### 4.1 run with the testing suite
87
85
88
86
```shell
89
87
cd terraform/eks && terraform init && terraform apply -var="eks_cluster_name={the eks cluster name in your account}" -var-file="../testing-suites/statsd-eks.tfvars"
90
88
```
91
89
92
-
### 4.2 run with a specfic aoc version
90
+
### 4.2 run with a specfic aoc version if you have done 1.4
93
91
94
92
```shell
95
93
cd terraform/eks && terraform init && terraform apply -var="eks_cluster_name={the eks cluster name in your account}" -var-file="../testing-suites/statsd-eks.tfvars" -var="aoc_version={the version you got from workflow}"
0 commit comments