Commit Graph

50 Commits

Author SHA1 Message Date
Jonatan Ivanov
6df84845a2 Do not trigger GHA workflows on forks
GHA workflows are automatically executed on forks where they fail.
This change prevents this (only for those workflows that are
automatically triggered, e.g.: on push or schedule).
2025-05-15 17:45:59 -04:00
Ilayaperumal Gopinathan
76ab91fab8 Maven central release workflow cleanup 2025-01-30 10:41:24 +00:00
Ilayaperumal Gopinathan
8cf33fe664 Cleanup artifactory and maven release actions
- Delete the old maven central release workflow and replace it with the new workflow which uses nexus staging plugin
 - Delete the artifactory staging release workflow as it is no longer needed
     - This was used to push the artifacts into repo.spring.io libs-staging-local before pushing into sonatype staging. With the nexus staging plugin, we directly push the artifacts into sonatype staging
 - Delete maven central staging release workflow as it is no longer needed as well
2025-01-29 18:58:38 +00:00
Ilayaperumal Gopinathan
bac8fcc24b Remove documentation upload from the new maven central release workflow 2025-01-29 18:58:38 +00:00
Ilayaperumal Gopinathan
ff287a5457 Add maven central release GH Action workflow 2025-01-29 17:26:32 +00:00
Eddú Meléndez
67eee8a43b Enable tests on PRs
It only executes unit tests.

Checkstyle and Spring Java Format are executed.
2024-12-18 11:52:14 +01:00
Mark Pollack
aae4d24f09 Use ci-fast-integration-tests for CI build 2024-12-09 09:12:16 -05:00
Ilayaperumal Gopinathan
a2d9ddd27a Disable docker-compose and testcontainers tests for the CI/CD build
- These modules run their tests at the https://github.com/spring-projects/spring-ai-integration-tests
2024-12-09 07:56:28 +00:00
Mark Pollack
51261e46f8 Add Ollama service to CI job 2024-12-08 23:17:46 -05:00
Mark Pollack
a815d6e8ab Fix CI job 'docker-compose and testcontainers' to only run those modules IT tests 2024-11-12 17:08:34 -05:00
Mark Pollack
1d540a6dd1 CI Actions imporvements 2024-11-12 15:24:23 -05:00
Mark Pollack
6acd202c12 Comment out second tc/docker-compose job in CI 2024-11-12 07:09:10 -05:00
Mark Pollack
fce52cd9b2 Disable Ollama tests in CI 2024-11-11 16:34:18 -05:00
Mark Pollack
a98af02f62 Minimize time to run main CI build action
- Add maven properties for all vector stores such as
skip.vectorstore.azure-cosmos-db to control IT test execution
- Chroma and PGVector IT tests are enabled by default
- Docker Compose and Testcontainers module ITs are skipped by default
- Add parallel job to run docker-compose and testcontainers ITs
2024-11-11 16:19:08 -05:00
Mark Pollack
538e2860d1 Disable running Ollama IT tests 2024-11-08 14:54:42 -05:00
Ilayaperumal Gopinathan
298b71c35d Fix Document Upload workflow
- Generate Javadoc before aggregate
2024-11-05 17:41:07 +00:00
Ilayaperumal Gopinathan
f36af38fe8 Fix documentation upload workflow
- The JavaDoc API directory path shouldn't need an explicit 'api' in its path
2024-11-05 15:56:58 +00:00
Ilayaperumal Gopinathan
cbef2d1600 Attempt to fix JavaDocs publish path 2024-11-05 14:08:40 +00:00
Ilayaperumal Gopinathan
8b4df9075f Re-enable javadoc error check on the CI 2024-11-04 12:15:09 +00:00
Mark Pollack
05f4eb0520 Ignore javadoc errors in GitHub CI action 2024-11-03 19:47:44 -05:00
Mark Pollack
ca1949c825 Replace static initalization block in BaseOllamaIT
The static block was introducing side effects when doing scans of classpath
for AOT and seems to have been the cause of a failing test.

