Skip to content

Commit

Permalink
[CLEANUP] - Adding GHA workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosov committed Jul 14, 2023
1 parent 5a81d2c commit fb5cea9
Show file tree
Hide file tree
Showing 6 changed files with 216 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Things that need to be changed when a new branch is created:
- in merge.yml, the branch name needs to updated for the new one;
- also in merge.yaml, the `VERSION` variable needs to be updated for the particular build;
- the `SLACK_CHANNEL` env variable might also have to be changed to another value - probably in all workflow yaml files;

140 changes: 140 additions & 0 deletions .github/release-versions.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
com.pentaho|pentaho-ee-parent-pom=9.5.1.0-10
com.pentaho|pentaho-ee-jar-parent-pom=9.5.1.0-10
com.pentaho|pentaho-ee-bundle-parent-pom=9.5.1.0-10
org.pentaho|pentaho-parent-pom=9.5.1.0-10
org.pentaho|pentaho-ce-parent-pom=9.5.1.0-10
org.pentaho|pentaho-ce-jar-parent-pom=9.5.1.0-10
org.pentaho|pentaho-ce-bundle-parent-pom=9.5.1.0-10
org.pentaho.di.plugins|pdi-plugins=BASE_VERSION
com.pentaho.di.plugins|pdi-ee-plugins=BASE_VERSION

ael.version=BASE_VERSION
aggdesigner.version=BASE_VERSION
analysis-ee-plugin.version=BASE_VERSION
analyzer-plugin.version=BASE_VERSION
archetypes.version=BASE_VERSION
big-data-plugin.version=BASE_VERSION
coding-standards.version=BASE_VERSION
common-ui.version=BASE_VERSION
commons-database.version=BASE_VERSION
commons-ee.version=BASE_VERSION
commons-gwt.version=BASE_VERSION
commons-xul.version=BASE_VERSION
container-utils.version=BASE_VERSION
dashboard.version=BASE_VERSION
dashboard-plugin.version=BASE_VERSION
encryption-support.version=BASE_VERSION
jdbc-distribution-utility.version=BASE_VERSION
kafka-plugin.version=BASE_VERSION
launcher.version=BASE_VERSION
layout-editor.version=BASE_VERSION
metadata-client-tool.version=BASE_VERSION
metastore.version=BASE_VERSION
mondrian.version=BASE_VERSION
mondrian-schemaworkbench-plugins.version=BASE_VERSION
oss-licenses.version=BASE_VERSION
pdi-data-refinery-plugin.version=BASE_VERSION
pdi-dataservice-client-plugin.version=BASE_VERSION
pdi-dataservice-plugin.version=BASE_VERSION
pdi-google-analytics-plugin-ce.version=BASE_VERSION
pdi-google-analytics-plugin.version=BASE_VERSION
pdi-hadoop-plugin-ee.version=BASE_VERSION
pdi-jms-plugin.version=BASE_VERSION
pdi-monitoring-plugin.version=BASE_VERSION
pdi-osgi-bridge.version=BASE_VERSION
pdi-platform-utils-plugin.version=BASE_VERSION
pdi-plugins-ee.version=BASE_VERSION
pdi-pur-plugin.version=BASE_VERSION
pdi-salesforce-plugin.version=BASE_VERSION
pdi-sap-hana-bulk-loader-plugin.version=BASE_VERSION
pdi-scheduler-plugin.version=BASE_VERSION
pdi-spark-plugin.version=BASE_VERSION
pdi-teradata-tpt-plugin.version=BASE_VERSION
pdi-weka-plugin-group.version=BASE_VERSION
pdi-json-plugin.version=BASE_VERSION
pdi-r-plugin.version=BASE_VERSION
pdi-sap-plugin.version=BASE_VERSION
pdi-sdk-plugins.version=BASE_VERSION
pdi-xml-plugin.version=BASE_VERSION
pdi.version=BASE_VERSION
pentaho-actionsequence-dom.version=BASE_VERSION
pentaho-camel.version=BASE_VERSION
pentaho-cassandra-plugin.version=BASE_VERSION
pentaho-ccc-plugin.version=BASE_VERSION
pentaho-cda-plugin.version=BASE_VERSION
pentaho-cde-plugin.version=BASE_VERSION
pentaho-cdf-plugin.version=BASE_VERSION
pentaho-cgg-plugin.version=BASE_VERSION
pentaho-chartbeans.version=BASE_VERSION
pentaho-connections.version=BASE_VERSION
pentaho-cpf-plugin.version=BASE_VERSION
pentaho-cpk-plugin.version=BASE_VERSION
pentaho-dashboard-chart-editor.version=BASE_VERSION
pentaho-data-access.version=BASE_VERSION
pentaho-data-mining.version=BASE_VERSION
pentaho-det.version=BASE_VERSION
pentaho-ee-chart-plugin.version=BASE_VERSION
pentaho-ee-dsc.version=BASE_VERSION
pentaho-ee-license-installer.version=BASE_VERSION
pentaho-eula-wrap-config.version=BASE_VERSION
pentaho-geo-plugin.version=BASE_VERSION
pentaho-hadoop-shims.version=BASE_VERSION
pentaho-hadoop-shims-api.version=BASE_VERSION
pentaho-hadoop-shims-cdh513.version=BASE_VERSION
pentaho-hadoop-shims-cdh514.version=BASE_VERSION
pentaho-hadoop-shims-cdh61.version=BASE_VERSION
pentaho-hadoop-shims-cdpdc71.version=BASE_VERSION
pentaho-hadoop-shims-dataproc1421.version=BASE_VERSION
pentaho-hadoop-shims-emr511.version=BASE_VERSION
pentaho-hadoop-shims-emr521.version=BASE_VERSION
pentaho-hadoop-shims-hdp26.version=BASE_VERSION
pentaho-hadoop-shims-hdp30.version=BASE_VERSION
pentaho-hadoop-shims-mapr520.version=BASE_VERSION
pentaho-hadoop-shims-mapr60.version=BASE_VERSION
pentaho-hadoop-shims-mapr61.version=BASE_VERSION
pentaho-hadoop-shims-hdi40.version=BASE_VERSION
pentaho-hdfs-vfs.version=BASE_VERSION
pentaho-jpivot-plugin.version=BASE_VERSION
pentaho-json.version=BASE_VERSION
pentaho-kettle-yarn-plugin.version=BASE_VERSION
pentaho-karaf.version=BASE_VERSION
pentaho-launcher.version=BASE_VERSION
pentaho-marketplace-modules.version=BASE_VERSION
pentaho-metadata.version=BASE_VERSION
pentaho-metastore.version=BASE_VERSION
pentaho-metaverse.version=BASE_VERSION
pentaho-modeler.version=BASE_VERSION
pentaho-mongo-utils.version=BASE_VERSION
pentaho-mongodb-plugin.version=BASE_VERSION
pentaho-mql-editor.version=BASE_VERSION
pentaho-operations-mart.version=BASE_VERSION
pentaho-osgi-bundles.version=BASE_VERSION
pentaho-palo-core.version=BASE_VERSION
pentaho-pdi-ee-plugin.version=BASE_VERSION
pentaho-pdi-plugin.version=BASE_VERSION
pentaho-r-plugin.version=BASE_VERSION
pentaho-registry.version=BASE_VERSION
pentaho-report-wizard-core.version=BASE_VERSION
pentaho-reporting-plugin.version=BASE_VERSION
pentaho-reporting.version=BASE_VERSION
pentaho-repository.version=BASE_VERSION
pentaho-s3-vfs.version=BASE_VERSION
pentaho-sparkl-plugin.version=BASE_VERSION
pentaho-splunk-plugin.version=BASE_VERSION
pentaho-versionchecker.version=BASE_VERSION
pentaho-vfs-browser.version=BASE_VERSION
pentaho.version=BASE_VERSION
pir-plugin.version=BASE_VERSION
platform.version=BASE_VERSION
schemaworkbench-plugins.version=BASE_VERSION
vertica-bulkloader-plugin.version=BASE_VERSION
worker-nodes.version=BASE_VERSION
worker-nodes-custom-resources.version=BASE_VERSION

