mirror of https://github.com/fluxcd/flux2.git
				
				
				
			release/v2.7.x
				
					main
				
					release/v2.6.x
				
					conform-k8s-1.33
				
					release/v2.5.x
				
					release/v2.4.x
				
					remove-notation-validation
				
					release/v2.3.x
				
					release/v2.2.x
				
					RFC
				
					fix-commit-log
				
					flux-audit
				
					release/v2.1.x
				
					context-ns
				
					ksm-dashboard
				
					rfc-passwordless-git-auth
				
					release/v2.0.x
				
					rfc-gating
				
					release/v0.27.4
				
					rfc-0003
				
					rfc-0002
				
					rfc-0001
				
					prompt-for-tokens
				
					encrypt-init-cmd
				
			
			
				
					
						v2.7.3
					
				
					
						v2.7.2
					
				
					
						v2.7.1
					
				
					
						v2.7.0
					
				
					
						v2.6.4
					
				
					
						v2.6.3
					
				
					
						v2.6.2
					
				
					
						v2.6.1
					
				
					
						v2.6.0
					
				
					
						v2.5.1
					
				
					
						v2.5.0
					
				
					
						v2.4.0
					
				
					
						v2.3.0
					
				
					
						v2.2.3
					
				
					
						v2.2.2
					
				
					
						v2.2.1
					
				
					
						v2.2.0
					
				
					
						v2.1.2
					
				
					
						v2.1.1
					
				
					
						v2.1.0
					
				
					
						v2.0.1
					
				
					
						v2.0.0
					
				
					
						v2.0.0-rc.5
					
				
					
						v2.0.0-rc.4
					
				
					
						v2.0.0-rc.3
					
				
					
						v2.0.0-rc.2
					
				
					
						v2.0.0-rc.1
					
				
					
						v0.41.2
					
				
					
						v0.40.0
					
				
					
						v0.39.0
					
				
					
						v0.38.2
					
				
					
						v0.38.1
					
				
					
						v0.38.0
					
				
					
						v0.37.0
					
				
					
						v0.36.0
					
				
					
						v0.35.0
					
				
					
						v0.34.0
					
				
					
						v0.33.0
					
				
					
						v0.32.0
					
				
					
						v0.31.3
					
				
					
						v0.31.2
					
				
					
						v0.31.1
					
				
					
						v0.31.0
					
				
					
						v0.30.1
					
				
					
						v0.28.2
					
				
					
						v0.27.2
					
				
					
						v0.27.1
					
				
					
						v0.27.0
					
				
					
						v0.26.3
					
				
					
						v0.26.2
					
				
					
						v0.26.1
					
				
					
						v0.26.0
					
				
					
						v0.25.3
					
				
					
						v0.0.1
					
				
					
						v0.0.1-alpha.1
					
				
					
						v0.0.1-beta.1
					
				
					
						v0.0.1-beta.2
					
				
					
						v0.0.1-beta.3
					
				
					
						v0.0.1-beta.4
					
				
					
						v0.0.10
					
				
					
						v0.0.11
					
				
					
						v0.0.12
					
				
					
						v0.0.13
					
				
					
						v0.0.14
					
				
					
						v0.0.15
					
				
					
						v0.0.16
					
				
					
						v0.0.17
					
				
					
						v0.0.18
					
				
					
						v0.0.19
					
				
					
						v0.0.2
					
				
					
						v0.0.20
					
				
					
						v0.0.21
					
				
					
						v0.0.22
					
				
					
						v0.0.23
					
				
					
						v0.0.24
					
				
					
						v0.0.25
					
				
					
						v0.0.26
					
				
					
						v0.0.27
					
				
					
						v0.0.28
					
				
					
						v0.0.3
					
				
					
						v0.0.4
					
				
					
						v0.0.5
					
				
					
						v0.0.6
					
				
					
						v0.0.7
					
				
					
						v0.0.8
					
				
					
						v0.0.9
					
				
					
						v0.1.0
					
				
					
						v0.1.1
					
				
					
						v0.1.2
					
				
					
						v0.1.3
					
				
					
						v0.1.4
					
				
					
						v0.1.5
					
				
					
						v0.1.6
					
				
					
						v0.1.7
					
				
					
						v0.1.8
					
				
					
						v0.10.0
					
				
					
						v0.11.0
					
				
					
						v0.12.0
					
				
					
						v0.12.1
					
				
					
						v0.12.2
					
				
					
						v0.12.3
					
				
					
						v0.13.0
					
				
					
						v0.13.1
					
				
					
						v0.13.2
					
				
					
						v0.13.3
					
				
					
						v0.13.4
					
				
					
						v0.14.0
					
				
					
						v0.14.1
					
				
					
						v0.14.2
					
				
					
						v0.15.0
					
				
					
						v0.15.1
					
				
					
						v0.15.2
					
				
					
						v0.15.3
					
				
					
						v0.16.0
					
				
					
						v0.16.1
					
				
					
						v0.16.2
					
				
					
						v0.17.0
					
				
					
						v0.17.1
					
				
					
						v0.17.2
					
				
					
						v0.18.0
					
				
					
						v0.18.1
					
				
					
						v0.18.2
					
				
					
						v0.18.3
					
				
					
						v0.19.0
					
				
					
						v0.19.1
					
				
					
						v0.2.0
					
				
					
						v0.2.1
					
				
					
						v0.2.2
					
				
					
						v0.2.3
					
				
					
						v0.2.4
					
				
					
						v0.2.5
					
				
					
						v0.2.6
					
				
					
						v0.20.0
					
				
					
						v0.20.1
					
				
					
						v0.21.0
					
				
					
						v0.21.1
					
				
					
						v0.22.0
					
				
					
						v0.22.1
					
				
					
						v0.23.0
					
				
					
						v0.24.0
					
				
					
						v0.24.1
					
				
					
						v0.25.0
					
				
					
						v0.25.1
					
				
					
						v0.25.2
					
				
					
						v0.27.3
					
				
					
						v0.27.4
					
				
					
						v0.28.0
					
				
					
						v0.28.1
					
				
					
						v0.28.3
					
				
					
						v0.28.4
					
				
					
						v0.28.5
					
				
					
						v0.29.0
					
				
					
						v0.29.1
					
				
					
						v0.29.2
					
				
					
						v0.29.3
					
				
					
						v0.29.4
					
				
					
						v0.29.5
					
				
					
						v0.3.0
					
				
					
						v0.30.0
					
				
					
						v0.30.2
					
				
					
						v0.31.4
					
				
					
						v0.31.5
					
				
					
						v0.38.3
					
				
					
						v0.4.0
					
				
					
						v0.4.1
					
				
					
						v0.4.2
					
				
					
						v0.4.3
					
				
					
						v0.40.1
					
				
					
						v0.40.2
					
				
					
						v0.41.0
					
				
					
						v0.41.1
					
				
					
						v0.5.0
					
				
					
						v0.5.1
					
				
					
						v0.5.2
					
				
					
						v0.5.3
					
				
					
						v0.5.4
					
				
					
						v0.5.5
					
				
					
						v0.5.6
					
				
					
						v0.5.7
					
				
					
						v0.5.8
					
				
					
						v0.5.9
					
				
					
						v0.6.0
					
				
					
						v0.6.1
					
				
					
						v0.6.2
					
				
					
						v0.6.3
					
				
					
						v0.7.0
					
				
					
						v0.7.1
					
				
					
						v0.7.2
					
				
					
						v0.7.3
					
				
					
						v0.7.4
					
				
					
						v0.7.5
					
				
					
						v0.7.6
					
				
					
						v0.7.7
					
				
					
						v0.8.0
					
				
					
						v0.8.1
					
				
					
						v0.8.2
					
				
					
						v0.9.0
					
				
					
						v0.9.1
					
				
			
		${ noResults }
		
	
		
			5 Commits (007b79c72942184a093c736ab89e3b11fcc7a66e)
		
	
	
		
	
	| Author | SHA1 | Message | Date | 
