From ecebfe6c0bf2bd4b75cbf2593a1ab3a830790f6e Mon Sep 17 00:00:00 2001 From: "service-bot-app[bot]" <189278048+service-bot-app[bot]@users.noreply.github.com> Date: Thu, 2 Jan 2025 02:28:16 +0000 Subject: [PATCH] chore: update repo semaphore config --- .semaphore/semaphore.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 50088f35b91..6ea524f0710 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -24,7 +24,7 @@ global_job_config: prologue: commands: - checkout - - sem-version java 17 + - sem-version java 11 - . cache-maven restore blocks: @@ -60,13 +60,18 @@ blocks: - ci-tools ci-push-tag - mvn -U -Dmaven.wagon.http.retryHandler.count=10 --batch-mode -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/ -DrepositoryId=confluent-codeartifact-internal deploy -DskipTests - - name: CP Jar Build CI Gating - dependencies: [ ] + dependencies: [] run: # Run this block only for pull requests when: "pull_request =~ '.*'" task: + agent: + machine: + type: s1-prod-ubuntu20-04-arm64-0 + env_vars: + - name: COMPONENT_NAME + value: schema-registry jobs: - name: Trigger and wait for CP Jar Build Task commands: @@ -78,7 +83,7 @@ blocks: sem-trigger -p packaging \ -t cp-jar-build \ -b $SEMAPHORE_GIT_BRANCH \ - -d "|" -i "CUSTOM_BRANCH_COMPONENTS|schema-registry=${SEMAPHORE_GIT_WORKING_BRANCH}" \ + -d "|" -i "CUSTOM_BRANCH_COMPONENTS|${COMPONENT_NAME}=${SEMAPHORE_GIT_WORKING_BRANCH}" \ -w; \ else \ echo "PR is targeted to ${SEMAPHORE_GIT_BRANCH} branch which is not CP nightly or master branch. Skipping cp-jar-build task."; \ @@ -99,7 +104,7 @@ after_pipeline: - name: SonarQube commands: - checkout - - sem-version java 17 + - sem-version java 11 - artifact pull workflow target - emit-sonarqube-data --run_only_sonar_scan - name: Trigger downstream projects