Replies: 3 comments 2 replies
-
You can disable the versioncheck via an envitonment variable:
Would that suite your needs? What is are issues in your view? |
Beta Was this translation helpful? Give feedback.
-
First, clab binary has to be installed on a github actions runner instance, and this is where it fails with parallel jobs. Disabling version check might push out hitting API limit to run one or two more parallel job, but that is not much (although it looks like a good practice to use in CI/CD anyway). One of the workarounds suggested was to use The standard See the Makefile example I'm using here: https://github.com/open-traffic-generator/otg-examples/blob/main/clab/ixia-c-b2b/Makefile and Github Actions workflow based on it here: https://github.com/open-traffic-generator/otg-examples/blob/main/.github/workflows/ci.yml |
Beta Was this translation helpful? Give feedback.
-
@bortok it looks like an action itself won't solve this, as the API limiting happens for these calls
Can you please try to specify a particular clab version in your gh actions like this:
That way we shouldn't use this particular API endpoint and no throttling should occur. At the same time, your CI is guaranteed to use a desired version, which is typically a good practice, rather than downloading latest. |
Beta Was this translation helpful? Give feedback.
-
Besides being well aligned with prerequisites setup workflow of Github Actions, it would be nice to reduce issues encountered while deploying via a standard
bash
script, like hitting API limits when checking the latest version if there are multiple parallel jobs are installing clab simulteneously.Beta Was this translation helpful? Give feedback.
All reactions