Commit Graph
68 Commits
Author SHA1 Message Date
Vickey efd26c645b ci: add unit, integration and e2e workflows with makefile targets
Wire the test toolchain into developer-facing entry points and CI:

- Makefile gains test, test-it, test-e2e and coverage targets; the help
  banner advertises them alongside the existing build commands so
  contributors do not need to memorise the underlying mvn invocations.
- A new Test workflow runs three sequenced jobs: unit (mvn test, skipping
  the integration phase), integration (mvn verify, skipping unit phase,
  running with TESTCONTAINERS_REUSE_ENABLE=true), and a final coverage
  job that downloads both jacoco .exec artifacts and rebuilds the
  aggregate report from dc3-coverage.
- A new E2E workflow runs make test-e2e on develop/release/main pushes
  and on manual dispatch, with a 90 minute timeout that accommodates
  cold compose start-up plus the full critical path battery.
- The existing CI workflow keeps its fast-fail compile job unchanged so
  PR feedback latency stays low; tests are now owned exclusively by
  the new Test workflow.
2026-05-13 13:08:28 +08:00
Vickey 469d290631 revert(ci): restore custom CodeQL workflow 2026-05-10 09:38:05 +08:00
Vickey cbcbbe6bc4 chore(ci): remove custom CodeQL workflow in favor of default setup
The repository has default CodeQL enabled in GitHub settings, which
conflicts with an advanced configuration workflow and causes SARIF
upload failures.
2026-05-10 09:36:22 +08:00
pnoker 7d68495f3a ci: add security quality checks 2026-05-09 20:00:40 +08:00
pnoker 57f4512b21 ci: harden github workflows 2026-05-09 18:57:30 +08:00
pnoker a45f2f5ec1 fix(container): include agentic compose service 2026-05-09 18:49:52 +08:00
pnoker b0176bd9a1 fix: downgrade JDK version from 25 to 21 in Dockerfile and related configurations 2026-04-29 16:26:24 +08:00
pnoker c5a9feeeb9 feat: add .env file for Docker Compose configuration and update usage instructions 2026-04-29 10:27:57 +08:00
pnoker ea17c86387 chore: update version to 2026.4.19 across all modules and adjust branch settings in codeql.yml 2026-04-19 13:45:21 +08:00
pnoker d102e18b00 chore: fix inceptionYear and scm connection in all pom.xml
- Fix <inceptionYear> from '2016-2022' to '2016' in 20 pom.xml files
- Fix <scm> connection/developerConnection to use scm:git: prefix in 22 pom.xml files
2026-04-18 01:31:07 +08:00
zzi666 d4d379a17a refactor: standardize and translate comments across driver modules for consistency and clarity 2025-10-28 15:45:52 +08:00
Vickey de6a29d5a9 feat: update docker-ci.yml 2025-10-05 17:22:49 +08:00
Vickey 106096249c build: upgrade base image references to dc3-jdk:2025.9 and fix codeql.yml matrix indentation 2025-09-11 16:53:42 +08:00
pnoker bd83f0574b ci: add CodeQL workflow for actions and java-kotlin analysis 2025-09-10 19:13:49 +08:00
Vickey c4283a5f42 ci: fix bilingual release notes layout in docker-ci workflow 2025-08-30 15:44:42 +08:00
Vickey c1f78f5706 ci: add bilingual collapsible sections to GitHub release notes output 2025-08-30 15:27:17 +08:00
Vickey 19d7c64794 ci: add docker-ci workflow with release notes generation and GitHub release step 2025-08-30 15:00:35 +08:00
Vickey 5e6a169ca4 ci: fix yaml indentation for maven build and docker steps in docker-ci workflow 2025-08-30 14:29:41 +08:00
Vickey e14edec817 ci: switch workflow trigger branch pattern to dc3.release.* 2025-08-30 14:24:04 +08:00
Vickey 7d369d4408 ci: reorganize workflow step indentation and move doc files to dc3/doc directory 2025-08-30 14:23:04 +08:00
pnoker 39ab355fe3 docs(ci): add architecture image to release TITLE.md 2025-08-29 17:02:00 +08:00
pnoker fdb7474975 docs(ci): change release title from h1 to h2 in TITLE.md 2025-08-29 17:00:51 +08:00
pnoker af99c8a9e3 docs(ci): simplify release title heading level in TITLE.md 2025-08-29 16:59:40 +08:00
pnoker a01a90f7b4 ci: add github actions workflow title documentation 2025-08-29 16:24:38 +08:00
pnoker 12b82efbaf ci: remove inline release notes generation from docker-ci workflow 2025-08-27 17:41:21 +08:00
pnoker d154247cc7 docs(ci): update workflow changelog 2025-08-27 17:39:30 +08:00
pnoker 66230917b1 docs(ci): update workflow changelog 2025-08-27 17:38:33 +08:00
pnoker 4d4fca9024 ci: expand usage documentation for docker-ci workflow 2025-08-27 17:36:14 +08:00
pnoker 9b9a470182 docs(ci): update workflow changelog entries 2025-08-27 17:17:57 +08:00
pnoker 1a0254602c ci: add initial changelog file for github actions workflows 2025-08-27 17:13:19 +08:00
pnoker b41bf5b266 ci: remove inline usage/quick-start section from docker-ci release notes 2025-08-27 17:04:32 +08:00
pnoker fb10774b4d ci: add usage documentation for docker-ci workflow 2025-08-27 17:01:29 +08:00
Vickey b868cfc5e2 ci: change docker workflow trigger tag from dc3.develop.* to dc3.release.* 2025-08-24 01:28:12 +08:00
Vickey fed3b2a9f4 feat: add example usage to Docker CI workflow output
Enhanced the Docker CI workflow by including an example usage line in the output, demonstrating how to pull a Docker image from the registry. This addition improves clarity and usability for users interacting with the generated documentation.
2025-07-15 20:05:59 +08:00
Vickey 19947b9181 feat: feat: add release notes generation to Docker CI workflow
Enhanced the Docker CI workflow by introducing a step to generate release notes. This includes collecting changes since the last tag, listing Docker images for both Docker Hub and Aliyun Container Registry, and providing usage instructions. The release notes are then used to create a GitHub release, improving documentation and visibility for each release.
2025-07-15 19:52:03 +08:00
Vickey 550dcb5243 feat: feat: enhance Docker CI workflow with detailed logging and summaries
Added multiple steps to print workflow, Java, cache, service configuration, and build information during the Docker CI process. Included a final summary of the services built and pushed to registries, improving visibility and traceability of the CI pipeline.
2025-07-15 14:26:39 +08:00
Vickey 31a6a275ed build: bump project version to 2025.6.4 across all modules 2025-07-15 12:01:43 +08:00
Vickey 886b212793 build: bump project version to 2025.6.1 across all modules 2025-06-21 16:21:18 +08:00
Vickey 877be41317 build: bump project version to 2025.6.0 and remove unused job/register dependencies 2025-06-09 15:48:22 +08:00
Vickey 932cca4722 ci: update tag prefix from dc3.release to dc3.develop in docker-ci workflow 2025-05-12 15:47:49 +08:00
Vickey bf5864f368 ci: restructure docker-ci workflow job matrix 2025-05-12 15:45:55 +08:00
Vickey 4f9a24bd54 ci(docker): update tag trigger from dc3.release.* to dc3.develop.*
This change aligns the CI workflow with the current development branch naming convention, ensuring that the Docker image is built and pushed for development tags.
2025-05-08 21:59:50 +08:00
pnoker 8a0cc1ba1c build: add logstash-logback dependency and update logging configuration
Add Logstash Logback dependency to enable JSON logging and update the logback.xml configuration to include a JSON encoder. Also, update the CI workflow to cache Maven packages and improve build performance by disabling transfer progress.
2025-04-30 16:27:02 +08:00
pnoker ced2edfffa ci: update Dockerfile paths in CI workflow for multi-service builds
The Dockerfile paths in the CI workflow were updated to use the correct service-specific paths instead of the default `./Dockerfile`. This ensures that the correct Dockerfile is used for each service during the build process, avoiding potential errors in multi-service builds.
2025-04-27 14:34:01 +08:00
pnoker d8ad90e91a refactor: remove TDEngine-related files and configurations
Removed TDEngine-related files, configurations, and dependencies to streamline the codebase and improve maintainability. This includes deleting TDEngine-specific classes, YAML files, Mapper XML, and removing TDEngine references from the POM files and constant classes. Additionally, updated the Docker CI workflow to ensure consistency.
2025-04-27 14:20:38 +08:00
pnoker e294c22a55 refactor: simplify COPY paths in Dockerfiles and fix CI workflow
This commit simplifies the COPY paths in multiple Dockerfiles to use a more consistent and concise format. Additionally, it fixes a typo in the CI workflow and updates the context paths for Docker builds to ensure proper execution.
2025-04-27 14:05:55 +08:00
pnoker 1d7fcab366 ci: fix incorrect variable reference in docker-ci.yml
The commit corrects the variable reference from `steps.version.outputs.varsiables.version` to `steps.varsiables.outputs.version` in the Docker image tagging process. This ensures the correct version is used for tagging images across all services.
2025-04-27 11:11:52 +08:00
pnoker bff23c3628 ci(docker-ci): update JDK setup and fix version variable references
Update the JDK setup step to use `actions/setup-java@v4` with the Liberica distribution. Fix the version variable references in docker image tags to correctly use `steps.version.outputs.varsiables.version` instead of `steps.version.outputs.varsiables`.
2025-04-27 11:06:15 +08:00
pnoker 87153bfeea ci: remove build cache configuration from docker-ci.yml
The build cache configuration (`cache-from` and `cache-to`) has been removed to simplify the Docker build process and reduce dependency on external cache registries. This change aims to streamline the CI workflow and improve build reliability.
2025-04-27 10:51:08 +08:00
pnoker d8005cc369 ci(docker-ci): reorder and update CI workflow steps
Reordered environment variable assignments for better readability and replaced Maven cache step with JDK 21 setup to ensure compatibility with the latest Java version.
2025-04-25 22:04:45 +08:00