Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Commit

Permalink
add docs for generating overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Feb 14, 2023
1 parent 81356a7 commit 7770572
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions cicd/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,37 @@ Auth Configs must be created in each GCP project. The auth config name (which co
}
```

### Generate Overrides

Common overrides for tasks can be generated from `integrationcli`.

```yaml
integrationcli integrations versions get -n sampple -s 1 -o true -t $token
```

Can generate the overrides JSON:

```yaml
{
"task_overrides": [
{
"task": "GenericRestV2Task",
"taskId": "3",
"parameters": {
"url": {
"key": "url",
"value": {
"stringValue": "xxxxx"
}
}
}
}
]
}
```

Users can add other overrides and/or modify the values.

### Encrypted Auth Config

If one wishes to store auth config in the source code repo, the file can be encrypted (and base64 encoded) and stored in the repo. To check in an encrypted auth config file, encrypt the clear text auth config file as follows:
Expand Down

0 comments on commit 7770572

Please sign in to comment.