Skip to content

Commit

Permalink
test workflow that deploys to AWS
Browse files Browse the repository at this point in the history
Signed-off-by: Omar Khasawneh <[email protected]>
  • Loading branch information
okhasawn committed Dec 5, 2023
1 parent 40339d8 commit ac5e12c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/awsInteg.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: OpenSearch Migrations Test

on:
push:

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

0 comments on commit ac5e12c

Please sign in to comment.