mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
crc: Add version 1.34.0-4.9.0 (#981)
* crc: Add version 1.20.0 * Update crc.json * Update crc.json Co-authored-by: Issac Lin <issaclin32@gmail.com>
This commit is contained in:
parent
db9d97734c
commit
2b7d6e2a23
38
bucket/crc.json
Normal file
38
bucket/crc.json
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
{
|
||||||
|
"version": "1.34.0-4.9.0",
|
||||||
|
"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/1.34.0/crc-windows-installer.zip",
|
||||||
|
"hash": "4c136278f1b13c22fb6941f6e7e0462f951a88bef19d94683c8db0c49e00bf50",
|
||||||
|
"pre_install": [
|
||||||
|
"# The trailing backslash(\\) in $dir\\\\ is required by lessmsi.",
|
||||||
|
"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": {
|
||||||
|
"github": "https://github.com/code-ready/crc",
|
||||||
|
"regex": "Release\\s([\\d.]+-[\\d.]+)"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user