Skip to content

gha: add gs creds #4791

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 26, 2020
Merged

gha: add gs creds #4791

merged 2 commits into from
Oct 26, 2020

Conversation

efiop
Copy link
Contributor

@efiop efiop commented Oct 26, 2020

Related to #4418

Thank you for the contribution - we'll try to review it as soon as possible. πŸ™

- name: setup gs creds
shell: bash
run: |
mkdir -p scripts/ci
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using what is already used in the code for now. Don't want to mess with the tests themselves in this PR, just making this run the same way it did on travis.

@pared
Copy link
Contributor

pared commented Oct 26, 2020

Failing test seems unrelated: it is test_open_granular[azure]. It seems like it started to fail recently. Will create an issue for that.

@efiop efiop changed the title gha: add gs creds [WIP] gha: add gs creds Oct 26, 2020
Comment on lines -37 to -48
try:
check_output(
[
"gcloud",
"auth",
"activate-service-account",
"--key-file",
TEST_GCP_CREDS_FILE,
]
)
except (CalledProcessError, OSError):
return False
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to get rid of this to make gs tests less flaky. This is an old leftover that is no longer needed after test_data_cloud CLI refactoring done a few months back, where we started properly using config.

@efiop efiop changed the title [WIP] gha: add gs creds gha: add gs creds Oct 26, 2020
@efiop
Copy link
Contributor Author

efiop commented Oct 26, 2020

gs mac/linux tests are operational, waiting for windows tests to complete...

EDIT0: windows works too.

EDIT1: the resources are tight on windows, running into git exe failures πŸ™ We'll need to start migrating to gitpython alternatives for some functionality very soon.

@efiop efiop merged commit bfecd7d into master Oct 26, 2020
@delete-merged-branch delete-merged-branch bot deleted the efiop-patch-1 branch October 26, 2020 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants