Skip to content

PLT-339 Add export workflows #1

PLT-339 Add export workflows

PLT-339 Add export workflows #1

name: opt-out-export integration tests
on:
pull_request:
paths:
- .github/workflows/opt-out-export-test-integration.yml
- optout/**
workflow_call:
workflow_dispatch:
jobs:
# TODO Deploy first if triggered by push
trigger:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./attribution-data-file-share
steps:
- uses: aws-actions/configure-aws-credentials@v3
with:
aws-region: ${{ vars.AWS_REGION }}
role-to-assume: arn:aws:iam::${{ secrets.ACCOUNT_ID }}:role/delegatedadmin/developer/ab2d-test-github-actions
- name: Upload test file to the BFD bucket
run: |
aws events put-events --entries file://test/events.json # TODO Add events.json matching rule for lambda trigger
# TODO check bucket for export file