Skip to content

Fix Mactrack integration dependencies#338

Open
somethingwithproof wants to merge 2 commits into
Cacti:developfrom
somethingwithproof:ci/fix-mactrack-integration-dependencies
Open

Fix Mactrack integration dependencies#338
somethingwithproof wants to merge 2 commits into
Cacti:developfrom
somethingwithproof:ci/fix-mactrack-integration-dependencies

Conversation

@somethingwithproof

Copy link
Copy Markdown
Contributor

Summary

  • avoid unavailable Ubuntu-versioned Apache PHP packages
  • install Mactrack runtime Composer dependencies before plugin enablement

Validation

  • git diff --check
  • workflow YAML parsed successfully

This is deliberately separate from #336 so the release-hardening change remains focused.

Copilot AI review requested due to automatic review settings July 14, 2026 05:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the GitHub Actions integration workflow to be less dependent on Ubuntu’s apt-provided Apache/PHP module packaging and to ensure Mactrack’s Composer-managed runtime dependencies (when present) are installed before the plugin is enabled in the Cacti E2E flow.

Changes:

  • Remove libapache2-mod-php${{ matrix.php }} from apt dependencies to avoid unavailable Ubuntu-versioned packages.
  • Add a workflow step to run composer install --no-dev in the Mactrack plugin directory (guarded by composer.json existence) prior to plugin enablement.

Comment on lines +168 to +173
- name: Install Mactrack Composer Dependencies
run: |
cd ${{ github.workspace }}/cacti/plugins/mactrack
if [ -f composer.json ]; then
sudo composer install --no-dev --prefer-dist --no-progress --no-interaction
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants