Skip to content

Conversation

networkfusion
Copy link
Member

@networkfusion networkfusion commented Apr 12, 2025

Description

Remove need for ninja (this is available in the CI image).

Targets affected

  • BrainPad2
  • GHI_FEZ_CERB40_NF
  • GHI_FEZ_CERBERUS_NF
  • I2M_ELECTRON_NF
  • I2M_OXYGEN_NF
  • MBN_QUAIL
  • NESHTEC_NESHNODE_V1
  • NETDUINO3_WIFI
  • PybStick2x
  • ST_NUCLEO64_F401RE_NF
  • ST_NUCLEO64_F411RE_NF
  • ST_STM32F411_DISCOVERY
  • ST_NUCLEO144_F412ZG_NF
  • ST_NUCLEO144_F746ZG
  • ST_STM32F4_DISCOVERY
  • ST_NUCLEO144_F439ZI
  • WEACT_F411CE
  • TI_CC1352P1_LAUNCHXL_868
  • TI_CC1352P1_LAUNCHXL_915
  • LilygoTWatch2020
  • LilygoTWatch2021
  • BUILD ALL

Motivation and Context

How Has This Been Tested?

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Config and build (change in the configuration and build system, has no impact on code or features)
  • Dependencies (update dependencies and changes associated, has no impact on code or features)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Summary by CodeRabbit

  • Chores
    • Simplified the automated build pipeline by removing Ninja and ARM GCC toolchain installers across multiple jobs, and removing an ESP32 build component installer for the LilygoTWatch2020 job. Pipeline structure, remaining toolchains, and subsequent build/publish steps are preserved.

Remove need for ninja (this is available in the CI image).
Copy link

coderabbitai bot commented Apr 12, 2025

Walkthrough

Removed template references for Ninja and Arm GCC toolchain installers from many jobs in azure-pipelines.yml, and removed an ESP32 build-components installer in the Build_LilygoTWatch2020 job; pipeline structure and remaining templates unchanged. (32 words)

Changes

Cohort / File(s) Change Summary
Azure Pipelines manifest
azure-pipelines.yml
Deleted multiple job-level template references to azure-pipelines-templates/download-install-ninja.yml@templatesBuild and azure-pipelines-templates/download-install-arm-gcc-toolchain.yml@templatesBuild across many jobs; deleted azure-pipelines-templates/download-install-esp32-build-components.yml@templatesBuild in Build_LilygoTWatch2020. Other templates and job steps left intact.

Sequence Diagram(s)

sequenceDiagram
    participant U as User
    participant P as Azure Pipeline
    participant J as Build Job

    U->>P: Trigger pipeline
    P->>J: Start job
    J->>J: Execute setup steps
    alt Previously: installed Ninja & Arm GCC & ESP32 components (where applicable)
        note right of J #DDEEFF: templates invoked for installers
        J->>J: Download & install Ninja
        J->>J: Download & install Arm GCC toolchain
        J->>J: Download & install ESP32 build components
    else Now: installer templates removed
        note right of J #F7F7F7: installer template references removed
    end
    J->>J: Continue remaining steps (hexdfu, build targets, packaging, publish)
    J-->>P: Job completes
Loading

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly and accurately describes the PR's primary change—removing the Ninja installation from azure-pipelines.yml. The PR objective and diff indicate that removing Ninja is the author's stated intent because Ninja is available in the CI image, so the title is concise and focused. Although the diff also removes some Arm GCC and an ESP32 components template, the title correctly highlights the main change the author documented.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch networkfusion/ci-remove-ninja

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 6ad12a1 and 235f745.

📒 Files selected for processing (1)
  • azure-pipelines.yml (0 hunks)
