mirror of
				https://github.com/flatcar/scripts.git
				synced 2025-10-31 00:01:03 +01:00 
			
		
		
		
	ci-automation/release.sh: lift 'experimental' usage
Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
		
							parent
							
								
									a55adb1287
								
							
						
					
					
						commit
						d333b4eb55
					
				| @ -164,18 +164,13 @@ function copy_from_bincache_to_bucket() { | |||||||
|     local arch="${2}" |     local arch="${2}" | ||||||
|     local version="${3}" |     local version="${3}" | ||||||
| 
 | 
 | ||||||
|     echo "Experimental (i.e ignore if it fails) - copy the images to CloudFlare bucket" |     echo "Copy the images from bincache to CloudFlare bucket" | ||||||
|     ( |  | ||||||
|     set +eu |  | ||||||
|     docker run --rm -ti \ |     docker run --rm -ti \ | ||||||
|       -v "${RCLONE_CONFIGURATION_FILE}:/opt/rclone.conf:ro" \ |       -v "${RCLONE_CONFIGURATION_FILE}:/opt/rclone.conf:ro" \ | ||||||
|       docker.io/rclone/rclone:1.71.1 \ |       docker.io/rclone/rclone:1.71.1 \ | ||||||
|         --config "/opt/rclone.conf" \ |         --config "/opt/rclone.conf" \ | ||||||
|         sync \ |         sync \ | ||||||
|         --http-url "https://${BUILDCACHE_SERVER}/images/${arch}/${version}" :http: "r2:flatcar/${channel}/${arch}-usr/${version}" |         --http-url "https://${BUILDCACHE_SERVER}/images/${arch}/${version}" :http: "r2:flatcar/${channel}/${arch}-usr/${version}" | ||||||
|     # Exit the function cleanly for now: |  | ||||||
|     true |  | ||||||
|     ) |  | ||||||
|     # Note: There is no "current" symlink and when switching the release to current we |     # Note: There is no "current" symlink and when switching the release to current we | ||||||
|     # could at a later stage (when the update payloads are selected in Nebraska) either |     # could at a later stage (when the update payloads are selected in Nebraska) either | ||||||
|     # use folder copies where we delete the old "current" folder first, or we could |     # use folder copies where we delete the old "current" folder first, or we could | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user