Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #12153: Initialize the Branding Plugin #18

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions branding/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/elm-stuff/*
**/main.js
13 changes: 13 additions & 0 deletions branding/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#
# make all : will build node-external-reports.rpkg.
# make licensed : will build a license limited version of the plugin
#

FILES = $(NAME)/reporting-schema.sql
SCRIPTS = postinst

include ../makefiles/common-scala-plugin.mk

target/$(NAME)/reporting-schema.sql:
cp ./src/main/resources/reporting-schema.sql target/$(NAME)/

13 changes: 13 additions & 0 deletions branding/README.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Rudder plugin: Branding
-------------------------------------------

This project is part of Rudder - Continuous configuration for effective compliance

Rudder is an easy to use, web-driven, role-based solution for IT Infrastructure
Automation & Compliance.

See: http://rudder-project.org for more information.

=== Synopsis

This plugin allows to build advanced reports and export them in pdf format.
26 changes: 26 additions & 0 deletions branding/build.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
#
# This file defines the release information about the plugin like
# its version and its ABI compability.
#
# So version are not managed in pom.xml (safe for parent-pom version,
# which can't be a parameter, and must be equals to rudder-branch here)
#

# Unique identifier of the plugin
plugin-id=rudder-plugin-reporting
# Human readable name
plugin-name=Reporting module for Rudder

# Plugin version. It is build as follow: A.B-x.y(.z) with:
# - A.B: Rudder major.minor
# - x.y(.z): plugin major.minor.micro. Micro should be omitted. When omitted, z is assumed to be 0.
# For the build, we split the information between two properties, rudder branch and plugin version,
# which must be concaneted with "-" to build the plugin version.
rudder-branch=4.3
plugin-branch=0.5
plugin-version=${rudder-branch}-${plugin-branch}

# Version of Rudder used to build the plugin.
# It defined the API/ABI used and it is important for binary compatibility
#
rudder-build-version=4.3.0
11 changes: 11 additions & 0 deletions branding/packaging/metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"type": "plugin",
"name": "${plugin-id}",
"version": "${plugin-version}",
"build-date": "${maven.build.timestamp}",
"build-commit": "${commit-id}",
"jar-files": [ "/opt/rudder/share/plugins/${plugin-name}/${plugin-name}.jar" ],
"content": {
"files.txz": "/opt/rudder/share/plugins"
}
}
7 changes: 7 additions & 0 deletions branding/packaging/postinst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

# create table for Rudder data sources plugin:
# note that if you installed Rudder 4.1~alpha or 4.1~beta1, or a previous version
# of the plugin, you can skip that step (which would fail with a "table exists" error)
psql -U rudder -h localhost -d rudder -f /opt/rudder/share/plugins/branding/branding-schema.sql

Loading