Commit Graph

17 Commits

Author SHA1 Message Date
Aleksandr Chebotov
9cf1ebd754 Improve github releases parser (#5717) 2022-06-13 16:54:27 +02:00
Dibir Magomedsaygitov
404da76e17 [Ubuntu] Implement helper to get GitHub package download URL (#4947) 2022-02-08 19:41:23 +03:00
Mikhail Koliada
b56230f342 [Linux] install.sh: make the IsPackageInstalled function definition consistent (#3864)
* linux/../../install.sh: make the IsPackageInstalled function definition consistent
2021-08-06 18:25:52 +03:00
Darleev
6637167579 [Ubuntu] Added HTTP status code check to download_with_retries (#3721)
* Disable exit on error temporary to implement retry logic based on exit code
* Check HTTP response code and retry if it's not 200
* Make variables local to not interfere with other scripts

Co-authored-by: Mikhail Timofeev <48208649+miketimofeev@users.noreply.github.com>
2021-07-19 11:29:53 +03:00
Mikhail Timofeev
589a58e707 [Ubuntu] Change java-tools script to retrieve the latest major Gradle version (#3385)
* Change java-tools script to retrieve the latest major gradle version

* Change gradle installation to use manifest json. Use download_with_retries function

* Move maven version to the toolset
2021-05-21 15:37:15 +03:00
Darii Nurgaleev
7c6117e6ec [Ubuntu] Get toolset value function. (#2435)
* [macOS] Fail Pester tests on error

* return it back

* [Ubuntu] add get_toolset_values function

* added fix

* fix all nitpicks

* try to get rid brackets

* removed brackets.

* pipx-package fix
2021-01-15 17:12:26 +03:00
Darii Nurgaleev
44d1f85e34 add missed shebang 2020-10-24 23:30:27 +07:00
Dmitry Shibanov
d0f8592d88 add function and clean up logic for array 2020-10-01 13:07:40 +03:00
Paolo Mainardi
f7699ffa5b code review: use download_with_retries, remove custom tmp dir, set -e
Signed-off-by: Paolo Mainardi <paolo.mainardi@sparkfabrik.com>
2020-08-31 12:28:55 +02:00
Mikhail Timofeev
694bf3098c Merge branch 'master' of https://github.com/miketimofeev/virtual-environments into v-mitim/get_rid_of_apt.sh_invocation 2020-07-10 12:35:52 +03:00
Mikhail Timofeev
0647236ac1 Rename IsIntalled -> IsPackageInstalled 2020-07-09 15:14:28 +03:00
Mikhail Timofeev
a7ee8ab672 move IsInstalled and apt-fast 2020-07-08 22:28:23 +03:00
Dibir Magomedsaygitov
5faa6abe7d implement download_with_retries function 2020-07-07 19:23:45 +03:00
Vladimir Safonkin
c1ee9d8bc6 Fix download retry helper (#1110)
* Fix download helper

* Fix download helper

* Add compressed flag to helper

* Minor fix

* Minor fix
2020-07-01 16:31:41 +03:00
Vladimir Safonkin
e9e1f92089 Fix retry download helper for PyPy (#1092) 2020-06-23 12:09:16 +03:00
Vladimir Safonkin
53ac16e05d Use curl in download retry helper (#1079) 2020-06-19 17:05:38 +03:00
Vladimir Safonkin
330e62af9d Add download retry helper on Ubuntu (#955)
* Add download retry helper
2020-05-29 15:27:33 +03:00