Skip to content

FEATURE: connect to existing Prunner system service#12

Merged
skurfuerst merged 4 commits intoFlowpack:mainfrom
christoph-daehne:main
Nov 14, 2023
Merged

FEATURE: connect to existing Prunner system service#12
skurfuerst merged 4 commits intoFlowpack:mainfrom
christoph-daehne:main

Conversation

@christoph-daehne
Copy link
Contributor

Features

The new features ease to use a shared Prunner for several Neos installations. This allows to configure the maximal number of concurrent pipelines for an entire server.

Flowpack.Prunner.configFile to set path to .prunner.yml

The Prunner config file name containing the JWT secret not longer needs to be .prunner.yml. Now you can override the file name in the Settings.yaml

Flowpack:
  Prunner:
    # Path to the prunner config file to load the JWT secret for authentication
    configFile: '%FLOW_PATH_ROOT%/.prunner.yml'

Existing configurations using directory or jwtSecret are still supported.

Skip Prunner download

In the Composer post-install hook, the Prunner is installed. Now you can skip the download with the following config in the composer.json:

"extra": {
    "prunner-version": "skip-download"
}

Prunner Client has more Getters

For easier use I added getter functions, namely:

  • Jobs#waiting
  • Jobs#completed
  • Jobs#successful
  • Jobs#canceled
  • Jobs#errored
  • Jobs#filter
  • Jobs#getArray
  • Pipelines#getArray

Bugfixes

The type annotation of Job#getId ist now correct.

Copy link
Contributor

@skurfuerst skurfuerst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks :)

@skurfuerst skurfuerst merged commit 17bc743 into Flowpack:main Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments