[Do Not Merge] Testing AWS deployment workflow #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |