Skip to content

[Do Not Merge] Testing AWS deployment workflow #1

[Do Not Merge] Testing AWS deployment workflow

[Do Not Merge] Testing AWS deployment workflow #1

Workflow file for this run

name: OpenSearch Migrations Test
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test:
if: github.repository == 'opensearch-project/opensearch-migrations'
runs-on: ubuntu-latest
# These permissions are needed to interact with GitHub's OIDC Token endpoint.
permissions:
id-token: write
contents: read
steps:
- uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.OPENSEARCH_MIGRATIONS_ROLE }}
aws-region: us-east-1
- name: Run AWS Deploy Script
run: |
chmod +x ./test/awsE2ESolutionSetup.sh
./test/awsE2ESolutionSetup.sh