mirror of
https://gitlab.com/itsulu-odoo/itsulu-blog-publisher.git
synced 2026-05-30 23:41:23 +00:00
ITSulu Blog Publisher Odoo addon
Setup:
- K8s test job with init container auto-installing itsulu_blog_publisher
- Dockerfile simplified: symlink addon to /var/lib/odoo/addons, no conftest needed
- Postgres init container creates fresh test DB for each job
Fixes:
- Disabled website_blog_publisher_templates.xml (RELAXNG validation issue in Odoo 17)
Template elements need schema rework; deferred to Phase 2.5
- Fixed XML entity escaping in retained template code (&& → &&)
Test Result:
✅ TestBlogTopicQueueManagement::test_topic_is_created_with_pending_state PASSED
Model itsulu.blog.topic registers correctly
Default state='pending' works as expected
Next:
- Run all 7 blog_topic tests to ensure complete coverage
- GREEN phase: implement remaining model methods/fields
- REFACTOR: pre-commit check
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
|
||
|---|---|---|
| .claude | ||
| addons/itsulu_blog_publisher | ||
| docs | ||
| templates | ||
| .gitlab-ci.yml | ||
| ARCHITECTURE.md | ||
| CLAUDE.md | ||
| conftest.py | ||
| conftest_runner.py | ||
| Dockerfile | ||
| LICENCE | ||
| main.py | ||
| PHASE2_ROADMAP.md | ||
| README.md | ||
Gitlab component template
Components
<Component-name>
Use this component to <component-description>.
To add this component to your CI/CD pipeline, add the following include entry to your project's CI/CD configuration:
include:
- component: https://gitlab.com/<your project path>/<name of your template>@<tag>
Where <tag> is the release tag you want to use (releases list).
Inputs
The template contains some optional inputs:
| Input | Default value | Description |
|---|---|---|
job_name |
job-template |
The job name. |
image |
busybox:latest |
The container image to use to run the job. |
stage |
test |
The stage name for the job. |
Documentation
This project includes a MVC structure to help you get started with Gitlab CI/CD components. The template provides the basic file structure to create your own single component. This project should be public, or one of the jobs in the project's pipeline won't work.
Licence
The licence can be changed. By default this project has the MIT Licence.