Skip to content

Commit

Permalink
chore: update repo semaphore task
Browse files Browse the repository at this point in the history
  • Loading branch information
ConfluentSemaphore committed Jun 25, 2024
1 parent 8d7f009 commit e6fde26
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .semaphore/cp_dockerfile_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,17 @@ global_job_config:
- export AMD_ARCH=.amd64
- export ARM_ARCH=.arm64
blocks:
- name: Build, Test, & Scan AMD
- name: Validation
dependencies: []
run:
when: "branch = 'master'"
task:
jobs:
- name: Validation
commands:
- . sem-pint -c
- name: Build, Test, & Scan AMD
dependencies: ["Validation"]
run:
# don't run the tests on non-functional changes...
when: "change_in('/', {exclude: ['/.deployed-versions/', '.github/']})"
Expand Down Expand Up @@ -145,7 +154,7 @@ blocks:
- docker tag $DEV_IMAGE_FULL $PROD_IMAGE_NAME:$LATEST_PUSH_TAG
- docker push $PROD_IMAGE_NAME:$LATEST_PUSH_TAG
- name: Build & Test ARM
dependencies: []
dependencies: ["Validation"]
run:
# don't run the tests on non-functional changes...
when: "change_in('/', {exclude: ['/.deployed-versions/', '.github/']})"
Expand Down Expand Up @@ -214,7 +223,10 @@ blocks:
- export DOCKER_PROD_IMAGE_NAME=$DOCKER_PROD_REGISTRY${DOCKER_REPOS// / $DOCKER_PROD_REGISTRY}
- ci-tools ci-update-version
- ci-tools ci-push-tag
- echo "Skipping Maven Deploy"
- |-
if [[ ! $IS_RELEASE && ! $IS_PREVIEW ]]; then
mvn -Dmaven.wagon.http.retryHandler.count=3 --batch-mode -P jenkins,docker -DaltDeploymentRepository=confluent-codeartifact-internal::default::https://confluent-519856050701.d.codeartifact.us-west-2.amazonaws.com/maven/maven-snapshots/ -DrepositoryId=confluent-codeartifact-internal deploy -DskipTests -Ddocker.skip-build=true -Ddocker.skip-test=true
fi
# Create manifest
- >-
for image in $DOCKER_PROD_IMAGE_NAME;
Expand Down

0 comments on commit e6fde26

Please sign in to comment.