From 1e61b9ae8e839fb7bb994a4e58428ee6bf77690c Mon Sep 17 00:00:00 2001 From: Denis Yuen Date: Thu, 5 May 2022 16:03:04 -0400 Subject: [PATCH] switch to openid connect (#118) * Update config.yml * looks like the broad deleted a dependency --- .circleci/config.yml | 15 +++++++++++++-- wdl-parsing/WDLParsingFunction/pom.xml | 5 +++++ 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 077513fb..a41ceb52 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,6 +3,7 @@ orbs: aws-s3: circleci/aws-s3@3.0.0 node: circleci/node@4.7.0 sam: circleci/aws-sam-serverless@3.0 + aws-cli: circleci/aws-cli@3.1.1 # perform openid connect jobs: build: docker: @@ -14,7 +15,12 @@ jobs: steps: - when: condition: <> + executor: aws-cli/default steps: + - aws-cli/setup: + profile-name: WEB IDENTITY PROFILE + role-arn: $AWS_ROLE_ARN + role-session-name: "CircleCI-${CIRCLE_WORKFLOW_ID}-${CIRCLE_JOB}" - checkout - node/install: install-yarn: false @@ -51,7 +57,12 @@ jobs: steps: - when: condition: <> + executor: aws-cli/default steps: + - aws-cli/setup: + profile-name: WEB IDENTITY PROFILE + role-arn: $AWS_ROLE_ARN + role-session-name: "CircleCI-${CIRCLE_WORKFLOW_ID}-${CIRCLE_JOB}" - checkout - run: name: Validate index.js @@ -204,7 +215,7 @@ workflows: tags: only: /.*/ context: - - aws-lambda + - aws-lambda-v2 - js_tests: filters: tags: @@ -218,4 +229,4 @@ workflows: tags: only: /.*/ context: - - aws-lambda + - aws-lambda-v2 diff --git a/wdl-parsing/WDLParsingFunction/pom.xml b/wdl-parsing/WDLParsingFunction/pom.xml index 5379926d..0cc9b583 100644 --- a/wdl-parsing/WDLParsingFunction/pom.xml +++ b/wdl-parsing/WDLParsingFunction/pom.xml @@ -30,6 +30,11 @@ jgit-repository https://repo.eclipse.org/content/groups/releases/ + + artifacts.oicr.on.ca + artifacts.oicr.on.ca + https://artifacts.oicr.on.ca/artifactory/collab-release +