Updated github actions to use ~/.testcontainers.properties to enable
container resuse
2024-10-29 13:58:09 -04:00
Mark Pollack
3c9ae4e1d6 fix javadoc build in CI 2024-09-09 16:51:40 -04:00
Eddú Meléndez
fd19b4430a Update actions/checkout and actions/setup-java version to v4 2024-06-22 20:51:42 +02:00
Eddú Meléndez
db53166779 Add jlumbroso/free-disk-space action 2024-06-22 19:21:53 +02:00
Eddú Meléndez
d7dad6ef61 Add GH workflow to check source code format on PRs 2024-05-11 16:14:40 +02:00
Christian Tzolov
c45352909e Final GH doc action fixes 2024-03-15 14:17:57 +01:00
Christian Tzolov
cf463c8b4c Improve the Deploy docs steps of Docs uplaod GH action 2024-03-15 14:07:21 +01:00
Christian Tzolov
4e3bba7c0f Fix GH documenttation-upload.yml 2024-03-15 14:00:16 +01:00
Christian Tzolov
a8142b7f62 fixing GH document upload action 2024-03-15 13:03:58 +01:00
Christian Tzolov
255e542cbe CI/CD configuration fixes 2024-03-15 11:59:03 +01:00
Mark Pollack
783d81b7f8 add quotes around command in github action to upload javadocs 2024-03-12 13:40:14 -04:00
Christian Tzolov
0d0b858d60 Temp disable Ollama ITs 2024-02-27 23:32:05 +01:00
Christian Tzolov
3eb24f6088 Update continuous-integration.yml
Try to fix the GH action hashFiles expression
2024-02-27 23:08:00 +01:00
Christian Tzolov
270f01608e Update continuous-integration.yml
Update ScribeMD/docker-cache to @0.3.7
2024-02-27 22:33:53 +01:00
Eddú Meléndez
246ba173fe Enable Ollama integration test
Currently, test is disable because in every run the image should
be downloaded and then pull the model. Now, taking advantage of
Testcontainers and a GHA, a new image is created on-the-fly with
the model in it and then cached, so, next executions will reuse the
cached image instead.

Fixes #121
2024-02-27 20:57:43 +01:00
Christian Tzolov
134b87cb4b fix CI/CD deploy docs work dir 2024-02-22 18:02:47 +01:00
Christian Tzolov
631521c8dd Attempt to fix javadocs CI generation 2024-02-22 17:46:06 +01:00
Mark Pollack
3423688908 remove uploading of old asciidoc ref docs as the no longer exist 2023-12-04 15:00:43 -05:00
Mark Pollack
27bb72999a remove unused asciidoc plugin and docs 2023-12-04 14:49:16 -05:00
Janne Valkealahti
55a02f6356 Fix workflows for repo org change 2023-11-20 18:39:55 +00:00
Mark Pollack
1666cf0845 Allow for up to 3 retries when running an integration test 2023-11-09 15:18:47 -05:00
Mark Pollack
c4ca58b1c4 tidy up workflow yaml 2023-09-28 09:17:04 -04:00
Christian Tzolov
cdaac4c532 Update maven-central-release.yml
Fix broken yaml
2023-09-28 06:38:51 +02:00
Michael Hunger
cffa790a8b Replace spring-batch with spring-ai in GH templates 2023-09-27 17:03:44 -04:00
Mark Pollack
5208c12237 add additional env var for openai key - still needs cleanup 2023-09-17 17:52:29 -04:00
Mark Pollack
bfafa8bde3 Reactor PromptTemplateActions
* PromptTemplateActions contains Prompt create() methods
* PromptTemplateStringActions contains String render() methods
* PromptTemplateMessageActions contains Message createMessage() methods
* PromptTemplateChatActions contains List<Message> createMessages() actions
* Message classes can accept a Spring resource in their constructors
* AiClient implementations package name change llm->client
* Add toString() to Generation
* Add -PintegrationTest profile, disabled by default.
* Add integration test for OpenAi Client and 'evaluation'
* Add Question and Answer Prompts for evaluation of AiClient responses
2023-08-18 13:01:39 -04:00
Janne Valkealahti
f3840e3651 Add antora workflow 2023-08-16 18:27:59 +03:00
Mark Pollack
cc3f1ebfbf Add OPENAI_API_KEY to ci action file 2023-08-15 19:00:21 -04:00
Mark Pollack
2c73507dc6 change branch name for CI builds 2023-08-05 17:25:22 -04:00
Mark Pollack
0ee86b5b5d add github actions 2023-08-04 11:54:13 -04:00