What Is Changing
Thetfy apply CLI command now supports directory mode with --diffs-only and --ref flags, replacing the need for complex per-file CI/CD scripts. A single command now handles everything — detecting changed files, resolving dependencies between resources, and applying them in the correct order.
Before (per-file approach)
Previously, CI/CD pipelines required:- Shell scripts to detect which YAML files changed between commits
- Manual sorting of files by dependency order (nesting level)
- Separate handling for added, modified, and deleted files
- Per-folder processing functions for each resource type
- Third-party GitHub Actions (e.g.
tj-actions/changed-files) to track changes
After (single command)
The entire CI/CD pipeline is now two lines: Pull request (dry-run):What’s Improved
- Dependency resolution —
tfy applynow automatically determines the correct apply order for resources that depend on each other. Dry runs no longer fail when a single PR introduces a workspace along with the applications inside it. - Simpler pipelines — No more shell scripts, file-change detection logic, or per-folder processing. The full GitHub Actions workflow is now under 30 lines.
- Consistent behavior — The same command works across GitHub Actions, Bitbucket Pipelines, Jenkins, and any other CI/CD system.
What You Need to Do
- Upgrade the TrueFoundry CLI to version 0.14.2 or greater:
- Verify your Control Plane is on version 0.132 or later.
- Update your CI/CD pipelines — replace the existing per-file scripts with the simplified commands. Refer to the GitOps setup guide and the sample repository for ready-to-use configs.
- Organize manifests under
truefoundry/— ensure all your YAML manifests are inside atruefoundry/directory sotfy apply -d truefoundrypicks them up. See the repository structure guide for details.
If you have any questions or run into anything unexpected during the migration, reach out and we’ll be happy to assist.