Commit f2c6757
authored
ci: use local contrib checkout to avoid git CDN SHA propagation failures (open-telemetry#4958)
* ci: use local contrib checkout to avoid git CDN SHA propagation failures
Install contrib packages from the already-checked-out local copy instead
of a second git+https:// clone for the getting-started and tracecontext
tox envs. Eliminates intermittent install failures when a SHA has not yet
propagated to all GitHub git CDN nodes.
- tox.ini: add CONTRIB_REPO_* per-package env vars in setenv with
fallbacks to the existing git+https:// behavior. getting-started and
tracecontext deps now reference these vars.
- test.yml.j2 / misc.yml.j2: add CONTRIB_REPO_* path vars to the
top-level env block; add a contrib repo checkout step (actions/checkout)
only for getting-started and tracecontext jobs.
- Regenerate test_0.yml, test_1.yml, misc_0.yml.
Backward compatible: when CONTRIB_REPO_* vars are unset (local dev),
tox falls back to the git+https:// URL behavior.
Mirrors the fix applied in the contrib repo:
open-telemetry/opentelemetry-python-contrib#4305
Assisted-by: Claude Sonnet 4.6
* docs: add changelog entry for CI contrib SHA propagation fix (open-telemetry#4958)
Assisted-by: Claude Sonnet 4.6
* Move longpaths git config before checkout steps on Windows
The contrib repo checkout was failing on Windows with "Filename too long"
because the longpaths config ran after the checkout. Move it to be the
first step so both checkouts benefit from it.
Assisted-by: Claude Sonnet 4.61 parent fb94553 commit f2c6757
File tree
7 files changed
+467
-482
lines changed- .github/workflows
- templates
7 files changed
+467
-482
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
62 | 74 | | |
63 | 75 | | |
64 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
57 | 71 | | |
58 | 72 | | |
59 | 73 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
| |||
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
41 | 51 | | |
42 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
43 | 62 | | |
44 | 63 | | |
45 | 64 | | |
| |||
48 | 67 | | |
49 | 68 | | |
50 | 69 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | 70 | | |
57 | 71 | | |
58 | 72 | | |
| |||
0 commit comments