Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
6b65329
Merge pull request #4 from jami1024/fix
colin404 Apr 7, 2024
449641b
fix: onex.sh .bashrc name
OpenCreate Apr 8, 2024
e669d7e
fix: fix missing mongo apt signing_key when install mongodb-mongosh
Apr 8, 2024
b5f07e5
Merge pull request #6 from OpenCreate/master
colin404 Apr 9, 2024
99acc69
Merge pull request #7 from feyounger/master
colin404 Apr 9, 2024
7d45f9f
fix: fix missing add MongoDB APT sources for different system version…
Apr 9, 2024
619894a
docs: fix UserBiz annotation
tsukiyoz Apr 9, 2024
4a8c5b3
fix: onex.sh grep pattern string matching error
OpenCreate Apr 9, 2024
af147fc
chore: auto detects the CPU arch when install kubectl
Apr 10, 2024
e56a0fd
Merge pull request #9 from tsukaychan/fixdoc
colin404 Apr 10, 2024
5ae00a3
Merge pull request #8 from feyounger/master
colin404 Apr 10, 2024
6915f32
Merge pull request #1 from superproj/master
OpenCreate Apr 10, 2024
d2ffddf
fix:selector is required
Apr 10, 2024
dae366a
fix: change mongodb apt source from ubuntu to debian
colin404 Apr 10, 2024
131c0da
fix: fix the wrong component name for mongodb apt source
colin404 Apr 11, 2024
ed1abcb
chore: change mysql default port from 6379 to 3306
colin404 Apr 12, 2024
09318f9
chore: show an error message if curl fails
colin404 Apr 14, 2024
6c476ad
fix: fix onex.sh grep key match error
colin404 Apr 14, 2024
9cb0a43
Merge pull request #11 from goooogoooo/master
colin404 Apr 14, 2024
d3717ba
docs: fix db annotation
goooogoooo Apr 15, 2024
3de9077
fix: serviceName in StatefulSet is required
Apr 21, 2024
309923a
fix: remove -loglevel option for cfssl tool
colin404 Apr 21, 2024
4f02671
fix(etc): change go-version from "go1.22.2" to "1.22.2"
a-firefly Apr 25, 2024
6db5a1d
Revert "fix:selector is required"
colin404 Apr 28, 2024
d284a0d
chore: prefixs to prefixes
jianghushinian Apr 30, 2024
ae61c75
chore: modify code comment
jianghushinian Apr 28, 2024
aa34e9b
Merge pull request #15 from goooogoooo/fixdocs
colin404 May 16, 2024
aa308a9
Merge pull request #16 from goooogoooo/fix/statefulset
colin404 May 16, 2024
5958c8e
Merge pull request #19 from jianghushinian/chore/code-comment
colin404 May 16, 2024
2d7775a
Merge pull request #17 from a-firefly/hotfix/go-version
colin404 May 16, 2024
7cb1497
Merge pull request #22 from jianghushinian/chore/code-tidy
colin404 May 16, 2024
9dae1a0
chore: update release method
colin404 May 2, 2024
9ed4908
chore: bump gsemver to v0.9.1
colin404 May 5, 2024
265bfde
fix: correct to the right viper env key format
colin404 May 16, 2024
76f83d1
fix: use the right uber maxprocs package
colin404 May 16, 2024
332fe3c
refactor: code optimize
colin404 Jun 1, 2024
85c6a4a
chore: add k8s yaml sample
colin404 Jun 1, 2024
04f1072
chore: add `--restart always` for to automatic start container
colin404 Jun 1, 2024
03086a2
feat: add code example of using workerpool and ants package
colin404 Jun 1, 2024
ce90e20
feat(pkg): add ptr package handle pointers
colin404 Jun 6, 2024
f30cdba
chore: bump helm to v3.15.1
colin404 Jun 8, 2024
c795119
chore: filter out dirs without go file when compile and build images
colin404 Jun 9, 2024
aa43279
feat: add support to cluster.local cluster domain
colin404 Jun 9, 2024
debeb3d
fix: fix onex installation in k8s
colin404 Jun 9, 2024
d4e0d50
feat: support finite state machine (fsm)
colin404 Jun 25, 2024
3253e2a
fix: invalid mariadb repo fixed to 11.2.4, remove old commands and fi…
tsukiyoz Aug 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .go-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
go1.22.2
1.22.2
4 changes: 3 additions & 1 deletion .todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@
[?] loft 调研
[?] onex-apiserver 后端对接 ES
[?] 诊断平台

[?] GraphQL API
[?] 添加状态机
[?] 场景:Webhook 展示修改镜像地址??
---

