Releases: INCATools/odkrunner
Releases · INCATools/odkrunner
ODKRunner 0.4.1
Changes since version 0.4.1:
- Add a new
setup-scriptmode to facilitate the creation of a native ODK environment.
Calling the runner as follows:
$ odkrun setup-scriptwill produce (on the standard output) a shell script that can be used to automatically initialize a native ODK environment, which can then be invoked with odkrun -n.
(Highly experimental, GNU/Linux and macOS only.)
ODKRunner 0.4.0
Changes since version 0.3.0:
- Allow the use of native ODK environments as created by the
odk installcommand of the new ODK-Core project. - Add the
--assumed-odk-repositoryoption. - Fix incorrect detection of OAKLib's cache directory.
ODKRunner 0.3.0
Changes since version 0.2.1:
- The runner can be configured through
ODK_environment variables as an alternative to arun.sh.conffile (not recommended, but for compatibility with the ODK-generatedrun.shscript). - The max memory setting for Java applications can now be explicitly be set on the command line through the
-m,--java-memoption.- That option takes precedence over any
-Xmxoption passed throughODK_JAVA_OPTS. - The
--java-memvalue should be of the form Xm, Xg, or X%, to set the maximal amount of memory to X megabytes, X gigabytes, or X percent of the available memory, respectively. - The default behaviour, when that option is not used, is still to use 90% of the total memory available to the backend.
- That option takes precedence over any
- If the environment contains typical variables used for proxy configuration (
http_proxy,https_proxy,no_proxy, or their uppercase equivalents), the proxy settings are automatically passed to the container.
ODKRunner 0.2.1
Changes since version 0.2.0:
- If the image name (given to the
--imageoption on the command line, or theODK_IMAGEoption in arun.sh.conffile) is unqualified, theobolibrary/qualifier is automatically prepended (so,--image odkliteis equivalent to--image obolibrary/odklite). - Support for sharing the host’s local OAK cache directory with the container:
- If the
--oak-cache(-k) option is set touser, the user’s own OAK cache directory (by default~/.data/oaklib, but it may be located elsewhere depending on the local Pystow configuration) is bound to/home/odkuser/.data/oaklib, so that any OAK command invoked within the container will benefit from the user’s cache. - If the option is set to
repo, the variableOAKLIB_HOMEwill be set to/work/src/ontology/tmp/oakliband exported into the container’s environment, so that any OAK command invoked within the container will use thetmp/oaklibdirectory as its cache. This is only effective when odkrun is started from within thesrc/ontologydirectory of an ODK repository; otherwise the option is ignored. - If the option is set to any other value, the value is interpreted as a path to an arbitrary directory on the host, which is bound to
/home/odkuser/.data/oaklibwithin the container (so,--oak-cache useris in fact equivalent to--oak-cache ~/.data/oaklib, assuming the OAK cache is in its default location). - The
-Koption is a shorthand for--oak-cache user. - The option
ODK_SHARE_OAK_CACHE, if found within arun.sh.conffile, is interpreted in the same way as the--oak-cacheCLI option.
- If the
ODKRunner 0.2.0
Changes since version 0.1.0:
- The runner now supports the
run.sh.confconfiguration file also used by the ODK-generatedrun.shwrapper script. If such a file is found in the current working directory, the runner will attempt to parse it and set the corresponding options prior to invoking the container.
ODK Runner 0.1.0
Initial release of the experimental “ODK Runner”, a binary runner to execute commands within a ODK container.