quarkiverse / quarkus-argocd

An ArgoCD extension for Quarkus
https://docs.quarkiverse.io/quarkus-argocd/dev
Apache License 2.0
0 stars 2 forks source link

Troubleshoot build-test #41

Closed iocanel closed 11 hours ago

cmoulliard commented 1 day ago

Still same error => https://github.com/quarkiverse/quarkus-argocd/actions/runs/11036981349/job/30656746764?pr=41

cmoulliard commented 1 day ago

Here is the hack to add the extension and to avoid the error till we found the root cause

awk '
/<dependencyManagement>/ { in_dep_management = 1 }
/<\/dependencyManagement>/ { in_dep_management = 0 }
/<\/dependencies>/ && !in_dep_management {
    print "    <dependency>\n        <groupId>io.quarkiverse.argocd</groupId>\n        <artifactId>quarkus-argocd</artifactId>\n        <version>999-SNAPSHOT</version>\n    </dependency>"
}
{ print }
' pom.xml > tmp.xml && mv tmp.xml pom.xml

@iocanel

cmoulliard commented 11 hours ago

Great news as build-and-test job succeeded and ArgoCD file has been well generated and is not empty

ArgoCD Applications generated:
code-with-quarkus-deploy
## Check if the file has been generated ...
Argo CD file has been generated
repoURL field exists within the generated Argo CD generated file !
iocanel commented 11 hours ago

Should we create an issue to keep track about the fact that you forced the QuarkusBootStrap builder of quarkus to also load the Argo CD jar ?

@iocanel

I will create some related issues.