-
Notifications
You must be signed in to change notification settings - Fork 0
Pushing and Syncing
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).
iructl profile push --id "de6cf090-cf14-4517-bc8e-110f2e4ed56a"
iructl script push --all --clean
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.
iructl profile sync --id "18f75e5f-5a79-45ef-a354-314c517b9280"
iructl profile sync --all --force-mode push
Getting Started
Working with Resources
- Populating Your Local Repository
- Editing Resources
- Self Service
- Pushing and Syncing
- Listing and Showing Resources
- Deleting Resources
- Blueprint Assignment
Reference
Python API Client