CrazyMax 
							
						 
					 
					
						
						
							
						
						1807cfdd26 
					 
					
						
						
							
							docs: changes to bake file definition guide  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-06-05 18:49:16 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						1cb1ee018b 
					 
					
						
						
							
							build: enhance warning message when no output specified  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-06-03 19:26:21 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						03885ec9f1 
					 
					
						
						
							
							hclparser: strip out blocks for json files  
						
						 
						
						... 
						
						
						
						Body.JustAttributes cannot distinguish between blocks and attributes for
JSON files, so the variable block could be included in the list of
attributes returned.
This patch ensures that JSON and HCL files behave the same way by
removing all known block types first, from the provided config schema
and then from a generated definitions schema.
Fixes  #1051 
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-04-28 10:22:20 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						6a702ebe5b 
					 
					
						
						
							
							Merge pull request  #1025  from crazy-max/bake-merge-jsons  
						
						 
						
						... 
						
						
						
						bake: merge targets and vars from multiple JSON files 
						
						
					 
					
						2022-04-25 19:16:05 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						c0f8a8314b 
					 
					
						
						
							
							bake: support compose build secrets  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-04-14 01:28:00 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						cad7ed68be 
					 
					
						
						
							
							bake: merge vars from multiple JSON files  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-04-06 22:17:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						c317ca1e95 
					 
					
						
						
							
							bake: merge targets from multiple JSON files  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-04-06 22:17:23 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						243b428a58 
					 
					
						
						
							
							compose: add test for port mapping  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-30 00:37:55 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						0b8dde1071 
					 
					
						
						
							
							bake: fix skipped group when already visited by another one  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-23 11:16:10 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Sebastiaan van Stijn 
							
						 
					 
					
						
						
							
						
						fc7ba75fd7 
					 
					
						
						
							
							Remove uses of deprecated io/ioutil  
						
						 
						
						... 
						
						
						
						The package has been deprecated since Go 1.16: https://go.dev/doc/go1.16#ioutil 
Signed-off-by: Sebastiaan van Stijn <github@gone.nl > 
						
						
					 
					
						2022-03-10 01:46:06 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						91e550b715 
					 
					
						
						
							
							bake: add path validation for remote bake invocations  
						
						 
						
						... 
						
						
						
						This is a stopgap before proper entitlements support
is implemented.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-02-24 23:19:18 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						280c008f81 
					 
					
						
						
							
							bake: make named contexts relative to remote bake input  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-02-24 23:19:12 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						32f6358d78 
					 
					
						
						
							
							bake: add no-cache-filter  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-02-10 22:01:48 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						0fc2b5ca85 
					 
					
						
						
							
							bake: add named contexts keys  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-01-27 18:46:02 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						c74b2fe7a4 
					 
					
						
						
							
							bake: restrict target name  
						
						 
						
						... 
						
						
						
						This fix adds a restriction `[a-zA-Z0-9_-]+`
for target name. This is pretty much the same as the
container name restriction in moby.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-01-26 10:29:21 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						0044c28b1f 
					 
					
						
						
							
							bake: keep target inheritance  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-01-13 22:23:20 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						5d715ada96 
					 
					
						
						
							
							compose: resolve build args from service environment  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-01-06 11:59:49 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						3400fa5628 
					 
					
						
						
							
							compose: test env_file  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-01-06 11:42:16 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						d95ebef55c 
					 
					
						
						
							
							bake: fix group resolution  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-12-14 11:17:37 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						33c121df01 
					 
					
						
						
							
							Merge pull request  #881  from crazy-max/fix-bake-print  
						
						 
						
						... 
						
						
						
						bake: fix groups print 
						
						
					 
					
						2021-12-13 16:09:24 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						4466a24f9e 
					 
					
						
						
							
							bake: fix groups print  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-12-13 19:21:33 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						ec9daba87e 
					 
					
						
						
							
							bake: ignore NetworkMode field for json and hcl  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-12-10 19:32:40 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						7371dda7a2 
					 
					
						
						
							
							Merge pull request  #863  from zachary-povey/support_host_network_in_compose  
						
						 
						
						... 
						
						
						
						Add NetworkMode to bake target 
						
						
					 
					
						2021-12-04 21:04:05 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zachary Povey 
							
						 
					 
					
						
						
							
						
						7f8dbf890d 
					 
					
						
						
							
							Remove support for network override in bake  
						
						 
						
						... 
						
						
						
						Signed-off-by: Zachary Povey <zachary.povey@autotrader.co.uk > 
						
						
					 
					
						2021-12-01 09:45:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zachary Povey 
							
						 
					 
					
						
						
							
						
						4ee7f70400 
					 
					
						
						
							
							Remove NetworkMode support for HCL targets  
						
						 
						
						... 
						
						
						
						Signed-off-by: Zachary Povey <zachary.povey@autotrader.co.uk > 
						
						
					 
					
						2021-11-30 11:33:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Eliott Wiener 
							
						 
					 
					
						
						
							
						
						dcabc22072 
					 
					
						
						
							
							bake: build definition file via stdin  
						
						 
						
						... 
						
						
						
						closes  #833 
Accept bake build definition file from stdin with `-f -`.
Signed-off-by: Eliott Wiener <eliottwiener@gmail.com > 
						
						
					 
					
						2021-11-25 12:43:38 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Zachary Povey 
							
						 
					 
					
						
						
							
						
						ae53101e89 
					 
					
						
						
							
							Add NetworkMode to bake target  
						
						 
						
						... 
						
						
						
						Allows specification of network mode in a bake target.
Fixes  #848 
Signed-off-by: Zachary Povey <zachary.povey@autotrader.co.uk > 
						
						
					 
					
						2021-11-25 16:00:42 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						316ca972b6 
					 
					
						
						
							
							bake: fix print output  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-11-24 21:54:57 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						82b212bddf 
					 
					
						
						
							
							bake: fix protocol detection  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-11-02 23:12:27 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						7a7b73c043 
					 
					
						
						
							
							bake: restore previous override merge behavior  
						
						 
						
						... 
						
						
						
						For array fields, overrides are merged together
but override is not merged with the target. If merging
with target is desired we can add support for
overrides with += operator in the future.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-09-29 08:27:27 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						0e4d7aa7a9 
					 
					
						
						
							
							bake: add test for merging overrides  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-09-28 23:21:07 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						6fc906532b 
					 
					
						
						
							
							bake: fix using push override with output definition  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-09-20 16:22:27 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						422ba60b04 
					 
					
						
						
							
							use long-running context for client initialization  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-08-19 20:36:24 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						cb185f095f 
					 
					
						
						
							
							Merge pull request  #721  from crazy-max/compose-ext  
						
						 
						
						... 
						
						
						
						bake: `x-bake` extension field with compose 
						
						
					 
					
						2021-08-13 07:51:23 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						89e126fa60 
					 
					
						
						
							
							bake: x-bake extension field with compose  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-08-13 09:15:15 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						c685e46609 
					 
					
						
						
							
							bake: print default group  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-08-12 09:02:36 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						9aa8f09f14 
					 
					
						
						
							
							Set ConfigFile to parse compose files with bake  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-07-30 17:56:40 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						1bb425a882 
					 
					
						
						
							
							bake: allow BAKE_CMD_CONTEXT builtin var  
						
						 
						
						... 
						
						
						
						Allows accessing the main context for bake command from bake
file that has been imported remotely.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-07-12 21:01:41 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						ba443811e4 
					 
					
						
						
							
							Use compose-spec parser  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-07-12 11:21:04 +02:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						79433cef7a 
					 
					
						
						
							
							bake: fix target merge between compose and hcl  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-06-24 22:40:32 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						c5eb8f58b4 
					 
					
						
						
							
							bake: new hclparser package  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-06-24 22:40:25 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						03b7128b60 
					 
					
						
						
							
							Merge pull request  #575  from tonistiigi/user-func-vars  
						
						 
						
						... 
						
						
						
						bake: allow user functions in variables and vice-versa 
						
						
					 
					
						2021-06-23 11:08:56 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						df7a318ec0 
					 
					
						
						
							
							bake: allow user functions in variables and vice-versa  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-05-05 22:08:31 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Akihiro Suda 
							
						 
					 
					
						
						
							
						
						399df854ea 
					 
					
						
						
							
							build: split buildflags package  
						
						 
						
						... 
						
						
						
						Planned to be imported by nerdctl in future.
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp > 
						
						
					 
					
						2021-04-12 14:36:56 +09:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Alex Couture-Beil 
							
						 
					 
					
						
						
							
						
						eec843a325 
					 
					
						
						
							
							include default ssh socket when given an ssh-based git url  
						
						 
						
						... 
						
						
						
						Signed-off-by: Alex Couture-Beil <alex@earthly.dev > 
						
						
					 
					
						2021-04-01 11:25:18 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						83868a48b7 
					 
					
						
						
							
							temp local copy of userfunc  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-03-26 17:06:38 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						f036bba48c 
					 
					
						
						
							
							bake: add test for json vars and attributes  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-03-25 11:00:17 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						0fe2ce7fac 
					 
					
						
						
							
							bake: allow attributes in global scope  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-03-25 11:00:17 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						33f25acb08 
					 
					
						
						
							
							bake: allow variables to reference each other  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-03-07 21:27:30 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						0e9066f6ed 
					 
					
						
						
							
							bake: fix hcl tests layout  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-03-01 12:08:09 -08:00