-
Notifications
You must be signed in to change notification settings - Fork 0
Add GitHub Actions CI workflows for build, tests, and Maven publishing #2
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
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: gkorland <[email protected]>
|
|
||
| - name: Publish Test Report | ||
| if: always() | ||
| uses: dorny/test-reporter@v1 |
Check warning
Code scanning / CodeQL
Unpinned tag for a non-immutable Action in workflow Medium
Uses Step
Co-authored-by: gkorland <[email protected]>
Co-authored-by: gkorland <[email protected]>
Co-authored-by: gkorland <[email protected]>
shahar-biron
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving CI workflows PR. The workflows look comprehensive and will greatly improve the development experience with automated testing and publishing.
Overview
This PR adds comprehensive GitHub Actions CI/CD workflows to automate building, testing, and publishing Spring Data FalkorDB artifacts.
Changes
🔄 New Workflows
1. Build & Test Workflow (
.github/workflows/build.yml)Automatically validates all code changes on PRs and pushes to main/release branches:
2. Publish Workflow (
.github/workflows/publish.yml)Automatically publishes SNAPSHOT artifacts to Maven repository on merges:
📚 Documentation
ci/README.mdComprehensive CI/CD documentation covering:
.github/WORKFLOWS.mdQuick reference guide providing:
Updated
README.mdKey Features
Required Configuration
To enable publishing, repository maintainers need to add these GitHub secrets:
ARTIFACTORY_USERNAME- Username for Maven repositoryARTIFACTORY_PASSWORD- Password/token for Maven repositoryTesting
Both workflows have been validated for:
Compatibility
These workflows complement the existing Jenkinsfile and work alongside it during any transition period. The workflows use the same CI scripts (
ci/test.sh,ci/clean.sh) andsettings.xmlconfiguration.Closes #<issue_number>
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
ge.spring.io/usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED -classpath /home/REDACTED/work/spring-data-falkordb/spring-data-falkordb/.mvn/wrapper/maven-wrapper.jar -Dmaven.home=/home/REDACTED/work/spring-data-falkordb -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/spring-data-falkordb/spring-data-falkordb org.apache.maven.wrapper.MavenWrapperMain clean compile -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true(dns block)jfrog-prod-use1-shared-virginia-main.s3.amazonaws.com/usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED -classpath /home/REDACTED/work/spring-data-falkordb/spring-data-falkordb/.mvn/wrapper/maven-wrapper.jar -Dmaven.home=/home/REDACTED/work/spring-data-falkordb -Dmaven.multiModuleProjectDirectory=/home/REDACTED/work/spring-data-falkordb/spring-data-falkordb org.apache.maven.wrapper.MavenWrapperMain clean compile -DskipTests -Dcheckstyle.skip=true -Dmaven.javadoc.skip=true(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
Fixes #1
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.