docker.image.tag=9.3-latest
pentaho-cwm.version=1.5.4
pentaho-ofc4j.version=1.1.0
proguard.version=7.1.0
weka-jri.version=5.1.0

version-merger.version=1.0.9
27 changes: 27 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Merge request workflow
on:
push:
branches:
- "9.5.1.0"
- "!master"
paths-ignore:
- .github/**

workflow_dispatch:
inputs:
modules_to_build:
required: true
description: "The modules to build when running from the root of the project. Defaults to everything ('.')"
default: "."

jobs:

reusable-merge-workflow:
uses: pentaho/actions-common/.github/workflows/merge.yml@master
with:
version: "9.5.1.0"
base_version: "9.5.0.0-240"
slack_channels: ""
sonar_project_key: "pentaho:pentaho-big-data-bundles"
modules_to_build: ${{ inputs.modules_to_build }}
secrets: inherit
14 changes: 14 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Pull request workflow
on:
pull_request:
branches-ignore:
- master

jobs:

reusable-pr-workflow:
uses: pentaho/actions-common/.github/workflows/pr.yml@master
with:
slack_channels: ""
sonar_project_key: "pentaho:pentaho-big-data-bundles"
secrets: inherit
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Parent POMs merge request workflow
on:
workflow_dispatch:
inputs:
release_version:
required: true
description: "The version to be released"
type: string
arti_host:
required: false
type: string
default: https://repo.orl.eng.hitachivantara.com
description: "Artifactory's Host name"
box_upload:
type: boolean
default: true
description: "Flag that controls whether the box upload should be done."

jobs:

release:
uses: pentaho/actions-common/.github/workflows/merge.yml@master
with:
release_version: ${{ inputs.release_version }}
box_upload: ${{ inputs.box_upload }}
arti_host: ${{ inputs.arti_host }}
secrets: inherit
5 changes: 3 additions & 2 deletions kettle-plugins/kafka/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>pentaho</groupId>
Expand Down

0 comments on commit fb5cea9

Please sign in to comment.