-
Notifications
You must be signed in to change notification settings - Fork 230
Customizing Docker Script Executors
Nolan Ehrstrom edited this page Mar 18, 2020
·
25 revisions
-
The following PRs must be merged
- Core (Issue, no PR yet): https://github.com/ProcessMaker/processmaker/issues/2887
-
php
https://github.com/ProcessMaker/docker-executor-php/issues/5 -
lua
https://github.com/ProcessMaker/docker-executor-lua/issues/3 -
node
https://github.com/ProcessMaker/docker-executor-node/pull/3 -
python
- No PR, updated on develop -
java
https://github.com/ProcessMaker/docker-executor-java/pull/2 -
csharp
https://github.com/ProcessMaker/docker-executor-csharp/pull/3
-
Put php, lua, and node on Packagist. Republish the others.
- Verify that base images were automatically built and deployed to docker hub as processmaker4/executor-{lang}
- Install any executors you would like on the instance with
composer require processmaker/docker-executor-{lang}
- The install script for each language must be re-run from core, even if the language was previously installed. For example:
php artisan docker-executor-php:install
In an instance of PM4, click on Admin on the top menu, then Script Executors on the side menu.
- C# SDK will not build. FilesApi.cs and RequestFilesApi.cs are attempting to send a
List<System.IO.Stream>
toParameterToFile()
which only acceptsSystem.IO.Stream
. I don't know if this is an annotation problem or a bug in openapi. SDK has been commented out in the default dockerfile for the csharp package. Issue to enable it later: https://github.com/ProcessMaker/docker-executor-csharp/issues/1 - SDK Builder is using openapitools/openapi-generator-cli:v4.2.2 (set in ProcessMaker/BuildSdk.php). v4.2.3 is available but breaks the Java sdk. (v4.2.3 does not seem to fix the above C# issue anyway)