diff --git a/.github/workflows/aws-deploy.yml b/.github/workflows/aws-deploy.yml index b3a3952..7ac8ffd 100644 --- a/.github/workflows/aws-deploy.yml +++ b/.github/workflows/aws-deploy.yml @@ -147,3 +147,14 @@ jobs: cdk_subcommand: 'deploy' cdk_args: '--require-approval never --context env=prod --progress events --debug' actions_comment: false + + trigger-profiler: + runs-on: ubuntu-latest + needs: cdk-deploy-dev + steps: + - name: Repository Dispatch + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.ACCESS_PROFILER }} + repository: Sage-Bionetworks/schematic_profiler + event-type: trigger-profiler diff --git a/.github/workflows/trigger-profiler.yml b/.github/workflows/trigger-profiler.yml deleted file mode 100644 index 03e9932..0000000 --- a/.github/workflows/trigger-profiler.yml +++ /dev/null @@ -1,17 +0,0 @@ -name: profiler-run -on: - workflow_run: - workflows: ["aws-deploy"] # Trigger this workflow only after aws-deploy is completed - types: [completed] - workflow_dispatch: # Allow manually triggering the workflow -jobs: - trigger-profiler: - runs-on: ubuntu-latest - if: ${{ github.event.workflow_run.cdk-deploy-dev.conclusion == 'success' }} - steps: - - name: Repository Dispatch - uses: peter-evans/repository-dispatch@v3 - with: - token: ${{ secrets.ACCESS_PROFILER }} - repository: Sage-Bionetworks/schematic_profiler - event-type: trigger-profiler diff --git a/cdk.json b/cdk.json index 70d41a7..afde4a5 100644 --- a/cdk.json +++ b/cdk.json @@ -31,7 +31,7 @@ "aws-cn" ], "dev": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:24.2.1-2", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:v24.4.1", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": { @@ -42,7 +42,7 @@ "VPC_CIDR": "10.255.73.0/24" }, "dev-refactor": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:0.1.62-beta", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:0.1.68-beta", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": { @@ -53,7 +53,7 @@ "VPC_CIDR": "10.255.76.0/24" }, "staging": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:24.2.1-2", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:v24.4.1", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": { @@ -65,7 +65,7 @@ }, "prod": { - "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:24.2.1-2", + "IMAGE_PATH_AND_TAG": "ghcr.io/sage-bionetworks/schematic:v24.4.1", "AWS_DEFAULT_REGION": "us-east-1", "PORT": "443", "TAGS": {