Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deploye: add release build config #267

Merged
merged 7 commits into from
Mar 14, 2024
Merged

deploye: add release build config #267

merged 7 commits into from
Mar 14, 2024

Conversation

LiusCraft
Copy link
Contributor

No description provided.

configFile := ""
flag.StringVar(&configFile, "config", "", "Path to the config file")
flag.Parse()
godotenv.Load(configFile)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[golangci-lint] Error return value of godotenv.Load is not checked (errcheck)

If you have any questions about this comment, feel free to raise an issue here:

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to dump sql from mysql.

Comment on lines 122 to 126
func init() {
configFile := ""
flag.StringVar(&configFile, "config", "", "Path to the config file")
flag.Parse()
godotenv.Load(configFile)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need it, autoload will autoload .env in same dir.

Copy link

qiniu-prow bot commented Mar 12, 2024

@LiusCraft: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
community-pull-preview-environment-test 98253c6 link true /test community-pull-preview-environment-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@LiusCraft LiusCraft changed the title WIP: deploye: add release build config deploye: add release build config Mar 12, 2024
community *core.Community
trans *translation.Engine
}
//line cmd/gopcomm/community_yap.gox:30
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[gofmt] Is your code not properly formatted? Here are some suggestions below

Suggested change
//line cmd/gopcomm/community_yap.gox:30

If you have any questions about this comment, feel free to raise an issue here:

@@ -160,6 +165,14 @@ type Translation struct {
VideoTaskCache *VideoTaskCache
}

func init() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We parse config from gox entry file.

Copy link

qiniu-prow bot commented Mar 14, 2024

@LiusCraft: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
community-pull-preview-environment-test a588027 link true /test community-pull-preview-environment-test

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@qiniu-ci
Copy link

The PR environment is ready, please check the PR environment

[Attention]: This environment will be automatically cleaned up after 6 hours, please make sure to test it in time. If you have any questions, please contact the author of the PR or the community team.

Copy link
Collaborator

@IRONICBo IRONICBo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@IRONICBo IRONICBo merged commit 8eaed3b into goplus:dev Mar 14, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants