Skip to content

Fix helper tool swap tests: change ssh to https url#76

Open
jakubretajczykBD wants to merge 2 commits intoblockydevs:developfrom
jakubretajczykBD:fix/clone-build-swap-tests
Open

Fix helper tool swap tests: change ssh to https url#76
jakubretajczykBD wants to merge 2 commits intoblockydevs:developfrom
jakubretajczykBD:fix/clone-build-swap-tests

Conversation

@jakubretajczykBD
Copy link

@jakubretajczykBD jakubretajczykBD commented Jan 30, 2026

Checklist

  • App update process has been followed
  • Target branch is develop
  • Application version has been bumped

Change repository URLs from SSH to HTTPS for swap test dependencies

Swap tests were failing in Docker containers because SSH client and keys
are not configured by default. Using HTTPS works out of the box without
any additional setup, making it ideal for ephemeral Docker containers
that are removed after each run.

Changed URLs in helper_tool.py:

Advantages: zero configuration overhead, simpler setup, no SSH key management
Potential drawback: private repos would require auth tokens (same as SSH)

@jakubretajczykBD jakubretajczykBD marked this pull request as ready for review January 30, 2026 14:35
Comment on lines +64 to +65
run_cmd('git config --global url."https://github.com/".insteadOf git@github.com:')
run_cmd('git config --global url."https://github.com/".insteadOf ssh://git@github.com/')
Copy link
Member

Choose a reason for hiding this comment

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

to jest na pewno potrzebne jeżeli powyżej zmieniliśmy url na https:?

Copy link
Author

Choose a reason for hiding this comment

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

poprawione


base = Path(__file__).parent.resolve() / ".test_dependencies"

APP_EXCHANGE_URL = "git@github.com:LedgerHQ/app-exchange.git"
Copy link
Member

Choose a reason for hiding this comment

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

Podeślij mi jaki problem leciał przed tą zmianą. Potrzebuje mieć jakieś konkrety do opisu, gdzie chce dać:

  • Co chciałem zrobić i jaki problem występował
  • Co zrobiłem żeby to naprawić
  • Jaka jest skala zmian i czy wprowadza ona jakieś ryzyka

@0xMMBD 0xMMBD added bug Something isn't working QA Waiting for QA testing labels Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working QA Waiting for QA testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants