Skip to content

Commit 065d6c4

Browse files
authored
Update README.md
1 parent 70a5ce1 commit 065d6c4

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

README.md

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff 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
3737

3838
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).
3939

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-
4240

4341
## 2. Run ECS Test
4442

@@ -48,7 +46,7 @@ This is optional item, only do it if your goal is to add a component or fix a bu
4846
cd terraform/ecs && terraform init && terraform apply -var-file="../testing-suites/statsd-ecs.tfvars"
4947
```
5048

51-
### 2.1 run with a specific aoc version
49+
### 2.2 run with a specific aoc version if you have done 1.4
5250

5351
```shell
5452
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"
6159
```
6260
## 3. Run EC2
6361
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]
6563
6664
```shell
67-
cd terraform/ec2 && terraform init && terraform apply -var="sshkey_s3_bucket={the bucket name you set in 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 set in setup}" -var-file="../testing-suites/statsd-ec2.tfvars"
6866
```
6967
70-
### 3.2 run with a specfic aoc version
68+
### 3.2 run with a specfic aoc version if you have done 1.4
7169
7270
7371
```shell
7472
cd terraform/ec2 && terraform init && terraform apply -var="sshkey_s3_bucket={the bucket name you set in setup}" -var-file="../testing-suites/statsd-ec2.tfvars" -var="aoc_version={the version you got from workflow}"
7573
```
7674
77-
### 3.3 don't forget to clean the resources
75+
### 3.3 don't forget to clean the resources
7876
```shell
7977
cd terraform/ec2 && terraform destory"
8078
```
8179

8280
## 4. Run EKS
8381

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
8583

8684
### 4.1 run with the testing suite
8785

8886
```shell
8987
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"
9088
```
9189

92-
### 4.2 run with a specfic aoc version
90+
### 4.2 run with a specfic aoc version if you have done 1.4
9391

9492
```shell
9593
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

Comments
 (0)