Fixup
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Colin 2024-06-12 20:37:04 -04:00
parent 20636d8a6f
commit 1a86d99255
9 changed files with 5 additions and 5 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -211,10 +211,10 @@ func filterDiffOutput(diffOutput, cname string, ignores []string) (string, error
return "", fmt.Errorf("error writing diff to file: %s", err)
}
// Construct the filter command
// Construct the /usr/local/bin/oculus_filter command
args := append([]string{filename}, ignores...)
cmd := exec.Command("filter", args...)
fullCommand := fmt.Sprintf("filter %s", strings.Join(cmd.Args, " "))
cmd := exec.Command("/usr/local/bin/oculus_filter", args...)
fullCommand := fmt.Sprintf("/usr/local/bin/oculus_filter %s", strings.Join(cmd.Args, " "))
log.Printf("Running command: %s", fullCommand)
fmt.Printf("Running command: %s\n", fullCommand) // Print the command to stdout for debugging

View File

@ -19,10 +19,10 @@ services:
- ingress
labels:
traefik.enable: "false"
oculus.interval: "20s"
oculus.cname: "reporter-ingress"
oculus.ignores: "/logs/,/tmp/"
oculus.enable: "monitor"
oculus.interval: "20s"
deploy:
placement:
constraints:
@ -44,10 +44,10 @@ services:
- ingress
labels:
traefik.enable: "false"
oculus.interval: "20s"
oculus.cname: "api-ingress"
oculus.ignores: "/asdkjh.ralf"
oculus.enable: "monitor"
oculus.interval: "20s"
deploy:
placement:
constraints: