Skip to content

Commit

Permalink
fix deployment and ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Nimbus318 committed Sep 30, 2024
1 parent 0fc9c1e commit 039ad03
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,9 @@ jobs:
- name: Run golint
uses: golangci/golangci-lint-action@v6
with:
working-directory: ./server
version: v1.60
args: "--timeout=5m ./server/..."
args: "--timeout=5m"

build-and-push-backend:
name: Build and Push Backend Image
Expand Down
10 changes: 7 additions & 3 deletions docs/installation/helm/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,17 @@ When you create a new namespace in Kubernetes, you can better organize, allocate
helm search repo hami-charts/hami-webui
```

3. Before proceeding, navigate to the [Configuration Guide for HAMi-WebUI Helm Chart](../../../charts/hami-webui/README.md#configuration-guide-for-hamiwebui-helm-chart), where you'll find instructions on configuring the necessary `values.yaml` based on your cluster's requirements.
> It is **critical** to modify the values accordingly before deploying.
3. Before deploying, ensure that you configure the `values.yaml` file to match your cluster’s requirements. For detailed instructions, refer to the [Configuration Guide for HAMi-WebUI Helm Chart](../../../charts/hami-webui/README.md#configuration-guide-for-hamiwebui-helm-chart)
> _**Important**_: You must adjust the values.yaml before proceeding with the deployment.

Download the `values.yaml` file from the Helm Charts repository:

https://github.com/Project-HAMi/HAMi-WebUI/blob/main/charts/hami-webui/values.yaml

4. Once you've adjusted the `values.yaml`, run the following command to deploy the HAMi-WebUI Helm Chart inside your namespace:
```bash
helm install my-hami-webui hami-charts/hami-webui --namespace hami
helm install my-hami-webui hami-charts/hami-webui --namespace hami -f values.yaml
```
Where:
Expand Down
2 changes: 0 additions & 2 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ FROM golang:1.23.1 AS builder

WORKDIR /src

ENV GOPROXY=https://goproxy.cn,direct

COPY . .

RUN apt-get update && apt-get install -y --no-install-recommends protobuf-compiler
Expand Down

0 comments on commit 039ad03

Please sign in to comment.