[?] 创建一个项目开发者社区网站 + 群???
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the gen-docs binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-docs/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the gen-docs binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-man/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the gen-man binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-man/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the gen-man binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-onex-docs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the gen-onex-docs binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-onex-docs/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the gen-onex-docs binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-onex-gorm-model/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the gen-onex-gorm-model binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-onex-gorm-model/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the gen-onex-gorm-model binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-yaml/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the gen-yaml binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/gen-yaml/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the gen-yaml binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
27 changes: 0 additions & 27 deletions build/docker/onex-blc/Dockerfile

This file was deleted.

68 changes: 0 additions & 68 deletions build/docker/onex-blc/Dockerfile.multistage

This file was deleted.

4 changes: 2 additions & 2 deletions build/docker/onex-chatroom/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the onex-chatroom binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/onex-chatroom/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the onex-chatroom binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
4 changes: 2 additions & 2 deletions build/docker/onex-fake-miner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the onex-fake-miner binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is alpine:3.17
ARG prod_image=alpine:3.17
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/onex-fake-miner/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the onex-fake-miner binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is alpine:3.17
ARG prod_image=alpine:3.17
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
4 changes: 2 additions & 2 deletions build/docker/onex-oss-center/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the onex-oss-center binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/onex-oss-center/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the onex-oss-center binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
4 changes: 2 additions & 2 deletions build/docker/onex/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@

# Build the onex binary
# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

FROM ${prod_image}
LABEL maintainer="<[email protected]>"
Expand Down
4 changes: 2 additions & 2 deletions build/docker/onex/Dockerfile.multistage
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
# Build the onex binary

# Run this with docker build --build-arg prod_image=<golang:x.y.z>
# Default <prod_image> is debian:jessie
ARG prod_image=debian:jessie
# Default <prod_image> is debian:trixie
ARG prod_image=debian:trixie

# Ignore Hadolint rule "Always tag the version of an image explicitly."
# It's an invalid finding since the image is explicitly set in the Makefile.
Expand Down
2 changes: 1 addition & 1 deletion cmd/onex-apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package main
import (
"os"

_ "go.uber.org/automaxprocs"
_ "go.uber.org/automaxprocs/maxprocs"
"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
_ "k8s.io/component-base/metrics/prometheus/clientgo" // load all the prometheus client-go plugins
Expand Down
2 changes: 1 addition & 1 deletion cmd/onex-cacheserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
package main

import (
_ "go.uber.org/automaxprocs"
_ "go.uber.org/automaxprocs/maxprocs"

"github.com/superproj/onex/cmd/onex-cacheserver/app"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/onex-controller-manager/controller-manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package main
import (
"os"

_ "go.uber.org/automaxprocs"
_ "go.uber.org/automaxprocs/maxprocs"
"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
_ "k8s.io/component-base/metrics/prometheus/clientgo" // load all the prometheus client-go plugin
Expand Down
2 changes: 1 addition & 1 deletion cmd/onex-fakeserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
package main

import (
_ "go.uber.org/automaxprocs"
_ "go.uber.org/automaxprocs/maxprocs"

"github.com/superproj/onex/cmd/onex-fakeserver/app"
)
Expand Down
4 changes: 2 additions & 2 deletions cmd/onex-gateway/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (o *Options) Validate() error {
return utilerrors.NewAggregate(errs)
}

// ApplyTo fills up onex-nightwatch config with options.
// ApplyTo fills up onex-gateway config with options.
func (o *Options) ApplyTo(c *gateway.Config) error {
c.GRPCOptions = o.GRPCOptions
c.HTTPOptions = o.HTTPOptions
Expand All @@ -136,7 +136,7 @@ func (o *Options) ApplyTo(c *gateway.Config) error {
return nil
}

// Config return a onex-nightwatch config object.
// Config return an onex-gateway config object.
func (o *Options) Config() (*gateway.Config, error) {
kubeconfig, err := clientcmd.BuildConfigFromFlags("", o.Kubeconfig)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/onex-gateway/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
package main

import (
_ "go.uber.org/automaxprocs"
_ "go.uber.org/automaxprocs/maxprocs"

"github.com/superproj/onex/cmd/onex-gateway/app"
)
Expand Down
2 changes: 1 addition & 1 deletion cmd/onex-miner-controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ package main
import (
"os"

_ "go.uber.org/automaxprocs"
_ "go.uber.org/automaxprocs/maxprocs"
"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
_ "k8s.io/component-base/metrics/prometheus/clientgo" // load all the prometheus client-go plugin
Expand Down
2 changes: 1 addition & 1 deletion cmd/onex-minerset-controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ package main
import (
"os"

_ "go.uber.org/automaxprocs"
_ "go.uber.org/automaxprocs/maxprocs"
"k8s.io/component-base/cli"
_ "k8s.io/component-base/logs/json/register" // for JSON log format registration
_ "k8s.io/component-base/metrics/prometheus/clientgo" // load all the prometheus client-go plugin
Expand Down
Loading