fix: normalize file modes in python image layer #8518
knative-style.yaml
on: pull_request
style
/
changes
5s
style
/
...
/
Auto-format and Check
31s
style
/
...
/
Lint
2m 39s
style
/
...
/
Do Not Submit
5s
style
/
...
/
shell
0s
style
/
...
/
yaml
0s
style
/
...
/
github_actions
0s
Matrix: style / Golang / Boilerplate Check
Annotations
2 errors and 4 warnings
|
style / Golang / Auto-format and Check
Process completed with exit code 1.
|
|
style / Golang / Auto-format and Check:
pkg/oci/builder_test.go#L0
Please run goimports.
diff --git a/pkg/oci/builder_test.go b/pkg/oci/builder_test.go
index da2a7e0..69d3e82 100644
--- a/pkg/oci/builder_test.go
+++ b/pkg/oci/builder_test.go
@@ -398,11 +398,11 @@ func TestNewDataTarball_NormalizesModes(t *testing.T) {
}
}
- assertMode("/func", 0o755) // the project root must be traversable
- assertMode("/func/sub", 0o755) // subdirs too
+ assertMode("/func", 0o755) // the project root must be traversable
+ assertMode("/func/sub", 0o755) // subdirs too
assertMode("/func/func.yaml", 0o644)
assertMode("/func/sub/mod.py", 0o644)
- assertMode("/func/run.sh", 0o755) // executables keep the execute bit
+ assertMode("/func/run.sh", 0o755) // executables keep the execute bit
}
// TestBuilder_StaticEnvs ensures that certain "static" environment variables
|
|
style / Golang / Boilerplate Check (sh)
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.mod
|
|
style / Golang / Boilerplate Check (go)
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.mod
|
|
style / Golang / Auto-format and Check
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.mod
|
|
style / Golang / Lint
Restore cache failed: Dependencies file is not found in /home/runner/work/func/func. Supported file pattern: go.mod
|