- Created a new script `instalL_asciinema.sh` to automate the installation of asciinema. - The script detects the operating system and architecture to download the appropriate binary. - Supports Linux (both musl and GNU) and macOS (Darwin). - Sets executable permissions for the downloaded binary and verifies the installation by displaying the version.
1.6 KiB
1.6 KiB
| level |
|---|
| 2 |
infctl
Keep it simple, list of JSON objects.
```js {1-4}
[
{},
{}
]
```
```js {2-10}
[
{
"name": "...",
"function": "...",
"params": [
"..."
],
"retryCount": int,
"shouldAbort": true|false
},
{}
]
```
```js {2-10}
[
{
"name": "ensure infctl namespace exists",
"function": "k8sNamespaceExists",
"params": [
"infctl"
],
"retryCount": 0,
"shouldAbort": true
},
{}
]
```
```js
[
{
"name": "ensure infctl namespace exists",
"function": "k8sNamespaceExists",
"params": [
"infctl"
],
"retryCount": 0,
"shouldAbort": true
},
{
"name": "check operator"",
"function": "RunCommand",
"params": [
"./scripts/check__operator.sh"
],
"retryCount": 5,
"shouldAbort": true
}
]
```