guardicore / monkey

Infection Monkey - An open-source adversary emulation platform
https://www.guardicore.com/infectionmonkey/
GNU General Public License v3.0
6.62k stars 772 forks source link

Travis build sometimes fail when downloading hugo #1315

Closed VakarisZ closed 3 years ago

VakarisZ commented 3 years ago

Describe the bug

The download of hugo fails in travis, because the GitHub API queries the download multiple times, which returns a message saying that IP requested the file too many times in a short duration, which causes error:

image

To Reproduce

Steps to reproduce the behavior:

  1. Run multiple travis jobs at once
  2. See error

Expected behavior

Hugo download shouldn't fail

Tasks

VakarisZ commented 3 years ago

Fixed in https://github.com/guardicore/monkey/commit/23c298a5f11194580a280f4d2789bb337a2c2c0e