-
Notifications
You must be signed in to change notification settings - Fork 278
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
neo4j/5.26.0 package update #36123
neo4j/5.26.0 package update #36123
Conversation
octo-sts
bot
commented
Dec 9, 2024
Gen AI suggestions to solve the build error: • Detected Error: • Error Category: Build • Failure Point: The final packaging step after Maven build when trying to extract the tar.gz artifact • Root Cause Analysis: The Maven build appears to have warnings but completed, however the expected neo4j-*.tar.gz artifact was not generated in the expected location. This suggests the Maven build may have silently failed to produce the distribution archive. • Suggested Fix:
pipeline:
- runs: |
export LANG=en_US.UTF-8
mvn package -DskipTests=true -T$(nproc)C -q -P deployment-only
- runs: |
export LANG=en_US.UTF-8
mvn package -DskipTests=true -T$(nproc)C -q -P deployment-only
if [ ! -f packaging/standalone/target/neo4j-*.tar.gz ]; then
echo "Distribution archive not found"
exit 1
fi • Explanation:
• Additional Notes:
• References:
|
Signed-off-by: wolfi-bot <121097084+wolfi-bot@users.noreply.github.com>
bf64ab6
to
c9d7695
Compare
Gen AI suggestions to solve the build error: Based on the build error output, I'll analyze and provide a solution: • Detected Error: • Error Category: Build • Failure Point: Final packaging step in the pipeline where it attempts to extract the built Neo4j tarball • Root Cause Analysis: The Maven build appears to complete (with warnings) but the expected Neo4j tarball was not generated in the expected location. This suggests the Maven build target for the standalone package was not properly executed. • Suggested Fix: pipeline:
- uses: git-checkout
with:
repository: https://github.com/neo4j/neo4j
tag: ${{package.version}}
expected-commit: 17dc7f7e1787c451938b97666a06afd3695987ca
- uses: maven/pombump
- runs: |
export LANG=en_US.UTF-8
# Build the standalone distribution specifically
mvn package -DskipTests=true -T$(nproc)C -q -pl packaging/standalone -am
mkdir -p ${{targets.destdir}}/usr/share/java/neo4j
tar --strip-components=1 -xf packaging/standalone/target/neo4j-community-${{package.version}}-unix.tar.gz -C ${{targets.destdir}}/usr/share/java/neo4j
mkdir -p ${{targets.destdir}}/usr/bin
for i in neo4j neo4j-admin cypershell; do
ln -sf /usr/share/java/neo4j/bin/$i ${{targets.destdir}}/usr/bin/$i
done • Explanation:
• Additional Notes:
• References:
|
…ix binary name for cypher-shell 4. add test Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>
…ctly Signed-off-by: Debasish Biswas <debasishbsws.dev@gmail.com>
kudos @debasishbsws, thanks for fixing the issue!!!!! |