|---|---|---|---|
|  | 7f99655a2b | Update golden files with RFC-0005 revision formats Signed-off-by: Hidde Beydals <hello@hidde.co> | 3 years ago | 
|  | b810aea6cc | Make `flux trace` work with OCIRepository * Added support for OCIRepositories to `flux trace` * Changed indentation to compensate new, longer field name "Source Revision" * Added unit tests for the new output closes #2970 Signed-off-by: Max Jonas Werner <max@e13.dev> | 3 years ago | 
|  | 437a7a2852 | Fix failure in TestTrace/* when timezone isn't UTC The TestTrace/Deployment and TestTrace/HelmRelease test cases fail in
environments where the timezone isn't UTC, because they compare a local time
string to the golden file, which has time in UTC.  Here is an example:
```
--- FAIL: TestTrace (0.12s)
    --- FAIL: TestTrace/Deployment (0.08s)
        main_test.go:337: Mismatch from golden file 'testdata/trace/deployment.golden': Mismatch from expected value (-want +got):
              strings.Join({
                ... // 88 identical bytes
                " Flux\n---\nHelmRelease:    podinfo\nNamespace:      podinfo-8\nRevi",
                "sion:       6.0.0\nStatus:         Last reconciled at 2021-07-16 ",
            -   "15:42:20 +0000 UTC",
            +   "09:42:20 -0600 MDT",
                "\nMessage:        Release reconciliation succeeded\n---\nHelmChart:",
                "      podinfo-podinfo\nNamespace:      flux-system-9\nChart:      ",
                "    podinfo\nVersion:        6.0.0\nRevision:       6.0.0\nStatus: ",
                "        Last reconciled at 2021-07-16 ",
            -   "15:32:09 +0000 UTC",
            +   "09:32:09 -0600 MDT",
                "\nMessage:        Fetched revision: 6.0.0\n---\nHelmRepository: pod",
                "info\nNamespace:      flux-system-9\nURL:            https://stefa",
                "nprodan.github.io/podinfo\nRevision:       8411f23d07d3701f0e96e7",
                "d9e503b7936d7e1d56\nStatus:         Last reconciled at 2021-07-",
            -   "1",
                "1",
            -   " 00:25:46 +0000 UTC",
            +   "0 18:25:46 -0600 MDT",
                "\nMessage:        Fetched revision: 8411f23d07d3701f0e96e7d9e503b",
                "7936d7e1d56\n",
              }, "")
```
This commit fixes the issue by converting the golden test times to local
time before comparing. The utility function toLocalTime() is added to
trace_test.go, and then it is used to provide localized times as
template parameters to the golden files.
Signed-off-by: Andrew Jenkins <andrew@aspenmesh.io> | 4 years ago | 
|  | d45501a129 | Use shared envTest for unit tests Speed up unit tests by using a shared envTest. This requires each test to use its own namespace to avoid clobbering objects for other tests. Tests previously took around 8 seconds each, and now the initial test takes 2 seconds with follow up tests taking less than a second each. Also update existing tests that use a fixed namespace to use a generated namespace. Share gold file template function with yaml files. Remove the testClusterMode, and instead rely on MainTest to do the appropriate test setup and rootArgs flag setup. Move the rootArg flag setup out of NewTestEnvKubeManager to avoid side effects. A follow up change can be to push the individual setups from NewTestEnvKubeManager() into their respective TestMain since the harness share little code. Signed-off-by: Allen Porter <allen@thebends.org> | 4 years ago | 
|  | 11708d4189 | Rename trace test golden files Rename trace test golden files to match the convention used by other tests Signed-off-by: Allen Porter <allen@thebends.org> | 4 years ago |