Skip to content
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

Add ssh agent option #624

Merged
merged 4 commits into from
Mar 31, 2021
Merged

Add ssh agent option #624

merged 4 commits into from
Mar 31, 2021

Conversation

maxcnunes
Copy link
Member

Will close #471

Working in progress, still need to add tests

@maxcnunes maxcnunes force-pushed the ssh-fix branch 4 times, most recently from f994e21 to 52cc98b Compare March 29, 2021 18:43
@maxcnunes maxcnunes marked this pull request as ready for review March 29, 2021 23:21
Copy link
Member

@MasterOdin MasterOdin left a comment

Choose a reason for hiding this comment

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

Changes make sense. Are you planning on adding another test for the new ssh agent setting, since it looks like the E2E tested added here is for SSH through a private key file.

test/e2e/test.ssh-mysql.ts Outdated Show resolved Hide resolved
TMPDIR: /usr/src/app/.tmp
volumes:
- .:/usr/src/app
version: '3'
Copy link
Member

Choose a reason for hiding this comment

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

Are you still using this file for anything? Should it be removed?

Copy link
Member Author

Choose a reason for hiding this comment

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

It was used for builds when we just had Ubuntu OS in the CI. But, it maybe makes sense keeping it around just in case we need to test a build locally for other OS than our own host OS.

@maxcnunes
Copy link
Member Author

The intention was adding the test for basic private key only because of the fixing for private keys which comes with the db-core upgrade. But it should be simple to add a test for ssh agent as well. I will do it later today after working hours.

@maxcnunes maxcnunes merged commit 210cfb6 into main Mar 31, 2021
@maxcnunes maxcnunes deleted the ssh-fix branch March 31, 2021 00:15
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.

Cannot parse privateKey: Unsupported key format
2 participants