- Remove duplicate BlogPost._inherit class from blog_schedule.py that
redefined itsulu_social_id with invalid 'limit' parameter, causing
'unknown parameter limit' warnings on every Odoo startup
- Use $CI_PROJECT_DIR instead of /builds/$CI_PROJECT_PATH for addons
path in unit_tests — CI_PROJECT_DIR is the correct GitLab predefined
variable that works across all runner types
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add e2e stage after build so e2e_tests runs after build_image
- Remove git clone from test runner (addon is already in Docker image)
- Fix kubectl context: remove use-context call, kubeconfig already has correct context
- Add PGPASSWORD export to unit_tests before_script and script
- Add --junitxml flag to unit_tests so junit artifact is actually generated
- Remove Odoo re-install from E2E K8s job (template DB is pre-primed)
- Use dropdb --if-exists + createdb for clean DB on each E2E run
- Add needs: [build_image] to e2e_tests for correct dependency ordering
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Update addon version to 17.0.1.0.0 (Odoo 17 compatibility)
- Fix XML loading order: load generate_now_wizard_views before blog_schedule_views to resolve action references
- Remove buttons from tree views (not supported in Odoo 17)
- Remove problematic field decorations
- Add comprehensive .gitlab-ci.yml with lint, test, build, and notify stages
- Template DB priming in CI uses postgres:15 with template cloning for fast test isolation
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>