Skip to content

Commit

Permalink
Merge pull request #15 from ryanrigato/dev
Browse files Browse the repository at this point in the history
setup pipeline stub
  • Loading branch information
rrigato authored Apr 7, 2024
2 parents 94d9918 + 8244d0f commit 7969c2b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/tvratings_pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
name: application pipeline


on:
push:
branches:
Expand Down Expand Up @@ -28,3 +30,21 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.11

- name: make-scripts-executable
run: |
chmod +x 'scripts/tvratings_build_test.sh'
- name: assume-github-actions-role
uses: aws-actions/configure-aws-credentials@v4
with:
audience: sts.amazonaws.com
aws-region: ${{vars.DEFAULT_AWS_REGION}}
role-to-assume: arn:aws:iam::${{secrets.AWS_ACCOUNT_ID}}:role/${{secrets.PIPELINE_ROLE_NAME}}


- name: test-and-build-deployment-archive
shell: bash
env:
AWS_ACCOUNT_ID: ${{secrets.AWS_ACCOUNT_ID}}
run: 'scripts/tvratings_build_test.sh'
2 changes: 2 additions & 0 deletions scripts/tvratings_build_test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
echo "to do"
echo $AWS_ACCOUNT_ID

0 comments on commit 7969c2b

Please sign in to comment.