feat: integration support for harness

Signed-off-by: Calvin Lee <cjlee@ualberta.ca>
This commit is contained in:
Calvin Lee
2024-04-19 00:55:19 -06:00
parent 91d915f05b
commit 2cc750d367
23 changed files with 1125 additions and 2 deletions
+24
View File
@@ -345,5 +345,29 @@ export interface Config {
*/
password?: string;
}>;
/** Integration configuration for Harness Code */
harness?: Array<{
/**
* The hostname of the given Harness Code instance
* @visibility frontend
*/
host: string;
/**
* The base url for the Gitea instance.
* @visibility frontend
*/
baseUrl?: string;
/**
* The username to use for authenticated requests.
* @visibility secret
*/
username?: string;
/**
* Harness Code token used to authenticate requests. This can be either a generated access token.
* @visibility secret
*/
token?: string;
}>;
};
}