|
32 | 32 | uses: tj-actions/changed-files@v35 |
33 | 33 | with: |
34 | 34 | files: | |
35 | | - ./src/ps_ingestion_pipeline/ps_replay_extraction_lambda |
| 35 | + ./src/ps_ingestion_pipeline/ps_replay_extraction_lambda/**/*.py |
36 | 36 |
|
37 | 37 | - name: Build and push PS Replay Extraction Lambda image |
38 | 38 | if: steps.changed-replay-extraction-files.outputs.any_changed == 'true' |
|
44 | 44 | docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:${SHORT_SHA} . |
45 | 45 | docker push $ECR_REGISTRY/$ECR_REPOSITORY:${SHORT_SHA} |
46 | 46 |
|
| 47 | + - name: Check if PS Replay Transform files have changed |
| 48 | + id: changed-replay-transform-files |
| 49 | + uses: tj-actions/changed-files@v35 |
| 50 | + with: |
| 51 | + files: | |
| 52 | + ./src/ps_ingestion_pipeline/ps_replay_transform_lambda/**/*.py |
| 53 | +
|
47 | 54 | - name: Build and push PS Replay Transform Lambda image |
| 55 | + if: steps.changed-replay-transform-files.outputs.any_changed == 'true' |
48 | 56 | working-directory: ./src/ps_ingestion_pipeline/ps_replay_transform_lambda |
49 | 57 | env: |
50 | 58 | ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} |
|
53 | 61 | docker build -t $ECR_REGISTRY/$ECR_REPOSITORY:${SHORT_SHA} . |
54 | 62 | docker push $ECR_REGISTRY/$ECR_REPOSITORY:${SHORT_SHA} |
55 | 63 |
|
| 64 | + - name: Check if PS Teams DDB Writer files have changed |
| 65 | + id: changed-teams-ddb-writer-files |
| 66 | + uses: tj-actions/changed-files@v35 |
| 67 | + with: |
| 68 | + files: | |
| 69 | + ./src/ps_ingestion_pipeline/ps_teams_ddb_writer_lambda/**/*.py |
| 70 | +
|
56 | 71 | - name: Build and push PS Teams DDB Writer Lambda image |
| 72 | + if: steps.changed-teams-ddb-writer-files.outputs.any_changed == 'true' |
57 | 73 | working-directory: ./src/ps_ingestion_pipeline/ps_teams_ddb_writer_lambda |
58 | 74 | env: |
59 | 75 | ECR_REGISTRY: ${{ steps.login-ecr.outputs.registry }} |
|
0 commit comments