Skip to content

Pushing and Syncing

NoahRJ edited this page Jun 15, 2026 · 1 revision

Pushing and Syncing

Pushing Changes to Iru

Use the push command to upload new or updated resources to your Iru tenant.

  • iructl profile push [OPTIONS]
  • iructl script push [OPTIONS]
  • iructl app push [OPTIONS]

You can choose which resources to push using the --all, --id, and --path options. --id and --path can be specified more than once to include more than one resource.

By default, only new local resources and resources with only local updates will be pushed. Nothing will be deleted or overwritten. In order to overwrite changes in the Iru tenant, use the --force option. To delete resources in Iru which are not present in the local repository, use the --clean option.

Note

The --clean option can only be used with --all. If you would like to delete only specific resources use the delete command.

Note

When pushing apps, the installer is uploaded only when its SHA256 differs from the one in Iru; a metadata-only change needs no binary on disk. The installer is read from the payload directory (default <repo>/payloads, overridable with --payload-dir).

Examples:

iructl profile push --id "de6cf090-cf14-4517-bc8e-110f2e4ed56a"
iructl script push --all --clean

Syncing Changes with Iru

The sync command can be used to push and pull changes simultaneously.

  • iructl profile sync [OPTIONS]
  • iructl script sync [OPTIONS]
  • iructl app sync [OPTIONS]

In order to make updates more seamless, the sync command will create missing resources in both the local repository and the Iru tenant as well as updating either with changes. In cases where update direction cannot be definitively determined, a conflicting change is shown and the resource is skipped.

The sync command includes similar options to the push and pull commands with the addition of --force-mode to resolve conflicts. The --force-mode option can be set to push or pull in order to automatically overwrite conflicting changes when they arise.

Examples:

iructl profile sync --id "18f75e5f-5a79-45ef-a354-314c517b9280"
iructl profile sync --all --force-mode push

Clone this wiki locally