Skip to content
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

Fixing agent integration tests readme #2258

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/apim-apk-agent-test/agent-helm-chart/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ dependencies:
- name: cert-manager
repository: https://charts.jetstack.io
version: v1.10.1
digest: sha256:ec4c4f13caccd7a20912773027a411630546bcb6139744732d49806ce2514fc8
generated: "2024-01-22T12:10:42.822012+05:30"
digest: sha256:d1377472dfb3a62dccc58dd12757d029afa304c1f2ded3f5cc3052b308fb8c00
generated: "2024-04-03T21:00:00.612083+05:30"
20 changes: 5 additions & 15 deletions test/apim-apk-agent-test/cucumber-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,11 @@ To create a new feature, follow these steps:
sudo echo "$IP default.sandbox.gw.wso2.com" | sudo tee -a /etc/hosts
```

5. Go to the `test/apim-apk-agent-test/apim-cp-helm-chart` directory and run following commands to install the APIM CP component.

(Optional)If you are on a Mac, need to add following changes to values.yaml file in apim-cp-helm-chart directory.
```bash
runAsUser: 802
registry: "docker.io"
repository: "sampathrajapakse/wso2am"
digest: "sha256:9b269e0f3b9b23f48320d16235624acbbfa455aeda6592aa4d51631c85652c2a"
```
Then do the following command to deploy APIM CP component.

```bash
helm dependency build
helm install apim . -n apk
```
5. Run following commands to deploy the APIM CP component.

helm repo add wso2apim https://github.com/wso2/helm-apim/releases/download/cp-4.3.0-beta
helm repo update
helm install apim wso2apim/wso2am-cp --version 4.3.0-beta -f https://raw.githubusercontent.com/wso2/apk/main/helm-charts/sample/apim/cp/amd-values.yaml -n apk --debug --wait --timeout 5m0s

6. Port forward router-service to use localhost.

Expand Down
Loading