diff --git a/cmd/commander/Makefile b/cmd/commander/Makefile index 5d08ee8..601b30a 100644 --- a/cmd/commander/Makefile +++ b/cmd/commander/Makefile @@ -40,8 +40,8 @@ e2e-test: .PHONY: image image: - docker build -t $(IMG_REPO):$(PACKAGE_VERSION) . + docker build -t $(IMG_REPO):$(PACKAGE_VERSION) -t $(IMG_REPO):latest . .PHONY: push push: image - docker push $(IMG_REPO):$(PACKAGE_VERSION) + docker push $(IMG_REPO) diff --git a/cmd/commander/commander b/cmd/commander/commander deleted file mode 100755 index 28a3b70..0000000 Binary files a/cmd/commander/commander and /dev/null differ diff --git a/cmd/commander/pkg/run_command.go b/cmd/commander/pkg/run_command.go index b1d337d..2f04989 100644 --- a/cmd/commander/pkg/run_command.go +++ b/cmd/commander/pkg/run_command.go @@ -101,8 +101,8 @@ func (r *Runnable) setStatus(out map[string]CommandOutput) { totalTimeTakenSecsFmt := totalTimeTakenSecs.Round(time.Millisecond).String() r.Status.ExecutionTime = ExecutionTime{ // ValueInSeconds: float64(totalTimeTakenSecs.Seconds()), - ValueInSeconds: totalTimeTakenSecs.Seconds() * 100.0 / 100, - ReadableValue: totalTimeTakenSecsFmt, + //ValueInSeconds: totalTimeTakenSecs.Seconds(), + ReadableValue: totalTimeTakenSecsFmt, } r.Status.Outputs = out } diff --git a/cmd/commander/pkg/shell_command.go b/cmd/commander/pkg/shell_command.go index 4dc6b3b..a8bc533 100644 --- a/cmd/commander/pkg/shell_command.go +++ b/cmd/commander/pkg/shell_command.go @@ -220,8 +220,8 @@ func (l RunnableShellList) Run() map[string]CommandOutput { Stdout: stdout.String(), ExecutionTime: ExecutionTime{ // ValueInSeconds: float64(timeTaken.Seconds()), - ValueInSeconds: timeTaken.Seconds() * 100.0 / 100, - ReadableValue: timeTakenFmt, + //ValueInSeconds: timeTaken.Seconds(), + ReadableValue: timeTakenFmt, }, Warning: warn, } diff --git a/test/e2e/inference.yaml b/test/e2e/inference.yaml index e60b536..83719c2 100644 --- a/test/e2e/inference.yaml +++ b/test/e2e/inference.yaml @@ -35,7 +35,7 @@ spec: values: - NotEligible when: ListCountEquals - count: 10 + count: 9 resync: onNotEligibleResyncInSeconds: 5 tasks: @@ -54,7 +54,7 @@ spec: stateCheck: stateCheckOperator: ListCountEquals # These many Recipes should succeed - count: 9 + count: 8 # Then assert the count of Recipes that should fail - name: assert-count-of-tests-that-failed assert: diff --git a/test/experiments/assert-recipe-lock-is-garbage-collected.yaml b/test/experiments/assert-recipe-lock-is-garbage-collected.yaml index 6573977..55f627c 100644 --- a/test/experiments/assert-recipe-lock-is-garbage-collected.yaml +++ b/test/experiments/assert-recipe-lock-is-garbage-collected.yaml @@ -77,7 +77,7 @@ metadata: name: assert-recipe-to-verify-its-lock-garbage-collection namespace: d-testing labels: - d-testing.dope.mayadata.io/inference: "true" + #d-testing.dope.mayadata.io/inference: "true" spec: # This Recipe is eligible to run only when the checks succeed #