Allow parallel jobs

This commit is contained in:
Corneil du Plessis
2023-04-06 15:52:02 +02:00
parent e4cb1f771f
commit b456f9cd38
2 changed files with 28 additions and 2 deletions

View File

@@ -32,7 +32,6 @@ on:
required: false
jobs:
kafka-samples:
runs-on: ubuntu-latest
steps:
@@ -339,3 +338,30 @@ jobs:
docker-password: ${{ secrets.DOCKERHUB_TOKEN }}
java-version: '17'
docker-images: 'springcloudtask/timestamp-batch-task:3.0.0'
completed:
runs-on: ubuntu-latest
needs:
- kafka-samples
- restaurant-stream-apps-customer
- restaurant-stream-apps-kitchen
- restaurant-stream-apps-waitron
- multi-io-ticktock
- multi-io-http-purchase-orders
- user-clicks-per-region-12x
- function-samples
- function-samples-uppercase-processor
- stream-dev-guides-standalone-stream-kafka
- stream-dev-guides-standalone-stream-rabbitmq
- batch-dev-guides-batchsamples
- stream-dev-guides-composed-http-transformer-kafka
- stream-dev-guides-composed-http-transformer-kotlin-kafka
- stream-dev-guides-composed-http-transformer-rabbitmq
- stream-dev-guides-composed-http-transformer-kotlin-rabbitmq
- task-demo-metrics-prometheus
- scenario-task
- timestamp-task
- timestamp-batch
steps:
- name: 'Completed'
shell: bash
run: echo "::info ::completed"

View File

@@ -1,6 +1,6 @@
#!/bin/bash
if [ "$TIMESTAMP_TASK_VERSION" = "" ]; then
TIMESTAMP_TASK_VERSION=2.0.2
TIMESTAMP_TASK_VERSION=3.0.0
fi
./mvnw -o clean install -DskipTests
./mvnw -o spring-boot:build-image -DskipTests -Dspring-boot.build-image.imageName=springcloud/timestamp-task:$TIMESTAMP_TASK_VERSION