💤 Files with no reviewable changes (1)
  • azure-pipelines.yml
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (25)
  • GitHub Check: Community-Targets (Build_TI_CC1352P1_LAUNCHXL_915)
  • GitHub Check: Community-Targets (Build_TI_CC1352P1_LAUNCHXL_868)
  • GitHub Check: Community-Targets (Build_NETDUINO3_WIFI)
  • GitHub Check: Community-Targets (Build_ST_NUCLEO144_F439ZI)
  • GitHub Check: Community-Targets (Build_PybStick2x)
  • GitHub Check: Community-Targets (Build_ST_NUCLEO144_F767ZI)
  • GitHub Check: Community-Targets (Build_ST_STM32F4_DISCOVERY)
  • GitHub Check: Community-Targets (Build_ST_NUCLEO64_F411RE_NF)
  • GitHub Check: Community-Targets (Build_ST_NUCLEO144_F412ZG_NF)
  • GitHub Check: Community-Targets (Build_WEACT_F411CE)
  • GitHub Check: Community-Targets (Build_ST_STM32F411_DISCOVERY)
  • GitHub Check: Community-Targets (Build_ST_NUCLEO144_F746ZG)
  • GitHub Check: Community-Targets (Build_ST_NUCLEO64_F401RE_NF)
  • GitHub Check: Community-Targets (Build_I2M_ELECTRON_NF)
  • GitHub Check: Community-Targets (Build_I2M_OXYGEN_NF)
  • GitHub Check: Community-Targets (Build_GHI_FEZ_CERBERUS_NF)
  • GitHub Check: Community-Targets (Build_NESHTEC_NESHNODE_V1)
  • GitHub Check: Community-Targets (Build_MBN_QUAIL)
  • GitHub Check: Community-Targets (Build_GHI_FEZ_CERB40_NF)
  • GitHub Check: Community-Targets (Build_BrainPad2)
  • GitHub Check: Community-Targets (Check_Code_Style)
  • GitHub Check: Community-Targets (Build_LilygoTWatch2021)
  • GitHub Check: Community-Targets (Build_LilygoTWatch2020)
  • GitHub Check: Community-Targets (Check_Build_Options)
  • GitHub Check: Community-Targets (Get_Commit_Message)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@networkfusion networkfusion changed the title Update azure-pipelines.yml Remove ninja install from azure-pipelines.yml Apr 12, 2025
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
azure-pipelines.yml (2)

241-241: Consistent Removal of Ninja Installation Steps
All occurrences of the Ninja build installation template (i.e.
azure-pipelines-templates/download-install-ninja.yml@templatesBuild) have been commented out across multiple jobs. This change is consistent and aligns with the PR objective of eliminating the redundant download/install step since the CI image already includes Ninja.

Please ensure that:

  • The CI image indeed provides the correct version of Ninja so that downstream steps that might implicitly depend on it remain unaffected.
  • If Ninja is no longer ever required in these pipelines, consider completely removing these lines (rather than leaving them commented) to reduce clutter and maintain clarity in the pipeline configuration.

Also applies to: 296-296, 351-351, 406-406, 460-460, 515-515, 570-570, 625-625, 680-680, 735-735, 790-790, 901-901, 955-955, 1010-1010, 1065-1065, 1120-1120, 1175-1175, 1235-1235, 1303-1303, 1366-1366


1387-1388: Duplicate Dependency in Report_Build_Failure Job
Within the Report_Build_Failure job, the dependency list contains a duplicate entry for Build_ST_NUCLEO64_F401RE_NF (lines 1387–1388). Removing this duplicate will improve clarity and prevent any potential confusion during dependency resolution.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 63b29df and 7a9484b.

📒 Files selected for processing (1)
  • azure-pipelines.yml (21 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Community-Targets (Check_Code_Style)
  • GitHub Check: Community-Targets (Check_Build_Options)
  • GitHub Check: Community-Targets (Get_Commit_Message)

Copy link
Member

@josesimoes josesimoes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here: don't comment, just remove the line.

@networkfusion
Copy link
Member Author

networkfusion commented Sep 13, 2025

For another PR:

  • NETDUINO3_WIFI: flash0' overflowed by 108 bytes
  • ST_NUCLEO144_F746ZG: flash0' overflowed by 65408 bytes
  • lilygo targets: 'python' is not recognized as an internal or external command

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants