mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	puppet: Upgrade go-camo to 2.4.0.
This commit is contained in:
		
				
					committed by
					
						
						Alex Vandiver
					
				
			
			
				
	
			
			
			
						parent
						
							51a516384d
						
					
				
				
					commit
					f2e66c0b20
				
			@@ -7,12 +7,13 @@ class zulip::camo (String $listen_address = '0.0.0.0') {
 | 
				
			|||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  $version = $zulip::common::versions['go-camo']['version']
 | 
					  $version = $zulip::common::versions['go-camo']['version']
 | 
				
			||||||
 | 
					  $goversion = $zulip::common::versions['go-camo']['goversion']
 | 
				
			||||||
  $dir = "/srv/zulip-go-camo-${version}"
 | 
					  $dir = "/srv/zulip-go-camo-${version}"
 | 
				
			||||||
  $bin = "${dir}/bin/go-camo"
 | 
					  $bin = "${dir}/bin/go-camo"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  zulip::external_dep { 'go-camo':
 | 
					  zulip::external_dep { 'go-camo':
 | 
				
			||||||
    version        => $version,
 | 
					    version        => $version,
 | 
				
			||||||
    url            => "https://github.com/cactus/go-camo/releases/download/v${version}/go-camo-${version}.go1171.linux-${::architecture}.tar.gz",
 | 
					    url            => "https://github.com/cactus/go-camo/releases/download/v${version}/go-camo-${version}.go${goversion}.linux-${::architecture}.tar.gz",
 | 
				
			||||||
    tarball_prefix => "go-camo-${version}",
 | 
					    tarball_prefix => "go-camo-${version}",
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -36,10 +36,11 @@ class zulip::common {
 | 
				
			|||||||
  $versions = {
 | 
					  $versions = {
 | 
				
			||||||
    # https://github.com/cactus/go-camo/releases
 | 
					    # https://github.com/cactus/go-camo/releases
 | 
				
			||||||
    'go-camo' => {
 | 
					    'go-camo' => {
 | 
				
			||||||
      'version' => '2.3.0',
 | 
					      'version'   => '2.4.0',
 | 
				
			||||||
      'sha256' => {
 | 
					      'goversion' => '1176',
 | 
				
			||||||
        'amd64'   => '965506e6edb9d974c810519d71e847afb7ca69d1d01ae7d8be6d7a91de669c0c',
 | 
					      'sha256'    => {
 | 
				
			||||||
        'aarch64' => '40463f6790eb0d2da69ad6a902fcc4c6b0c0ac24106a6c28fbfce9dfa4cb15cd',
 | 
					        'amd64'   => '0033c412d1da09caca1774d2a7e3de3ec281e0450d67c574846f167ce253b67c',
 | 
				
			||||||
 | 
					        'aarch64' => '81bdf24e769cdf9a8bd2c5d9ecc633437eb3b22be73bdc10e03e517dd887b2b7',
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user