Content of iehub_version_creation.yaml:
variables:
name: "iehub_config"
version: "0.0.2"
appName: "my nice app2"
iehuburl: "https://iehub.eu1-int.edge.siemens.cloud"
iehubuser: "user@siemens.com"
iehubpassword: "password"
commands:
- command:
target: config
resource: add.iehub
parameters:
name: "${{name}}"
url: "${{iehuburl}}"
user: "${{iehubuser}}"
password: "${{iehubpassword}}"
- command:
target: iehub
resource: product-management.version.create
parameters:
app-name: "${{appName}}"
version: "${{version}}"
- command:
target: iehub
resource: product-management.version.upload
parameters:
app-name: "${{appName}}"
version: "${{version}}"
app-binary: /path/to/exported/app/HBdfezUzTcz631tZct4ouwi2ZbltwGKW_0.0.2.app"
- command:
target: iehub
resource: product-management.version.get-details
parameters:
app-name: "${{appName}}"
version: "${{version}}"
follow: "true"
status: "SCANNED"
- command:
target: iehub
resource: product-management.version.private-release
parameters:
app-name: "${{appName}}"
version: "${{version}}"
- command:
target: iehub
resource: product-management.version.get-details
parameters:
app-name: "${{appName}}"
version: "${{version}}"
follow: "true"
status: "ECOSYSTEM_REVIEWED"
- command:
target: iehub
resource: product-management.version.public-release
parameters:
app-name: "${{appName}}"
version: "${{version}}"