Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 14, 2025

Adds infrastructure for CI/CD tool management: registration of pre-installed tools, environment variable generation, and unified setup automation.

New Commands

Tool Registration

  • fcli tool * register - Register existing tool installations (auto-detect from PATH, env vars, or explicit path)
  • fcli tool * env - Output environment variables for tool paths in shell/GitHub/Azure/GitLab formats

Tool Installation Enhancement

  • fcli tool fcli install --copy-from - Bootstrap fcli from existing installation (Docker multi-stage builds)

New Actions

fortify-setup

Unified CI/CD tool setup with support for:

  • Auto-detection of pre-installed tools
  • Dynamic installation with signature verification
  • Platform-specific tool caching (GitHub Actions, Azure Pipelines, GitLab CI)
  • Air-gapped environments (pre-installed tools only)
# Install specific versions with tool cache
fcli action run fortify-setup \
  --use-tool-cache \
  --sc-client-version 24.4.0 \
  --fod-uploader-version latest

# Air-gapped with pre-installed tools
fcli action run fortify-setup \
  --air-gapped \
  --sc-client-version auto \
  --fod-uploader-version auto

ci-vars Enhancement

Extended with tool cache detection for GitHub Actions (RUNNER_TOOL_CACHE), Azure Pipelines (AGENT_TOOLSDIRECTORY), GitLab CI, and Jenkins. Provides global.ci.toolCacheBaseDir and global.ci.toolCacheDirPattern for platform-aware tool installation paths.

Changelog Entries

Upon squash merge, use these commit message lines for changelog generation:

feat: `fcli tool * register`: Add commands for registering existing tool installations
feat: `fcli tool * env`: Add commands for outputting environment variables to be set
feat: `fcli tool fcli install`: Add `--copy-from` option to copy from existing installation
feat: `fortify-setup` action: New action for setting up Fortify tools in CI/CD workflows
feat: `ci-vars` action: Add tool cache detection for GitHub, Azure DevOps, GitLab, and Jenkins

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI mentioned this pull request Nov 14, 2025
Copilot AI changed the title [WIP] Update tool and CI implementations Tool & CI updates Nov 14, 2025
Copilot AI requested a review from rsenden November 14, 2025 12:03
@rsenden rsenden closed this Nov 16, 2025
@rsenden
Copy link
Contributor

rsenden commented Nov 16, 2025

Only provided Copilot-generated description for PR #867

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