Skip to content

Releases: ad-freiburg/gantry

Early Errors and Logs

28 Oct 08:41
Compare
Choose a tag to compare
Early Errors and Logs Pre-release
Pre-release

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

06 Sep 14:38
Compare
Choose a tag to compare
Skipping Ignores Pre-release
Pre-release

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

12 Aug 09:30
Compare
Choose a tag to compare
Selective Run Pre-release
Pre-release

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

28 Jun 07:38
Compare
Choose a tag to compare
Environmental Changes Pre-release
Pre-release

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 variable KEY, KEY needs to be defined!
  • {{ Env "KEY" }} same behavior as {{ KEY }}
  • {{ Env "KEY" "default" }}, if KEY is undefined default will be used as value
  • {{ EnvDir "KEY" ["default"] }} same as Env but uses filepath.Abs to transform the value.
  • {{ TempDir ["args" [...]] }} creates temporary directories on the host (basepath can be set using tempdir), 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

07 Feb 14:57
Compare
Choose a tag to compare
Initial Pre-Release Pre-release
Pre-release

This is the initial binary release of gantry.