source-controller/controllers
Paulo Gomes 49232cbd90
Fix tests failing in Ubuntu
Some test cases rely on checksum to match in order to pass.
Those checksums were calculated based on file headers which
contain their file modes.

In Ubuntu, the umask is set to 002 by default, resulting in
the tests files having different permissions then when the
same files are cloned on another Linux machine with umask
set to 022.

This change ensures that the files are always set (to 0644 and
the directories to 0755) before running the aforementioned tests.

Signed-off-by: Paulo Gomes <paulo.gomes@weave.works>
2022-05-25 11:39:09 +01:00
..
testdata test: source ignore for subdirectories in a repo 2022-03-23 17:17:06 +05:30
artifact.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
artifact_matchers_test.go Implement Size field on archived artifacts 2022-02-28 16:01:34 +01:00
artifact_test.go Introduce `artifactSet` to replace `hasArtifactUpdated` 2022-02-23 12:35:30 +01:00
bucket_controller.go Add flags to configure exponential back-off retry 2022-04-12 10:44:46 +01:00
bucket_controller_fetch_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
bucket_controller_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
gitrepository_controller.go gitrepo: Intro contentConfigChecksum & improvement 2022-05-20 19:52:18 +05:30
gitrepository_controller_test.go Fix tests failing in Ubuntu 2022-05-25 11:39:09 +01:00
helmchart_controller.go introduce eventLogf to HelmRepositoryOCIReconciler; fix formatting 2022-05-24 16:13:42 +02:00
helmchart_controller_test.go introduce `internal/helm/registry` package 2022-05-24 10:32:38 +02:00
helmrepository_controller.go [RFC 0002] Flux OCI support for Helm (#690) 2022-05-19 14:50:16 +02:00
helmrepository_controller_oci.go introduce eventLogf to HelmRepositoryOCIReconciler; fix formatting 2022-05-24 16:13:42 +02:00
helmrepository_controller_oci_test.go dockerconfigjson for OCI registry authentication 2022-05-24 10:31:37 +02:00
helmrepository_controller_test.go helmrepo: Fix test flake in type update test 2022-05-25 02:53:06 +05:30
source_predicate.go Switch to v1beta2 API package 2022-02-23 12:35:25 +01:00
storage.go Reduce file permission 2022-04-13 17:14:45 +02:00
storage_test.go test: use `T.TempDir` to create temporary test directory 2022-04-29 23:01:39 +08:00
suite_test.go introduce `internal/helm/registry` package 2022-05-24 10:32:38 +02:00