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

v0.1.0-rc PR #537

Open
wants to merge 77 commits into
base: master
Choose a base branch
from
Open

v0.1.0-rc PR #537

wants to merge 77 commits into from

Conversation

undassa
Copy link
Member

@undassa undassa commented Sep 26, 2019

Fixes
  • Docker images build
  • Packaging process
  • New Request Manifest logic
  • New CLI integration
  • New controller and schedule state controller
  • New Ingress proxy
  • New Service Discovery distribution
  • New integrated database
  • Replace Docker to integrated container.d
Description

v.0.1.0-rc release candidate PR.
Contains a lot of changes and improvements.
After switching to go-modules, docker images didn't passed build process.

Version

v0.1.0-rc

@unloop unloop self-requested a review September 26, 2019 14:52
@@ -32,10 +32,9 @@ type Config struct {
Token string `yaml:"token,omitempty"`
} `yaml:"security,omitempty"`

WorkDir string `yaml:"workdir"`
RootDir string `yaml:"root-dirr"`
Copy link
Contributor

Choose a reason for hiding this comment

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

Is second "r" is redundant? root-dirr.

if apiTlsCa != "" {
cfg.API.TLS.FileCert = apiTlsCert
apiTLSCert := os.Getenv("LB_API_TLS_CERT_FILE")
if apiTLSCa != "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you use incorrect variable. I think apiTLSCert should be instead of apiTLSCa.

if apiTlsCa != "" {
cfg.API.TLS.FileKey = apiTlsKey
apiTLSKey := os.Getenv("LB_API_TLS_PRIVATE_KEY_FILE")
if apiTLSCa != "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you use incorrect variable. I think apiTLSKey should be instead of apiTLSCa.

if manifefstdir != "" {
cfg.ManifestDir = manifefstdir
storageDriver := os.Getenv("LB_STORAGE_DRIVER")
if rootDir != "" {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like you use incorrect variable. I think storageDriver should be instead of rootDir.

@@ -0,0 +1,50 @@
# Build manifest
FROM golang:1.11-alpine3.8 as build
Copy link
Contributor

Choose a reason for hiding this comment

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

In go.mod you use 1.14.

@@ -0,0 +1,35 @@
# Build manifest
FROM golang:1.11-alpine3.8
Copy link
Contributor

Choose a reason for hiding this comment

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

In go.mod you use 1.14.

Copy link
Contributor

Choose a reason for hiding this comment

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

Also, in another Dockerfile (build/docker/lastbackend/Dockerfile.stg).

switch u.Scheme {
case "tcp":
return "tcp", u.Host, nil
case "unix":
Copy link
Contributor

Choose a reason for hiding this comment

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

You have a variable for this string. You use it in the line 45 for example.

@undassa undassa added this to In progress in v0.1.0-rc Jul 7, 2020
@sonarcloud
Copy link

sonarcloud bot commented Jul 14, 2021

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
v0.1.0-rc
  
In progress
Development

Successfully merging this pull request may close these issues.

None yet

3 participants