-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deploying an unpublished application version to a device #16
Comments
Hi, is that application located in catalog? |
Hi, the application is not published in the catalog. My idea was that it should not be published into the catalog until it's really ready for usage. So my aim is to automate deployment of (possibly non-functional) development versions of the application in to a testing device, so I can test it before publishing. This is doable from the application page in web gui, but I see no way of doing it with |
Hi, you need to first import the application to catalog from where it is possible to deploy the application to the edge device. Please note that we will update the exaple to the latest iectl 2.0 |
So the problem is that we do not want to publish an unfinished and quite possibly broken application into the catalog. Instead, we just want to install the unpublished application onto a testing device, so we can verify that it actually works before publishing. This should be doable with I have worked around this by using
|
I'm trying to build a pipeline that creates a new unpublished version of our application and deploys it onto a testing device.
Following the standalone app example, I tried this:
But this causes an error:
Investigating the network traffic from IEM web ui when I deploy from there, I can see it is making a request to:
and the infoMap only contains the target deviceIds.
So, how could I pass the versionId when using iectl? If this is currently not possible with iectl, would it be possible to obtain the needed headers from iectl and do the same request for example with curl?
Side note: I think running
iectl portal batches submit-batch --help
should show what information can/should be passed in infoMap. There is currently no mention of{"devices": [ $deviceIds ]}
.Using iectl version 1.3.1 on linux.
The text was updated successfully, but these errors were encountered: