Repository navigation
ci: adopt zackees/ci.yml cpp ecosystem; bump ci-lint pin to 1a970f0 - #29
Merged
Merged
Conversation
- Bump the zackees/ci.yml pin 70e8fefe -> 1a970f01 (ci.yml#394's GATE-008/GATE-012 false-positive fixes and #395's C/C++ support) in build-project.yaml's ci-mode job, local-gate.toml, AGENTS.md and rust/README.md. - Rename the Tier 2 C/C++ gate general/linux-x64/tier2 -> cpp/linux-x64/tier2 now that ci.yml has a `cpp` attestation ecosystem. The tier2-linux lane (tools = ["docker"]) keeps every ecosystem's pins, which now include the C/C++ ones (CMakeLists.txt, cmake/**, *.cmake, CMakePresets.json, buildspec.json, .gitmodules, .clang-format, ...). Local-Gate: v1 tree=a204f91530715cbc8e13b1195625cfdfbebfde75 secs=33 lanes=lint:run,rust-test:run,tier2-linux:run Ci-Attestation: {"at":1791533277,"gate":"rust/all/fmt","host":"linux-x86_64","key":"fa25ffd682cb32394fd96ba8f6b29e22c5fefc17bf083352f50b39c19b6a801a","lane":"lint","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":15,"stamp":"8be9ee93b32c56db6aa11322953191de","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"} Ci-Attestation: {"at":1791533277,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"fa25ffd682cb32394fd96ba8f6b29e22c5fefc17bf083352f50b39c19b6a801a","lane":"lint","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":15,"stamp":"16987229b79c947bbd19aa203567a23a","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"} Ci-Attestation: {"at":1791533277,"gate":"rust/x86_64-unknown-linux-gnu/test","host":"linux-x86_64","key":"94b53c2bda8833cf673aa803f90819266fc399e55f90e0706552ed11a49a03e4","lane":"rust-test","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":3,"stamp":"95d2ac611e1694ea572f3395b5c13f57","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"} Ci-Attestation: {"at":1791533277,"gate":"cpp/linux-x64/tier2","host":"linux-x86_64","key":"e570c91356ec587730ee842b146d1786ea7b5594c99d7a2093ece6323cf4f4de","lane":"tier2-linux","parents":["2c1f11b500123b80439308cb62535650ff57eeaa"],"secs":14,"stamp":"a445152a077a59b60667e9e20e1244be","tree":"a204f91530715cbc8e13b1195625cfdfbebfde75","v":1,"via":"run"}
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.
Adopts forge-ci/ci.yml#393 (C/C++ support, merged in forge-ci/ci.yml#395). The new pin also brings forge-ci/ci.yml#394 (fixes for the GATE-008 and GATE-012 false positives reported in #13).
Changes
70e8fefe414840ec786a24b71c82c55731e4f8ccto1a970f01574447d681571ff3d0b8de56cb983dccin:build-project.yaml(theci-modecheckout)local-gate.tomlAGENTS.mdrust/README.mdci-attestations.yml: renames the Tier 2 gate fromgeneral/linux-x64/tier2tocpp/linux-x64/tier2. The naming follows ci.yml's newdocs/policy-cpp.md:cpp/<all|os-arch|triple>/<check>.tier2-linuxlane declarestools = ["docker"], which ci-lint does not recognize, so the lane still gets every ecosystem's pins. That set now includes the C/C++ pins:CMakeLists.txt,cmake/**,*.cmake,CMakePresets.json,buildspec.json,.gitmodules,.clang-format, and so on. The compiler identity comes from the Docker image, not the host.Verification
ci-lint local-gate lint --repo .at the new pin:0 violation(s), 0 other finding(s)../lintpassed../unittestpassed (rust-test and tier2-linux; the libobs export diff was identical at 1752 symbols).ci-lint local-gate runat the new pin stamped the head withCi-Attestationtrailers forrust/all/fmt,rust/x86_64-unknown-linux-gnu/clippy,rust/x86_64-unknown-linux-gnu/testandcpp/linux-x64/tier2.This PR edits the workflow and gate surfaces, and
[gate.trust]is read from the PR base, where the gate is still namedgeneral/.... Its own run will therefore not skip the Linux unit-test jobs. That is expected.Refs #13, forge-ci/ci.yml#393