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

Fix CI failures #4675

Merged
merged 1 commit into from
Feb 21, 2024
Merged

Fix CI failures #4675

merged 1 commit into from
Feb 21, 2024

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Feb 21, 2024

The Azure pipeline has been updated to install the latest JSS, LDAP SDK, and IdM Console Framework from Quay since they might not be released yet into the official Fedora repository.

The default value for REGISTRY_NAMESPACE has been changed from the repository owner to dogtagpki such that the pipeline can run properly without having to set up a private repository in Quay.

The RPM spec file has been modified to depend on maven-local since maven-local-openjdk17 is not available on CentOS/RHEL.

The Azure pipeline has been updated to install the latest JSS,
LDAP SDK, and IdM Console Framework from Quay since they might
not be released yet into the official Fedora repository.

The default value for REGISTRY_NAMESPACE has been changed from
the repository owner to 'dogtagpki' such that the pipeline can
run properly without having to set up a private repository in
Quay.

The RPM spec file has been modified to depend on maven-local
since maven-local-openjdk17 is not available on CentOS/RHEL.
@edewata edewata changed the title Fix Azure pipeline Fix CI failures Feb 21, 2024
@edewata edewata requested a review from fmarco76 February 21, 2024 18:09
Copy link
Member

@fmarco76 fmarco76 left a comment

Choose a reason for hiding this comment

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

LGTM

@@ -155,7 +155,7 @@ BuildRequires: policycoreutils

# Java build dependencies
BuildRequires: %{java_devel}
BuildRequires: maven-local-openjdk17
Copy link
Member

Choose a reason for hiding this comment

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

Which is the jdk installed in this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The java_devel is still defined as java-17-openjdk-devel, so it should install OpenJDK 17.

The Maven dependency was originally defined as maven-local, which works fine on Fedora 39, but on Fedora 40 it seems to be pulling OpenJDK 21 in addition to OpenJDK 17. I was trying to complete Fedora 40 support first and then add OpenJDK 21 support separately later, so I changed the dependency to maven-local-openjdk17 specifically, but apparently this package is not available on CentOS/RHEL, so for now it's reverted back to maven-local.

@edewata
Copy link
Contributor Author

edewata commented Feb 21, 2024

@fmarco76 Thanks!

@edewata edewata merged commit e4de367 into dogtagpki:master Feb 21, 2024
135 checks passed
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.

2 participants