Upload App on the IE Hub¶
This document highlights steps to create and manage app versions on the IE Hub.
Quick Start Guide¶
- Add IE Hub Configuration to access IE Hub
- Create App
- Create App Version
- Upload an App Version
- Review App Version
- Release App Version privately
- Release App Version publicly
Add IE Hub Configuration to access IE Hub¶
To access and use IE Hub commands, you must first add an IE Hub configuration. To add an IE Hub configuration, use the following command:
$ iectl config add iehub \
--name "configname" \ # name of the configuration being added in lower case
--url "https://iehub.eu1-int.edge.siemens.cloud/" \ # URL of IEHUB on which you want perform operations. Provide URL without organization name, e.g.: https://iehub.eu1.edge.siemens.cloud
--email "email_address" \ # accepts email address used for IEHUB login
--password "password" \ # password for IEHUB CLI user
Create App¶
You can create an app on the IE Hub with the following command :
$ iectl iehub app-management create \
--app-name "my nice app" \
--documentation-url "www.mydocuurl.com" \
--icon-path "/home/user/icon.png" \
Create App Version¶
You can create an app version on the IE Hub with the following command :
$ iectl iehub app-management version create \
--app-name "my nice app" \
--version "0.0.1" \
After version creation, you can activate the version.
Upload an App Version¶
You can upload the app version with the following command :
$ iectl iehub app-management version upload \
--app-binary "/home/user/Downloads/R62jNZVpJNGvGK9b3vbeOWG5OHu7nbbu_0.0.1.app" \ # "/home/user/Downloads/R62jNZVpJNGvGK9b3vbeOWG5OHu7nbbu_0.0.1.app" is path of the location where app binary is available
--app-name "my nice app" \
--oss-source-code "/home/user/Downloads/app.zip" \ # "/home/user/Downloads/app.zip" is location of the file of oss source code (optional)
--readme "/home/user/Downloads/app.zip" \ # "/home/user/Downloads/app.zip" is path to the location of OSS ReadMe (optional)
--version "0.0.1" \ # "0.0.1" is version to which binary will be associated
After version upload, you can review the version.
Review App Version¶
You can review an app version on the IE Hub with the following command :
$ iectl iehub app-management version get-details \
--app-name "my nice app" \
--version "0.0.1" \
Release App Version privately¶
You can release the app version privately only after review with the following command :
$ iectl iehub app-management version private-release \
--app-name "my nice app" \
--version "0.0.1" \
Release App Version publicly¶
You can release the app version publicly(App must be privately released) with the following command :
$ iectl iehub app-management version public-release \
--app-name "my nice app" \
--version "0.0.1" \