Content of standalone_app_creation.yaml:
variables:
appname: "sampleapp"
reponame: "samplerepo"
version: "0.0.1"
redirectsection: "container"
redirecturl: "servicename"
redirecttype: "FromBoxReverseProxy"
commands:
- command:
target: config
resource: add.publisher
### Example
name: "publisher_config"
workspace: "/path/to/worspace"
allowfailure: "true"
- command:
target: publisher
resource: workspace.init
parameters:
allowfailure: "true"
- command:
target: publisher
resource: standalone-app.create
parameters:
appname: "${{appname}}"
reponame: "${{reponame}}"
iconpath: "/path/to/image/pic.png"
appdescription: "desc"
allowfailure: "true"
- command:
target: publisher
resource: standalone-app.version.create
parameters:
appname: "${{appname}}"
versionnumber: "${{version}}"
yamlpath: "path/to/yaml/docker-compose.yml"
redirectsection: "${{redirectsection}}"
redirecturl: "${{redirecturl}}"
redirecttype: "${{redirecttype}}"
allowfailure: "true"
- command:
target: publisher
resource: standalone-app.version.export
parameters:
appname: "${{appname}}"
versionnumber: "${{version}}"
exportpath: "/export/path/"
allowfailure: "true"