Containerizing things.
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Colin 2024-06-12 17:18:49 -04:00
parent 0bbdf1af02
commit 557d326340
8 changed files with 5 additions and 0 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

@ -215,6 +215,11 @@ func filterDiffOutput(diffOutput, cname string, ignores []string) (string, error
return "", fmt.Errorf("error writing diff to file: %s", err)
}
if len(ignores) == 0 {
log.Println("No ignore patterns provided.")
return "", fmt.Errorf("no ignore patterns provided")
}
// Construct the filter command
args := append([]string{filename}, ignores...)
cmd := exec.Command("/usr/local/bin/oculus_filter", args...)