{ "version": "2.0.1", "description": "Manages a local OpenShift 4.x cluster optimized for testing and development purposes.", "homepage": "https://code-ready.github.io/crc/", "license": "Apache-2.0", "notes": "To acquire a pull secret, visit: https://cloud.redhat.com/openshift/install/crc/installer-provisioned", "depends": "lessmsi", "architecture": { "64bit": { "url": "https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/2.0.1/crc-windows-installer.zip", "hash": "cfb88114cff493a26e0168ead28deca7c8d93fe1929e41cf942ebd1870eab445", "pre_install": [ "# The trailing backslash(\\) in $dir\\ is required by lessmsi.", "# '>nul', '2>&1' sets cmd stdout to $null, and stderr to stdout", "Invoke-ExternalCommand lessmsi -ArgumentList @('x', \"$dir\\crc-windows-amd64.msi\", \"$dir\\\") | Out-Null", "$tail = $version.Split('-')[1]", "Invoke-ExternalCommand cmd -ArgumentList @('/c', 'copy', '/b', \"`\"$dir\\SourceDir\\CodeReady Containers\\crc_hyperv_$tail.crcbundle.*`\"\", \"`\"$dir\\crc_hyperv_$tail.crcbundle`\"\", '>nul', '2>&1') | Out-Null", "Remove-Item \"$dir\\SourceDir\\CodeReady Containers\\crc_hyperv_$tail.crcbundle.*\", \"$dir\\*.cab\", \"$dir\\*.msi\" | Out-Null", "Copy-Item \"$dir\\SourceDir\\CodeReady Containers\\*\" \"$dir\" -Force -Recurse | Out-Null", "Remove-Item \"$dir\\SourceDir\" -Force -Recurse | Out-Null" ] } }, "bin": "crc.exe", "checkver": { "url": "https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/latest/release-info.json", "jsonpath": "$.version.crcVersion" }, "autoupdate": { "architecture": { "64bit": { "url": "https://developers.redhat.com/content-gateway/rest/mirror/pub/openshift-v4/clients/crc/$matchHead/crc-windows-installer.zip" } }, "hash": { "url": "$url.sha256" } } }