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