Releases: ad-freiburg/gantry
Early Errors and Logs
This release improves the handling of errors during build
and pull
phase of execution. The log
command (supporting filtering through -i
) allows to retrieve logging output like docker-compose logs
.
Skipping Ignores
This release changes how ignored steps are handled.
Previously ignored steps were removed from the graph which sometimes resulted in separate pipelines.
Now these steps remain in the graph and preconditions are correctly honored.
Selective Run
This release allows for better handling of ignored and selected steps/services. Through these changes partial execution of pipelines is improved as well as documenting pipelines through the dot
command.
Environmental Changes
Using meta information for services
and steps
this allows gantry to
- always ignore a step/service (
ignore
) - always ignore failure of a step/service (
ignore-failure
) - handle different points in time to kill a service (
keep-alive
)- at the start of pipeline execution (this was/is the default)
- at the end of pipeline execution (
no
) - when the pipeline reaches the step (
replace
)
- configuring handling of standard out (
stdout
) and standard error (stderr
)- Print to stdout/stderr (default)
- Print to file (
handler
:file
,path
:<filepath>
) - Print to file and stdout/stderr (
handler
:both
,path
:<filepath>
) - Discard (
handler
:discard
)
Parse and update the .def.yml
using substitutions and parameters, this allows to use:
{{ KEY }}
to be replaced with the value of the environment variableKEY
,KEY
needs to be defined!{{ Env "KEY" }}
same behavior as{{ KEY }}
{{ Env "KEY" "default" }}
, ifKEY
is undefineddefault
will be used as value{{ EnvDir "KEY" ["default"] }}
same asEnv
but usesfilepath.Abs
to transform the value.{{ TempDir ["args" [...]] }}
creates temporary directories on the host (basepath can be set usingtempdir
), if the same arguments are provided the same directory is used.
This allows to use one .def.yml
in conjunction with different .env.yml
to perform different tasks without redefining the complete definitions.
Previously failing steps were ignored, the behavior is now controlled by the ignore-failure
flags for each step
Initial Pre-Release
This is the initial binary release of gantry.