-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
feat: Adds argo server
command. Fixes #1966
#1972
Conversation
|
||
wfList, err := wfClient.ArgoprojV1alpha1().WorkflowTemplates(req.Namespace).List(v1.ListOptions{}) | ||
options := v1.ListOptions{} | ||
if req.ListOptions != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bug fix
CGO_ENABLED=0 GOARCH=amd64 GOOS=windows go build -v -i -ldflags '${LDFLAGS}' -o dist/argo-windows-amd64 ./cmd/argo | ||
|
||
.PHONY: cli-image | ||
cli-image: dist/argo-linux-amd64 | ||
# Create CLI image | ||
ifeq ($(DEV_IMAGE),true) | ||
cp dist/argo-linux-amd64 argo | ||
docker build -t $(IMAGE_NAMESPACE)/argocli:$(IMAGE_TAG) --target argocli -f Dockerfile.dev. | ||
docker build -t $(IMAGE_NAMESPACE)/argocli:$(IMAGE_TAG) --target argocli -f Dockerfile.dev . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bug fix
test/e2e/fixtures/e2e_suite.go
Outdated
@@ -191,7 +191,7 @@ func (s *E2ESuite) AfterTest(_, _ string) { | |||
|
|||
func (s *E2ESuite) printDiagnostics() { | |||
s.Diagnostics.Print() | |||
wfs, err := s.wfClient.List(metav1.ListOptions{FieldSelector: "metadata.namespace=" + Namespace}) | |||
wfs, err := s.wfClient.List(metav1.ListOptions{FieldSelector: "metadata.namespace=" + Namespace, LabelSelector: label}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only print diagnostics for test subjects
@@ -16,7 +17,9 @@ type Diagnostics struct { | |||
} | |||
|
|||
func (d *Diagnostics) Logf(format string, args ...interface{}) { | |||
d.Log(log.Fields{}, fmt.Sprintf(format, args...)) | |||
for _, line := range strings.Split(fmt.Sprintf(format, args...), "\n") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
prints out HTTP chatter on multiple lines
argo server
command. Fixes #1966argo server
command. Fixes #1966
Codecov Report
@@ Coverage Diff @@
## master #1972 +/- ##
=========================================
+ Coverage 8.88% 8.88% +<.01%
=========================================
Files 53 53
Lines 33608 33611 +3
=========================================
+ Hits 2985 2986 +1
- Misses 30233 30234 +1
- Partials 390 391 +1
Continue to review full report at Codecov.
|
Checklist:
"fix(controller): Updates such and such. Fixes #1234"
.