Skip to content

Commit

Permalink
chore: update schema (#913)
Browse files Browse the repository at this point in the history
* chore: update schema

* asd
  • Loading branch information
dbarrosop authored Sep 12, 2024
1 parent fc563a3 commit 2328105
Show file tree
Hide file tree
Showing 12 changed files with 1,380 additions and 217 deletions.
7 changes: 7 additions & 0 deletions cmd/config/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,13 @@ func commandExample(cCtx *cli.Context) error { //nolint:funlen,maintidx
Observability: &model.ConfigObservability{
Grafana: &model.ConfigGrafana{
AdminPassword: "grafanaAdminPassword",
Smtp: &model.ConfigGrafanaSmtp{
Host: "localhost",
Port: 25,
Sender: "admin@localhost",
User: "smtpUser",
Password: "smtpPassword",
},
},
},
}
Expand Down
1 change: 1 addition & 0 deletions cmd/configserver/local_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func newApp() *graph.App {
Observability: &model.ConfigObservability{
Grafana: &model.ConfigGrafana{
AdminPassword: "asdasd",
Smtp: nil,
},
},
},
Expand Down
1 change: 1 addition & 0 deletions dockercompose/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ func getConfig() *model.ConfigConfig { //nolint:maintidx
Observability: &model.ConfigObservability{
Grafana: &model.ConfigGrafana{
AdminPassword: "grafanaAdminPassword",
Smtp: nil,
},
},
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ require (
github.com/google/go-cmp v0.6.0
github.com/google/uuid v1.6.0
github.com/hashicorp/go-getter v1.7.6
github.com/nhost/be v0.0.0-20240909133931-ac84bc8054d6
github.com/nhost/be v0.0.0-20240912110026-065f6e01492e
github.com/pelletier/go-toml/v2 v2.2.3
github.com/rs/cors/wrapper/gin v0.0.0-20240830163046-1084d89a1692
github.com/sirupsen/logrus v1.9.3
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,8 @@ github.com/nhost/be v0.0.0-20240909130456-6e51b7cb8f1c h1:Q8ZFSWvmU/l1/YiIfdrMk2
github.com/nhost/be v0.0.0-20240909130456-6e51b7cb8f1c/go.mod h1:fnA4FCHOZpOIdUCXvHBav8KhvHEc2bd+xjDDJq+j+To=
github.com/nhost/be v0.0.0-20240909133931-ac84bc8054d6 h1:/JEKTGU1epbT40S56gHIxgx7cQ0mj6l1varORuedhgw=
github.com/nhost/be v0.0.0-20240909133931-ac84bc8054d6/go.mod h1:fnA4FCHOZpOIdUCXvHBav8KhvHEc2bd+xjDDJq+j+To=
github.com/nhost/be v0.0.0-20240912110026-065f6e01492e h1:pHtjtGzg2b+Y+fPlNnhTCDQ/XXN5n50SCuu8828ytaA=
github.com/nhost/be v0.0.0-20240912110026-065f6e01492e/go.mod h1:fnA4FCHOZpOIdUCXvHBav8KhvHEc2bd+xjDDJq+j+To=
github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI=
github.com/onsi/gomega v1.27.10/go.mod h1:RsS8tutOdbdgzbPtzzATp12yT7kM5I5aElG3evPbQ0M=
github.com/pelletier/go-toml/v2 v2.2.3 h1:YmeHyLY8mFWbdkNWwpr+qIL2bEqT0o95WSdkNHvL12M=
Expand Down
22 changes: 20 additions & 2 deletions nhostclient/graphql/models_gen.go

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

1 change: 1 addition & 0 deletions project/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func DefaultConfig() (*model.ConfigConfig, error) {
Observability: &model.ConfigObservability{
Grafana: &model.ConfigGrafana{
AdminPassword: "{{ secrets.GRAFANA_ADMIN_PASSWORD }}",
Smtp: nil,
},
},
}
Expand Down
Loading

0 comments on commit 2328105

Please sign in to comment.