Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPBR-1910 add maven configs for nightly pipelines #180

Merged
merged 1 commit into from
Jan 13, 2025
Merged

Conversation

hk10111
Copy link
Member

@hk10111 hk10111 commented Nov 21, 2024

During CP docker image builds, nightly build have different configuration than RC builds due to which some issues do not get caught in nightly pipelines
One such configuration is the maven configs
This PR makes the maven configs similar for both nightly and rc builds

@hk10111 hk10111 requested a review from a team as a code owner November 21, 2024 05:20
@confluent-cla-assistant
Copy link

🎉 All Contributor License Agreements have been signed. Ready to merge.
Please push an empty commit if you would like to re-run the checks to verify CLA status for all contributors.

@sonarqube-confluent
Copy link

Passed

Analysis Details

0 Issues

  • Bug 0 Bugs
  • Vulnerability 0 Vulnerabilities
  • Code Smell 0 Code Smells

Coverage and Duplications

  • Coverage No coverage information (0.00% Estimated after merge)
  • Duplications No duplication information (0.00% Estimated after merge)

Project ID: ksql-images

View in SonarQube

. vault-sem-get-secret maven-settings-cp-dockerfile
else
echo "This job is not a isHotfixJob or isRcJob (What we know how to handle) - and we don't know how to handle it"
export MAVEN_PACKAGES_URL="https://s3.us-west-2.amazonaws.com/dev-confluent-packages-maven-654654529379-us-west-2/maven" # This is default set for PR builds not having a packaging build number
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: When we do maven-login build locally, will it use the same URL? Or do we need to make changes in the settings.xml. My aim is local build should same as PR builder and semaphore nightly builds

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

settings.xml will be different locally
The settings.xml for semaphore pipelines building docker images is present on vault under v1/ci/kv/semaphore2/maven-settings-cp-dockerfile

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Locally maven jars from nightly S3 bucket are not available today as nightly maven jars are not configured to show up on https://nightly-packages.confluent.io/
@hk10111 can you look into cloudfront entry required to make it available.
@kagarwal06 we can have a separate secret for local development which will replace s3.us-west-2.amazonaws.com/dev-confluent-packages-maven-654654529379-us-west-2/maven/ with nightly-packages.confluent.io/maven/

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kagarwal06 maven jars are now available on https://nightly-packages.confluent.io/
This will make local development similar to PR builds

@hk10111 hk10111 merged commit 20f0b3e into 7.1.x Jan 13, 2025
2 checks passed
@hk10111 hk10111 deleted the CPBR-1910 branch January 13, 2025 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants