Skip to content

Quarkus Maven Plugin behaviour in Gitlab CI - Gitlab CI breaks the Quarkus Maven Plugin? #23685

Answered by eformat
markusjnagel asked this question in Q&A
Discussion options

You must be logged in to vote

nice one @stuartwdouglas - #23696
i debugged further. i think this happens because the gitlab runner fires up with a certain securityContext which end up as

$ cat /etc/passwd
1000690000:x:1000690000:0:1000690000 user:/home/jboss:/sbin/nologin

in the pod. when i run this in the runner pod, you can see home is "?"

sh-4.4$ echo $HOME; mvn clean -X|grep setting 
/home/jboss
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG] Reading global settings from /usr/share/maven/conf/settings.xml
[DEBUG] Reading user settings from ?/.m2/settings.xml

the reason we dont see this on other java apps (like the one i tried above) is because the io.quarkus.vertx.http.deployment.StaticResour…

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
4 replies
@cescoffier
Comment options

@ckavili
Comment options

@eformat
Comment options

@stuartwdouglas
Comment options

Comment options

You must be logged in to vote
1 reply
@stuartwdouglas
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by markusjnagel
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment