Skip to content

Commit

Permalink
Add build step to publish whisperx model fetch script to riffraff
Browse files Browse the repository at this point in the history
  • Loading branch information
philmcmahon committed Jan 29, 2025
1 parent 6f6c456 commit 838206e
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,20 @@ jobs:
contentDirectories: |
cdk.out:
- packages/cdk/cdk.out/TranscriptionServiceRepository.template.json
whisperx-model-fetch:
permissions:
id-token: write
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Upload whisperx model fetch project to riff-raff
uses: guardian/actions-riff-raff@v4
with:
roleArn: ${{ secrets.GU_RIFF_RAFF_ROLE_ARN }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
configPath: whisperx-model-fetch/riff-raff.yaml
projectName: investigations::transcription-service-whisperx-model-fetch
contentDirectories: |
whisperx-model-fetch:
- whisperx-model-fetch/download_whisperx_models.py
File renamed without changes.
15 changes: 15 additions & 0 deletions whisperx-model-fetch/riff-raff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
allowedStages:
- PROD
deployments:
whisperx-model-fetch:
type: aws-s3
regions:
- eu-west-1
stacks:
- deploy
app: transcription-service-repository
parameters:
bucketSsmLookup: true
bucketSsmKeyStageParam:
PROD: /PROD/deploy/amigo/amigo.data.bucket
CODE: /CODE/deploy/amigo/amigo.data.bucket

0 comments on commit 838206e

Please sign in to comment.