Add Cloud Runner Pipeline to Main (#472)
* fix: k8s error handling (cherry picked from commit f633a3efb42432a6d2492712aead865a950c8dca) * include main in main cloud-runner pipeline (cherry picked from commit a40fbe941bba1ba4593c83c754b37363a969bfe5)
This commit is contained in:
@@ -16,6 +16,7 @@ export class TaskService {
|
||||
return output;
|
||||
}
|
||||
public static async awsListStacks(perResultCallback: any = false) {
|
||||
CloudRunnerLogger.log(`List Stacks`);
|
||||
process.env.AWS_REGION = Input.region;
|
||||
const CF = new AWS.CloudFormation();
|
||||
const stacks =
|
||||
@@ -55,6 +56,7 @@ export class TaskService {
|
||||
}
|
||||
}
|
||||
public static async awsListTasks(perResultCallback: any = false) {
|
||||
CloudRunnerLogger.log(`List Tasks`);
|
||||
process.env.AWS_REGION = Input.region;
|
||||
const ecs = new AWS.ECS();
|
||||
const clusters = (await ecs.listClusters().promise()).clusterArns || [];
|
||||
@@ -88,6 +90,7 @@ export class TaskService {
|
||||
}
|
||||
}
|
||||
public static async awsListJobs(perResultCallback: any = false) {
|
||||
CloudRunnerLogger.log(`List Jobs`);
|
||||
process.env.AWS_REGION = Input.region;
|
||||
const CF = new AWS.CloudFormation();
|
||||
const stacks =
|
||||
|
||||
Reference in New Issue
Block a user