- Vue d'ensemble (Overview)
- Démarrer
- Concepts
- Utilisation de la UiPath CLI
- Guides pratiques
- Revenus CI/CD
- Référence de commande
- Vue d'ensemble (Overview)
- Codes de sortie
- Options globales
- agent codé uip
- encodeur UIP
- uip ancrage dans le contexte
- UiPath Docsai
- Fonction UiP
- garde-fous UiP
- configuration llm uip
- uip llm-passerelle
- Création uip maestro
- Registre Maestro uip
- uip model-hub
- uip ont
- Tâches (Jobs)
- Dossiers
- Processus
- ROI du processus
- Paquets
- Machines
- Utilisateurs
- Rôles
- Licences
- Flux
- Pièces jointes (Attachments)
- Sessions
- Calendriers
- magasins d'informations d’identification
- journaux-audit
- paramètres
- Actifs
- Compartiments
- Compartiment-fichiers
- Bibliothèques
- Files d'attente (Queues)
- ROI de la file d'attente
- éléments de la file d'attente
- Déclencheurs (Triggers)
- Webhooks
- Activités - Rechercher
- activités get-Default-xaml
- Analyser
- liste règles-analyseurs
- Construire
- Nettoyage
- Installation de entités data-fabrics
- liste des entités data-fabrics
- Diff de fichiers
- Get-Library-Object-Repository
- Récupérer le référentiel d'objets
- Init
- liste des instances
- Créer un package
- Vérification des paquets
- Installation des paquets
- Versions de paquets
- Publier
- Distant
- restore
- exécuter, déboguer et amp; Exécution
- paramètres
- Début de Studio
- Recherche de modèles
- entité ajoutée aux données de test
- Ajouter une file d'attente de données de test
- variation d'ajout de données de test
- TM
- UIA
- Valider
- exemples de workflow - Obtenir
- liste d'exemples de workflow
- uip resources
- tâches UIP
- pièce jointe
- Champ personnalisé
- Défauts (Defects)
- Exécutions
- exporter-tâches
- Migration
- Libellé Objet
- Créer un package
- scénarios-perf
- groupes-de-charge-scénarios-perf
- données d’exécution de perf-scenario
- rapport de scénarios de performances
- Projet
- autorisations-projet
- Invites
- Rapport
- Prérequis
- Résultat
- Exécuter
- Planifications (Schedules)
- Étendues
- Journaux de cas de test
- Cas de test
- Ensembles de tests
- Journal des étapes de test
- Utilisateur (User)
- Attendre
- Traçages UIP
- Commentaires sur les traces UIP
- Init
- Sync
- Ajouter (Add)
- Générer
- Créer un package
- Déployer
- Déployer l'amorçage
- Migration
- Référence et assistance
uip vss pack
Syntax and options for `uip vss pack`, which bundles a packed solution, its manifest, seed data, bucket files, and hook scripts into a Vertical Solution package.
uip vss pack builds the Vertical Solution package .zip that you publish and deploy. It wraps a solution .zip from uip solution pack with the package manifest, the Data Fabric seed data, bucket files, the IXP taxonomy, and lifecycle hook scripts. The command runs on your machine and needs no login.
Synthèse
uip vss pack <manifest> --solution-zip <path> --package-name <name> --package-version <version> [options]
uip vss pack <manifest> --solution-zip <path> --package-name <name> --package-version <version> [options]
Arguments
| Argument | Description |
|---|---|
<manifest> | Required. Path to the package manifest.json, written with in-package artifact paths. |
Options
| Drapeau | Description |
|---|---|
--solution-zip <path> | Required. The solution .zip from uip solution pack, or a folder that holds exactly one .zip. |
--package-name <name> | Required. Package name as <vertical>.<name>, where <vertical> is the manifest's vertical, or fins when the manifest sets none. Also the name of the output file. |
--package-version <version> | Required. Package version in SemVer 2.0 form, for example 1.4.2 or 1.4.2-rc.1. |
--output-dir <dir> | Folder to write <package-name>.zip to. Defaults to the current folder. |
--data-fabric-dir <dir> | Data Fabric folder: seed data under seeding/, and the schema file when the manifest sets dataFabric.schemaFilename. |
--seeding-dir <dir> | Seed data folder. Overrides <data-fabric-dir>/seeding. |
--customer <name> | Read seed data from <data-fabric-dir>/seeding/<name> instead of <data-fabric-dir>/seeding. |
--buckets-dir <dir> | Bucket files laid out as <BucketName>/<file>. Required when the manifest declares files under solution.storageBuckets. |
--ixp-taxonomy <path> | IXP taxonomy file. Required when the manifest sets ixp.taxonomyFilename. |
--hooks-dir <dir> | Lifecycle hook scripts in the setup/, setup-validation/, migration/, post-deployment-checks/, and tests/ folders. |
The manifest
pack copies the manifest into the package and sets three fields in the copy: packageName, packageVersion, and solution.artifactFilename. Every other field is copied as written, so the manifest must already hold in-package paths:
- Bucket files are listed as
Buckets/<name>/<file>undersolution.storageBuckets.<name>.files. Each file is read from<buckets-dir>/<name>/<file>. ixp.taxonomyFilenameis the path of the taxonomy inside the package.--ixp-taxonomyis the file copied there.- Coded apps are declared under
solution.codedApps. A top-levelwebappsection is refused, because the web app is part of the solution.zip.
Package layout
The command writes <output-dir>/<package-name>.zip:
manifest.json the manifest, with packageName, packageVersion,
and solution.artifactFilename set
package/Solution/<solution>.zip
package/DataFabric/Seeding/... when seed data exists
package/DataFabric/<schema> when the manifest sets dataFabric.schemaFilename
package/Buckets/<name>/<file> per solution.storageBuckets
package/<ixp.taxonomyFilename> when the manifest sets it
setup/ setup-validation/ migration/ post-deployment-checks/ tests/
manifest.json the manifest, with packageName, packageVersion,
and solution.artifactFilename set
package/Solution/<solution>.zip
package/DataFabric/Seeding/... when seed data exists
package/DataFabric/<schema> when the manifest sets dataFabric.schemaFilename
package/Buckets/<name>/<file> per solution.storageBuckets
package/<ixp.taxonomyFilename> when the manifest sets it
setup/ setup-validation/ migration/ post-deployment-checks/ tests/
These files are never packaged:
- Hidden files.
README.mdand*-example.pyin the hook folders.
A hook script that no phase declares is packaged, and Data.Warnings names it, because the deploy never runs it.
Vérifications
pack fails and writes nothing when one of these checks does not pass:
| Vérifier (Check) | Règles |
|---|---|
| Declared files | Every file the manifest declares exists: each bucket file, the schema, the taxonomy, and each hook script under hooks.<phase>.scripts. |
| Hook runtime | A hooks block sets hooks.runtime to typescript, javascript, or node. |
| Hook scripts | Each hook script is a .js, .mjs, .cjs, .ts, .mts, or .cts file. TypeScript files need hooks.runtime set to typescript. |
| Nom du paquet | --package-name is <vertical>.<name> with the manifest's vertical, and holds no path separator. |
| Version du package | --package-version is SemVer 2.0. |
| Web app | The manifest has no top-level webapp section. |
| Links | No seed or hook folder holds a symbolic link. Links are not followed. |
Every hook problem is reported in one run.
Exemples
# 1. Pack the solution
uip solution pack "MySolution" out/solution --version 1.4.2
# 2. Bundle the Vertical Solution package around it
uip vss pack artifacts/my-solution/manifest.json \
--solution-zip out/solution \
--package-name fins.my-solution \
--package-version 1.4.2 \
--data-fabric-dir artifacts/my-solution/data_fabric \
--buckets-dir artifacts/my-solution/Buckets \
--hooks-dir artifacts/my-solution/deployment-hooks \
--output-dir out
# 1. Pack the solution
uip solution pack "MySolution" out/solution --version 1.4.2
# 2. Bundle the Vertical Solution package around it
uip vss pack artifacts/my-solution/manifest.json \
--solution-zip out/solution \
--package-name fins.my-solution \
--package-version 1.4.2 \
--data-fabric-dir artifacts/my-solution/data_fabric \
--buckets-dir artifacts/my-solution/Buckets \
--hooks-dir artifacts/my-solution/deployment-hooks \
--output-dir out
Format des données (--sortie json)
{
"Code": "VerticalSolutionPacked",
"Data": {
"Path": "/home/build/out/fins.my-solution.zip",
"PackageName": "fins.my-solution",
"PackageVersion": "1.4.2",
"SolutionZip": "MySolution.1.4.2.zip",
"FileCount": 12,
"Warnings": []
}
}
{
"Code": "VerticalSolutionPacked",
"Data": {
"Path": "/home/build/out/fins.my-solution.zip",
"PackageName": "fins.my-solution",
"PackageVersion": "1.4.2",
"SolutionZip": "MySolution.1.4.2.zip",
"FileCount": 12,
"Warnings": []
}
}
Codes de sortie
A failed check exits 3 with Result: ValidationError and Retry: RetryWillNotFix. ErrorCode is not_found when a file or folder is missing, and invalid_argument for every other check. A missing required option also exits 3.
Pour les codes de sortie partagés par chaque commande, reportez-vous à Codes de sortie.
Associé
- uip solution pack — produce the solution
.zipthatpackwraps. - uip vss deploy — deploy a published Vertical Solution package.
- uip vss deploy seed — load the seed data the package carries.