-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CHORE] Remove usage of credentials in workflows to allow PRs from fo…
…rks to be green
- Loading branch information
Jay Chia
committed
Nov 30, 2023
1 parent
cb1fb22
commit d1377b6
Showing
4 changed files
with
8 additions
and
68 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -258,11 +258,6 @@ jobs: | |
python-version: ['3.8'] # can't use 3.7 due to requiring anon mode for adlfs | ||
daft-runner: [py, ray] | ||
micropartitions: [1, 0] | ||
# These permissions are needed to interact with GitHub's OIDC Token endpoint. | ||
# This is used in the step "Assume GitHub Actions AWS Credentials" | ||
permissions: | ||
id-token: write | ||
contents: read | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
|
@@ -295,20 +290,6 @@ jobs: | |
run: | | ||
mkdir -p /tmp/daft-integration-testing/nginx | ||
chmod +rw /tmp/daft-integration-testing/nginx | ||
- name: Assume GitHub Actions AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-region: us-west-2 | ||
role-to-assume: ${{ secrets.ACTIONS_AWS_ROLE_ARN }} | ||
role-session-name: DaftPythonPackageGitHubWorkflow | ||
- name: Assume GitHub Actions GCloud Credentials | ||
uses: google-github-actions/auth@v1 | ||
with: | ||
credentials_json: ${{ secrets.ACTIONS_GCP_SERVICE_ACCOUNT_JSON }} | ||
# NOTE: Workload Identity seems to be having problems with our Rust crate, so we use JSON instead | ||
# See issue: https://github.com/yoshidan/google-cloud-rust/issues/171#issuecomment-1730511655 | ||
# workload_identity_provider: ${{ secrets.ACTIONS_GCP_WORKLOAD_IDENTITY_PROVIDER }} | ||
# service_account: ${{ secrets.ACTIONS_GCP_SERVICE_ACCOUNT }} | ||
- name: Spin up IO services | ||
uses: isbang/[email protected] | ||
with: | ||
|
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
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
This file was deleted.
Oops, something went wrong.