Skip to content

Commit f270566

Browse files
author
Tsotne Tabidze
authored
Add AWS authentication to github actions (feast-dev#1629)
Signed-off-by: Tsotne Tabidze <[email protected]>
1 parent 3129dc8 commit f270566

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

.github/auto_assign-issues.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ addAssignees: true
77
assignees:
88
- jklegar
99
- woop
10-
- oavdeev
10+
- tsotnet

.github/workflows/integration_tests.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,21 @@ jobs:
2424
python-version: ${{ matrix.python-version }}
2525
architecture: x64
2626
- name: Set up Cloud SDK
27-
uses: google-github-actions/setup-gcloud@master
27+
uses: google-github-actions/setup-gcloud@v0
2828
with:
2929
project_id: ${{ secrets.GCP_PROJECT_ID }}
3030
service_account_key: ${{ secrets.GCP_SA_KEY }}
3131
export_default_credentials: true
3232
- name: Use gcloud CLI
3333
run: gcloud info
34+
- name: Set up AWS SDK
35+
uses: aws-actions/configure-aws-credentials@v1
36+
with:
37+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
38+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
39+
aws-region: us-west-2
40+
- name: Use AWS CLI
41+
run: aws sts get-caller-identity
3442
- name: Install dependencies
3543
run: make install-python-ci-dependencies
3644
- name: Test python

.github/workflows/pr_integration_tests.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,22 @@ jobs:
4444
with:
4545
python-version: ${{ matrix.python-version }}
4646
architecture: x64
47-
- name: Set up Cloud SDK
48-
uses: google-github-actions/setup-gcloud@master
47+
- name: Set up gcloud SDK
48+
uses: google-github-actions/setup-gcloud@v0
4949
with:
5050
project_id: ${{ secrets.GCP_PROJECT_ID }}
5151
service_account_key: ${{ secrets.GCP_SA_KEY }}
5252
export_default_credentials: true
5353
- name: Use gcloud CLI
5454
run: gcloud info
55+
- name: Set up AWS SDK
56+
uses: aws-actions/configure-aws-credentials@v1
57+
with:
58+
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
59+
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
60+
aws-region: us-west-2
61+
- name: Use AWS CLI
62+
run: aws sts get-caller-identity
5563
- name: Install dependencies
5664
run: make install-python-ci-dependencies
5765
- name: Test python

0 commit comments

Comments
 (0)