aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMatthew Lemon <y@yulqen.org>2024-12-31 16:12:42 +0000
committerMatthew Lemon <y@yulqen.org>2024-12-31 16:12:42 +0000
commit38f02f15781eb251cfd94f6467d2fc8e7fdf9556 (patch)
tree1a8b680497238a46ecf47cb7dc17856f087dc878 /.gitlab-ci.yml
parentc74ea9e6b4af97be26029334868fa3264032c2d3 (diff)
More comprehensive cleanup and refactor
- **Removal of Unused Files and Directories:** Deleted multiple files and directories that were no longer in use, including configuration files (e.g., `.gitattributes`, `.gitlab-ci.yml`, Docker-related configurations, and documentation files). - **Script and Build Configuration Cleanup:** Removed deployment scripts and Dockerfiles that were outdated, redundant, or no longer aligned with current project requirements. - **Documentation Purge:** Cleared out the documentation directory, including various Sphinx configuration files and content, which are no longer deemed necessary for the project's current state. - **Localization Files Delete:** Removed translation files across multiple languages that were not in use, streamlining localization efforts. - **Test Files Deletion:** Cleaned up test-related files that had no relevance to the remaining codebase. This clean-up aims to enhance project clarity, reduce unnecessary clutter, and set the stage for a more efficient development environment moving forward.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml39
1 files changed, 0 insertions, 39 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
deleted file mode 100644
index 5e32d2a..0000000
--- a/.gitlab-ci.yml
+++ /dev/null
@@ -1,39 +0,0 @@
-stages:
- - lint
- - test
-
-variables:
- POSTGRES_USER: 'pyblackbird_cc'
- POSTGRES_PASSWORD: ''
- POSTGRES_DB: 'test_pyblackbird_cc'
- POSTGRES_HOST_AUTH_METHOD: trust
- CELERY_BROKER_URL: 'redis://redis:6379/0'
-
-precommit:
- stage: lint
- image: python:3.12
- variables:
- PRE_COMMIT_HOME: ${CI_PROJECT_DIR}/.cache/pre-commit
- cache:
- paths:
- - ${PRE_COMMIT_HOME}
- before_script:
- - pip install -q pre-commit
- script:
- - pre-commit run --show-diff-on-failure --color=always --all-files
-
-pytest:
- stage: test
- image: docker:25.0
- tags:
- - docker
- services:
- - docker:dind
- before_script:
- - docker compose -f local.yml build
- - docker compose -f docs.yml build
- # Ensure celerybeat does not crash due to non-existent tables
- - docker compose -f local.yml run --rm django python manage.py migrate
- - docker compose -f local.yml up -d
- script:
- - docker compose -f local.yml run django pytest