From 651d7107a5c897d78cfaa2ac19ea6336ddfe5ace Mon Sep 17 00:00:00 2001 From: Roland Date: Tue, 16 Nov 2021 13:05:55 -0800 Subject: [PATCH 1/4] build all artifacts using github actions --- .github/workflows/build.yml | 12 ++++++++++++ scripts/build.sh | 39 +++++++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 .github/workflows/build.yml create mode 100644 scripts/build.sh diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..65b89a63 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,12 @@ +name: build-all +on: [push] +jobs: + build-alln: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 11 + uses: actions/setup-java@v1 + with: + java-version: 11 + - run: build scripts/build.sh \ No newline at end of file diff --git a/scripts/build.sh b/scripts/build.sh new file mode 100644 index 00000000..30ba8ca8 --- /dev/null +++ b/scripts/build.sh @@ -0,0 +1,39 @@ +MAVEN_CLI_OPTS="--show-version" +MAVEN_OPTS="-Dmaven.repo.local=./.m2/repository -Djava.awt.headless=true" + +# System +mvn $MAVEN_CLI_OPTS clean compile install -f system/platform-core +mvn $MAVEN_CLI_OPTS clean compile install -f system/rest-spring + +# Core +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/core/cloud-connector +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/core/service-monitor + +# Kafka +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/kafka/kafka-standalone +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/kafka/kafka-presence +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/kafka/kafka-connector + +# Active MQ +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/activemq/activemq-connector +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/activemq/activemq-presence + +# Hazelcast +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/hazelcast/hazelcast-connector +mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/hazelcast/hazelcast-presence + +# Tibco (requires libraries) +# mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/tibco/tibco-connector +# mvn $MAVEN_CLI_OPTS clean compile install -f connectors/adapters/tibco/tibco-presence + +# Language Connector +mvn $MAVEN_CLI_OPTS clean compile install -f language-packs/language-connector + +# Extensions +mvn $MAVEN_CLI_OPTS clean compile install -f extensions/api-playground +mvn $MAVEN_CLI_OPTS clean compile install -f extensions/distributed-tracer + +mvn $MAVEN_CLI_OPTS clean compile install -f extensions/rest-automation-lib +mvn $MAVEN_CLI_OPTS clean compile install -f extensions/rest-automation-app + +mvn $MAVEN_CLI_OPTS clean compile install -f extensions/simple-scheduler \ No newline at end of file From 59f013dd79bfe19b9a14783720890a9ba9d3a489 Mon Sep 17 00:00:00 2001 From: Roland Date: Tue, 16 Nov 2021 13:07:03 -0800 Subject: [PATCH 2/4] typo --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 65b89a63..75e88848 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -9,4 +9,4 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 - - run: build scripts/build.sh \ No newline at end of file + - run: bash scripts/build.sh \ No newline at end of file From d2c133f4d78e2a1eee11447c9bab919ba456ab4a Mon Sep 17 00:00:00 2001 From: Roland Date: Fri, 1 Apr 2022 20:55:31 -0600 Subject: [PATCH 3/4] typo --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 75e88848..51292474 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,7 @@ name: build-all on: [push] jobs: - build-alln: + build-all: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -9,4 +9,4 @@ jobs: uses: actions/setup-java@v1 with: java-version: 11 - - run: bash scripts/build.sh \ No newline at end of file + - run: bash scripts/build.sh From cc4282fcf4367c6f370afe39600082edd3662a46 Mon Sep 17 00:00:00 2001 From: Roland Date: Fri, 1 Apr 2022 20:56:59 -0600 Subject: [PATCH 4/4] update description --- scripts/build.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index 30ba8ca8..61b63f00 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,3 +1,6 @@ +#!/bin/bash +# A script to build and install all mercury components + MAVEN_CLI_OPTS="--show-version" MAVEN_OPTS="-Dmaven.repo.local=./.m2/repository -Djava.awt.headless=true" @@ -36,4 +39,4 @@ mvn $MAVEN_CLI_OPTS clean compile install -f extensions/distributed-tracer mvn $MAVEN_CLI_OPTS clean compile install -f extensions/rest-automation-lib mvn $MAVEN_CLI_OPTS clean compile install -f extensions/rest-automation-app -mvn $MAVEN_CLI_OPTS clean compile install -f extensions/simple-scheduler \ No newline at end of file +mvn $MAVEN_CLI_OPTS clean compile install -f extensions/simple-scheduler