Skip to content

Commit

Permalink
Readme updated
Browse files Browse the repository at this point in the history
  • Loading branch information
iam-abin committed Jul 28, 2024
1 parent 93c3eb8 commit f32974a
Show file tree
Hide file tree
Showing 20 changed files with 4,397 additions and 4,406 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/admin.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd admin && docker build -t abinv/admin .
- run: docker push abinv/admin
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl rollout restart deployment admin-depl
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment admin-depl
11 changes: 6 additions & 5 deletions .github/workflows/auth.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd auth && docker build -t abinv/auth .
- run: docker push abinv/auth
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl rollout restart deployment auth-depl
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment auth-depl
11 changes: 6 additions & 5 deletions .github/workflows/chat.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd chat && docker build -t abinv/chat .
- run: docker push abinv/chat
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl rollout restart deployment chat-depl
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment chat-depl
11 changes: 6 additions & 5 deletions .github/workflows/client-app.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd client && docker build -t abinv/client-devhive .
- run: docker push abinv/client-devhive
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl rollout restart deployment client-app-depls
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment client-app-depls
15 changes: 8 additions & 7 deletions .github/workflows/deploy-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl apply -f k8s/stateless && kubectl apply -f k8s/ingress/prod
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# steps:
# - uses: actions/checkout@v3
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl apply -f k8s/stateless && kubectl apply -f k8s/ingress/prod
11 changes: 6 additions & 5 deletions .github/workflows/job.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd job && docker build -t abinv/job .
- run: docker push abinv/job
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl rollout restart deployment job-depl
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment job-depl
11 changes: 6 additions & 5 deletions .github/workflows/payment.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd payment && docker build -t abinv/payment .
- run: docker push abinv/payment
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl rollout restart deployment payment-depl
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment payment-depl
11 changes: 6 additions & 5 deletions .github/workflows/profile.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
- run: cd profile && docker build -t abinv/profile .
- run: docker push abinv/profile
- uses: digitalocean/action-doctl@v2
with:
token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
- run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
- run: kubectl rollout restart deployment profile-depl
# # Commenting out Digital Ocean specific steps since we're not deploying there now
# - uses: digitalocean/action-doctl@v2
# with:
# token: ${{ secrets.DIGITALOCEAN_ACCESS_TOKEN }}
# - run: doctl kubernetes cluster kubeconfig save devhive-hosted-clusterr
# - run: kubectl rollout restart deployment profile-depl
12 changes: 4 additions & 8 deletions admin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion admin/src/config/kafka-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Kafka } from "kafkajs";

const kafkaClient = new Kafka({
clientId: 'admin-client',
brokers: ['devhive-kafka-headless:9092']
brokers: ['devhive-kafka:9092']
})

export { kafkaClient }
Loading

0 comments on commit f32974a

Please sign in to comment.