Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

2.7.0

Compare
Choose a tag to compare
@svensp svensp released this 19 Jun 15:31
· 545 commits to master since this release

New Features:

Internal Plugins

A list of internal plugins are now loaded from app/lists/plugins.txt. This
allows for the plugin Provider style loading instead of continueing to clutter
the container.php

Event ServiceWriterServicePreparedEvent

This event is thrown by the Service writer before writing a service to the
docker-compose.yml and rancher-compose.yml.
This allows for plugins to add to the service definition here.

ServiceExtraInformation

A service can now receive and retyurns ServiceExtraInformation objects.
This is ment for plugins to store their informations about a service.

Use case:
The WebserverBlueprint calls the SchedulingParser to read scheduling
informations from the configuration. The parser adds SchedulingExtraInformation
to the service.
Later in the ServiceWriterServicePreparedEvent it adds its own information to
the service that contains its extra information.

Scheduling

The internal Scheduler plugin is an abstraction layer for the rancher
scheduling labels, making it unnessary to look up the proper label for must have tag instead going with the more easily remembered:

{
	"scheduling":{
		"tags":{ 
			"apps": "true"
		}
	}
}

Url Publishing

The internal "Publish Urls" plugin is an abstraction layer for the ability of
rancher-traefik to discover services based on labels. Allows for readable entries
in the form of:

{
	"healthcheck":{ "enable":true },
	"publish": { "url": "http://www.example.com" }
}

Healthcheck

The internal "Healthcheck" plugin adds the ability to add healthcheck data to
the rancher-compose.yml definition of a service.

See each plugins README.md for more info. All README.mds are also linked by the
WebserverBlueprint README.md