Skip to content

Commit

Permalink
Merge branch 'release/1.1.1' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushroshan committed May 27, 2022
2 parents 58159e1 + 2ad1189 commit 17b6501
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 23 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ on:
- 'main'
tags:
- 'v*.*.*'
paths:
- 'services/**'
- 'postman_collections/**'
- 'deploy/**'
- '.github/workflows/**'
pull_request:
paths:
- 'services/**'
- 'postman_collections/**'
- 'deploy/**'
- '.github/workflows/**'
workflow_dispatch:
Expand Down
28 changes: 5 additions & 23 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ You can change the smtp configuration if required however all emails with domain
## Kubernetes
### Helm
### Using Helm Charts
1. Clone the repo
```
Expand All @@ -111,31 +111,13 @@ You can change the smtp configuration if required however all emails with domain
minikube tunnel --alsologtostderr
```
crAPI should be available on the `<LOADBALANCER_IP>:8888`
Mailhog on `<LOADBALANCER_IP>:8025`
4. Access crAPI
### Minikube
crAPI should be available on the `<LOADBALANCER_IP>:8888`
Mailhog on `<LOADBALANCER_IP>:8025`
Make sure minikube is up and running as well as the following addons:
`storage-provisioner`, `default-storageclass`, and `registry`.
Or for minikube run the following command to get the URL
1. Expose minikube registry to Docker
```
$ docker run --rm -it --network=host alpine ash -c "apk add socat && socat TCP-LISTEN:5000,reuseaddr,fork TCP:$(minikube ip):5000"
```
2. Build Docker images and push to minikube registry
```
$ deploy/k8s/minikube/build-all.sh
```
3. Bring the k8s cluster up
```
$ deploy/k8s/minikube/deploy.sh
```
4. Run the following command to get the URLs
```
crAPI URL:
$ echo "http://$(minikube ip):30080"
Expand Down
1 change: 1 addition & 0 deletions version.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
1.1.1

0 comments on commit 17b6501

Please sign in to comment.