From aecd2d713da906f55de8eb772654be2960984de8 Mon Sep 17 00:00:00 2001 From: Mojo Talantikite Date: Mon, 5 Feb 2024 14:39:33 -0500 Subject: [PATCH] re-add promote --- .github/workflows/promote.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/promote.yml b/.github/workflows/promote.yml index 7be91378a8..53c29dd055 100644 --- a/.github/workflows/promote.yml +++ b/.github/workflows/promote.yml @@ -117,8 +117,29 @@ jobs: name: lambda-layers-prisma-client-engine path: ./services/app-api/lambda-layers-prisma-client-engine + build-clamav-layer: + name: build - clamav layer + runs-on: ubuntu-20.04 + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - uses: actions/setup-node@v4 + with: + node-version-file: '.nvmrc' + cache: yarn + + - name: Prepare ClamAV layer + working-directory: services/uploads/src/avLayer + run: ./dockerbuild.sh + + - uses: actions/upload-artifact@v4 + with: + name: lambda-layers-clamav + path: ./services/uploads/src/avLayer/build/lambda_layer.zip + promote-infra-dev: - needs: [build-prisma-client-lambda-layer, unit-tests] + needs: [build-prisma-client-lambda-layer, build-clamav-layer, unit-tests] uses: Enterprise-CMCS/managed-care-review/.github/workflows/deploy-infra-to-env.yml@main with: environment: dev