From 878f8c89a6d89202c0e369f526c32c5e1e069fda Mon Sep 17 00:00:00 2001 From: Jerome Van Der Linden Date: Wed, 25 Oct 2023 16:45:07 +0200 Subject: [PATCH 1/4] artifacts size on good branches --- .github/workflows/pr_artifacts_size.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pr_artifacts_size.yml b/.github/workflows/pr_artifacts_size.yml index cbacd78da..c6b4967d3 100644 --- a/.github/workflows/pr_artifacts_size.yml +++ b/.github/workflows/pr_artifacts_size.yml @@ -3,18 +3,24 @@ name: Artifacts Size on: pull_request: branches: - - master + - main + - v2 paths: + - 'powertools-batch/**' - 'powertools-cloudformation/**' - - 'powertools-core/**' - - 'powertools-serialization/**' + - 'powertools-core/**' # not in v2 + - 'powertools-common/**' # v2 only + - 'powertools-e2e-tests/**' + - 'powertools-idempotency/**' + - 'powertools-large-messages/**' - 'powertools-logging/**' - - 'powertools-sqs/**' + - 'powertools-metrics/**' + - 'powertools-parameters/**' + - 'powertools-serialization/**' + - 'powertools-sqs/**' # not in v2 + - 'powertools-test-suite/**' # not in v2 - 'powertools-tracing/**' - 'powertools-validation/**' - - 'powertools-parameters/**' - - 'powertools-idempotency/**' - - 'powertools-metrics/**' - 'pom.xml' jobs: codecheck: From d3cfdd51aa3808c87dc0fec69792685f17a42cb9 Mon Sep 17 00:00:00 2001 From: Jerome Van Der Linden Date: Wed, 25 Oct 2023 16:48:08 +0200 Subject: [PATCH 2/4] action on yaml change --- .github/workflows/pr_artifacts_size.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pr_artifacts_size.yml b/.github/workflows/pr_artifacts_size.yml index c6b4967d3..91674c983 100644 --- a/.github/workflows/pr_artifacts_size.yml +++ b/.github/workflows/pr_artifacts_size.yml @@ -22,6 +22,7 @@ on: - 'powertools-tracing/**' - 'powertools-validation/**' - 'pom.xml' + - '.github/workflows/pr_artifacts_size.yml' jobs: codecheck: runs-on: ubuntu-latest From b9477a8b5526a7e512dea766cb28f2eb10d2f034 Mon Sep 17 00:00:00 2001 From: Jerome Van Der Linden Date: Wed, 25 Oct 2023 23:29:39 +0200 Subject: [PATCH 3/4] use maven central for DynamoDBLocal --- examples/powertools-examples-idempotency/pom.xml | 7 ------- powertools-idempotency/pom.xml | 7 ------- 2 files changed, 14 deletions(-) diff --git a/examples/powertools-examples-idempotency/pom.xml b/examples/powertools-examples-idempotency/pom.xml index 8cda4bfb3..4b8eba9c9 100644 --- a/examples/powertools-examples-idempotency/pom.xml +++ b/examples/powertools-examples-idempotency/pom.xml @@ -244,11 +244,4 @@ - - - dynamodb-local-oregon - DynamoDB Local Release Repository - https://s3.eu-central-1.amazonaws.com/dynamodb-local-frankfurt/release - - diff --git a/powertools-idempotency/pom.xml b/powertools-idempotency/pom.xml index 9dfde1bd1..8b3459dee 100644 --- a/powertools-idempotency/pom.xml +++ b/powertools-idempotency/pom.xml @@ -189,11 +189,4 @@ - - - dynamodb-local-oregon - DynamoDB Local Release Repository - https://s3.eu-central-1.amazonaws.com/dynamodb-local-frankfurt/release - - \ No newline at end of file From 7e7e42ac4af249699f299395b4af3e0f7128f0d1 Mon Sep 17 00:00:00 2001 From: Jerome Van Der Linden Date: Wed, 25 Oct 2023 23:42:37 +0200 Subject: [PATCH 4/4] artifact:buildinfo --- .github/workflows/pr_artifacts_size.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_artifacts_size.yml b/.github/workflows/pr_artifacts_size.yml index 91674c983..f37f83a8d 100644 --- a/.github/workflows/pr_artifacts_size.yml +++ b/.github/workflows/pr_artifacts_size.yml @@ -34,7 +34,7 @@ jobs: distribution: 'corretto' java-version: 11 - name: Build with Maven - run: mvn clean package --file pom.xml -DskipTests + run: mvn clean package --file pom.xml -DskipTests artifact:buildinfo - name: Get artifacts size & build report id: artifacts-size-report run: |