curl: do not hardcode version requirement
Signed-off-by: Sam Alba <sam.alba@gmail.com>
This commit is contained in:
parent
dd17c48922
commit
f6aea7e529
@ -18,7 +18,7 @@ import (
|
||||
|
||||
// Re-usable aws-cli component
|
||||
#CLI: {
|
||||
package: [string]: string
|
||||
package: [string]: string | bool
|
||||
|
||||
#up: [
|
||||
op.#Load & {
|
||||
@ -26,7 +26,7 @@ import (
|
||||
"package": package
|
||||
"package": bash: "=~5.1"
|
||||
"package": jq: "=~1.6"
|
||||
"package": curl: "=~7.77"
|
||||
"package": curl: true
|
||||
"package": "aws-cli": "=~1.18"
|
||||
}
|
||||
},
|
||||
@ -42,7 +42,7 @@ import (
|
||||
code: string
|
||||
|
||||
// Extra pkgs to install
|
||||
package: [string]: string
|
||||
package: [string]: string | bool
|
||||
|
||||
// Files to mount
|
||||
files: [string]: string
|
||||
|
@ -9,7 +9,7 @@ import (
|
||||
#GCloud: {
|
||||
config: #Config
|
||||
version: string | *"288.0.0"
|
||||
package: [string]: string
|
||||
package: [string]: string | bool
|
||||
|
||||
#up: [
|
||||
op.#Load & {
|
||||
@ -18,7 +18,7 @@ import (
|
||||
"package": bash: "=~5.1"
|
||||
"package": python3: "=~3.8"
|
||||
"package": jq: "=~1.6"
|
||||
"package": curl: "=~7.77"
|
||||
"package": curl: true
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -22,7 +22,7 @@ import (
|
||||
from: alpine.#Image & {
|
||||
package: bash: "=~5.1"
|
||||
package: jq: "=~1.6"
|
||||
package: curl: "=~7.77"
|
||||
package: curl: true
|
||||
}
|
||||
},
|
||||
op.#WriteFile & {
|
||||
|
@ -21,7 +21,7 @@ import (
|
||||
from: alpine.#Image & {
|
||||
package: bash: "=~5.1"
|
||||
package: jq: "=~1.6"
|
||||
package: curl: "=~7.77"
|
||||
package: curl: true
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -62,7 +62,7 @@ import (
|
||||
package: {
|
||||
bash: "=~5.1"
|
||||
jq: "=~1.6"
|
||||
curl: "=~7.77"
|
||||
curl: true
|
||||
yarn: "=~1.22"
|
||||
}
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ TestImageVersion: {
|
||||
TestPackageInstall: {
|
||||
image: alpine.#Image & {
|
||||
package: jq: true
|
||||
package: curl: "=~7.77"
|
||||
package: curl: true
|
||||
version: "3.13"
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ TestPackageInstall: {
|
||||
args: ["jq", "--version"]
|
||||
},
|
||||
op.#Exec & {
|
||||
args: ["sh", "-ec", "curl --version | grep -q 7.76"]
|
||||
args: ["sh", "-ec", "curl --version"]
|
||||
},
|
||||
]
|
||||
}
|
||||
|
@ -26,7 +26,7 @@ TestNetlify: {
|
||||
op.#Load & {
|
||||
from: alpine.#Image & {
|
||||
package: bash: "=~5.1"
|
||||
package: curl: "=~7.77"
|
||||
package: curl: true
|
||||
}
|
||||
},
|
||||
op.#Exec & {
|
||||
|
Reference in New Issue
Block a user