Skip to content

Commit

Permalink
chore: update repo semaphore config
Browse files Browse the repository at this point in the history
  • Loading branch information
service-bot-app[bot] committed Jan 2, 2025
1 parent 9e83c30 commit ecebfe6
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ global_job_config:
prologue:
commands:
- checkout
- sem-version java 17
- sem-version java 11
- . cache-maven restore

blocks:
Expand Down Expand Up @@ -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:
Expand All @@ -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."; \
Expand All @@ -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
Expand Down

0 comments on commit ecebfe6

Please sign in to comment.