Skip to content

Commit

Permalink
Consolidate GitHub Actions
Browse files Browse the repository at this point in the history
Signed-off-by: David Venable <dlv@amazon.com>
  • Loading branch information
dlvenable committed Sep 16, 2023
1 parent 35f3db5 commit 6c100a0
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 41 deletions.
39 changes: 0 additions & 39 deletions .github/workflows/examples-trace-analytics-analytics-service.yml

This file was deleted.

27 changes: 25 additions & 2 deletions .github/workflows/examples-trace-analytics.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#
# Builds the Trace Analytics Docker image.
# Builds the Trace Analytics Docker image(s).
# This will build the full Docker image for the sample-app which includes
# Python applications and installing onto the base Docker image.
# It also build the Java sample app and corresponding Docker image to
# ensure those continue to build.
#

name: Trace Analytics Sample App
Expand All @@ -17,7 +19,7 @@ on:
workflow_dispatch:

jobs:
build:
docker-build:
runs-on: ubuntu-latest

steps:
Expand All @@ -28,3 +30,24 @@ jobs:
run: |
cd examples/trace-analytics-sample-app
docker build -t sample-app sample-app
java-app-build:
runs-on: ubuntu-latest

steps:
- name: Set up JDK ${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}

- name: Checkout Data Prepper
uses: actions/checkout@v2

- name: Build Analytics Service
run: |
cd examples/trace-analytics-sample-app/sample-app/analytics-service
./gradlew build
- name: Build Analytics Service Docker image
run: |
docker build -t analytics-service .

0 comments on commit 6c100a0

Please sign in to comment.