From e856dd32d48e7c00c996adf553b252bbb9500937 Mon Sep 17 00:00:00 2001 From: Jeff Kim Date: Thu, 15 Aug 2024 14:54:24 -0400 Subject: [PATCH 1/2] code artifacts enable --- .semaphore/semaphore.yml | 4 ++-- service.yml | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index cbc730f401..19f3407d40 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -106,7 +106,7 @@ blocks: - export PACKAGING_BUILD_ARGS="$PACKAGING_BUILD_ARGS -DCONFLUENT_PACKAGES_REPO=$OS_PACKAGES_URL" - mvn -Dmaven.wagon.http.retryHandler.count=3 --batch-mode -P jenkins,docker clean package dependency:analyze validate -U -Ddocker.registry=$DOCKER_DEV_REGISTRY -Ddocker.upstream-registry=$DOCKER_UPSTREAM_REGISTRY -DBUILD_NUMBER=$BUILD_NUMBER -DGIT_COMMIT=$GIT_COMMIT -Ddocker.tag=$DOCKER_DEV_TAG$OS_TAG$AMD_ARCH -Ddocker.upstream-tag=$DOCKER_UPSTREAM_TAG$OS_TAG -Darch.type=$AMD_ARCH -Ddocker.os_type=ubi8 - $PACKAGING_BUILD_ARGS + $PACKAGING_BUILD_ARGS -Ddependency.check.skip=true - . cache-maven store - >- for dev_image in $AMD_DOCKER_DEV_FULL_IMAGES; @@ -139,7 +139,7 @@ blocks: - ci-tools ci-update-version - mvn -Dmaven.wagon.http.retryHandler.count=3 --batch-mode -P jenkins,docker clean package dependency:analyze validate -U -Ddocker.registry=$DOCKER_DEV_REGISTRY -Ddocker.upstream-registry=$DOCKER_UPSTREAM_REGISTRY -DBUILD_NUMBER=$BUILD_NUMBER -DGIT_COMMIT=$GIT_COMMIT -Ddocker.tag=$DOCKER_DEV_TAG$OS_TAG$ARM_ARCH -Ddocker.upstream-tag=$DOCKER_UPSTREAM_TAG$OS_TAG -Darch.type=$ARM_ARCH -Ddocker.os_type=ubi8 - $PACKAGING_BUILD_ARGS + $PACKAGING_BUILD_ARGS -Ddependency.check.skip=true - . cache-maven store - for image in $ARM_DOCKER_DEV_FULL_IMAGES; do echo "Pushing $image" && docker push $image; done epilogue: diff --git a/service.yml b/service.yml index 1c83a9e550..a1dcada958 100644 --- a/service.yml +++ b/service.yml @@ -70,3 +70,7 @@ semaphore: options: - 'deb' - 'ubi' +code_artifact: + enable: true + package_paths: + - maven/maven-snapshots/io/confluent/kafka-images/kafka-images-parent From e7d7bed2514da4cce27288d32413be8b5ceec18e Mon Sep 17 00:00:00 2001 From: Bob Barrett Date: Fri, 16 Aug 2024 14:06:10 -0700 Subject: [PATCH 2/2] Update codeartifact path --- service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.yml b/service.yml index a1dcada958..305c7027af 100644 --- a/service.yml +++ b/service.yml @@ -73,4 +73,4 @@ semaphore: code_artifact: enable: true package_paths: - - maven/maven-snapshots/io/confluent/kafka-images/kafka-images-parent + - maven-snapshots/maven/io.confluent.kafka-images/kafka-images-parent