Fix CI: swap unreachable cmocka + bazel-key URLs - #436
Merged
Conversation
Two upstream services broke, failing 6 CircleCI jobs on any branch:
- git.cryptomilk.org (cmocka origin) is unreachable from CircleCI
runners: HTTPS connect times out after 21-135s. Affects
build-and-test-{win,32b,mips,mipsel,riscv64}. Point at the
https://github.com/clibs/cmocka mirror instead, which carries the
same cmocka-1.1.5 tag the config already pins to.
- https://bazel.build/bazel-release.pub.gpg now returns 404 (Bazel
moved key hosting). Fetch from
https://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpg instead,
which is Bazel's canonical apt-repo key location.
Same class of infra rot as #435 (codecov). No functional change.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
The clibs/cmocka mirror carries newer commits than cryptomilk's HEAD did when these clone commands were originally written. Recent cmocka headers reference int32_t / intmax_t without a stdint include, which fails compilation on the older toolchains we cross-build with, e.g.: /usr/local/include/cmocka.h:2369: error: unknown type name 'int32_t' The Windows job already pins to cmocka-1.1.5; do the same for the dockercross and 32-bit jobs to remove HEAD-tracking flakiness across CI runs. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #436 +/- ##
==========================================
+ Coverage 99.82% 99.94% +0.11%
==========================================
Files 20 20
Lines 1762 1762
Branches 224 224
==========================================
+ Hits 1759 1761 +2
+ Misses 3 1 -2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Two upstream services broke, failing 6 CircleCI jobs on any branch built recently.
git.cryptomilk.org) is unreachable from CircleCI runners — HTTPS connect times out after 21–135 s. Affectsbuild-and-test-{win,32b,mips,mipsel,riscv64}. Switching tohttps://github.com/clibs/cmocka.git, a mirror that carries the samecmocka-1.1.5tag the config already pins to.https://bazel.build/bazel-release.pub.gpgnow returns 404 (they moved key hosting). Fetching fromhttps://storage.googleapis.com/bazel-apt/doc/apt-key.pub.gpginstead, which is Bazel's canonical apt-repo key location.Same class of infra rot as #435 (codecov orb). No functional change to the library or tests.
Test plan