Skip to content

Commit

Permalink
feat: add cluster.arch for helm values (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
hysyeah authored Jul 26, 2024
1 parent 898048b commit 0982a2b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ jobs:
- name: Download release check-chart
uses: dsaltares/fetch-gh-release-asset@master
with:
file: check-chart_0.0.1_linux_amd64.tar.gz
file: check-chart_0.0.3_linux_amd64.tar.gz
repo: beclab/check-chart
target: check-chart.tar.gz
version: tags/v0.0.1
version: tags/v0.0.3
- name: get latest tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
id: get-latest-tag
Expand Down
3 changes: 2 additions & 1 deletion pkg/api/server/handlers_api.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package server
import (
"errors"
"fmt"
"github.com/go-resty/resty/v2"
"net/http"
"os"
"path/filepath"
Expand All @@ -16,7 +17,6 @@ import (
"github.com/beclab/devbox/pkg/store/db/model"

"github.com/emicklei/go-restful/v3"
"github.com/go-resty/resty/v2"
"github.com/gofiber/fiber/v2"
"github.com/google/uuid"
"gopkg.in/yaml.v2"
Expand Down Expand Up @@ -395,6 +395,7 @@ func (h *handlers) listAppContainersInChart(ctx *fiber.Ctx) error {
"password": "password",
}
values["svcs"] = map[string]interface{}{}
values["cluster"] = map[string]interface{}{}

path := getAppPath(app)
appCfgPath := filepath.Join(path, constants.AppCfgFileName)
Expand Down

0 comments on commit 0982a2b

Please sign in to comment.