diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml deleted file mode 100644 index 0b68099..0000000 --- a/.gitlab-ci.yml +++ /dev/null @@ -1,36 +0,0 @@ -stages: - - static_tests - - static_analysis - - build - - package - - release - - deploy - -include: - - project: "polyflix-do/ci-templates" - file: "/templates/nodejs.yml" - ref: main - - project: "polyflix-do/ci-templates" - file: "/jobs/nestjs/package.migrations.yml" - ref: main - - project: "polyflix-do/ci-templates" - file: "/jobs/nestjs/package.yml" - ref: main - - project: "polyflix-do/ci-templates" - file: "/jobs/nestjs/test.units.yml" - ref: main - -deploy:kube: - extends: .kube-deploy - variables: - HELM_OPTIONS: "--set image.tag=$CI_COMMIT_BRANCH-$CI_COMMIT_SHORT_SHA" - HELM_RELEASE_NAME: "quizz" - rules: - - if: $CI_COMMIT_BRANCH == "main" - variables: - ENVIRONMENT: qa - - if: $CI_COMMIT_TAG - variables: - ENVIRONMENT: production - ENVIRONMENT_NS: production - HELM_OPTIONS: "--set image.tag=$CI_COMMIT_TAG" diff --git a/.gitlab/.releaserc b/.gitlab/.releaserc deleted file mode 100644 index b5588a4..0000000 --- a/.gitlab/.releaserc +++ /dev/null @@ -1,43 +0,0 @@ -{ - "branches": ["main", {"name": "staging", "prerelease": true}], - "plugins": [ - ["@semantic-release/commit-analyzer", { - "preset": "conventionalcommits", - "releaseRules": [ - { type: "ci", release: "patch" }, - { type: "i18n", release: "patch" }, - { type: "feat", release: "minor" }, - { type: "fix", release: "patch" }, - { type: "perf", release: "patch" }, - { type: "revert", release: "patch" }, - { type: "docs", release: "patch" }, - { type: "style", release: "patch" }, - { type: "chore", release: "patch" }, - { type: "refactor", release: "minor" }, - { type: "test", release: "patch" }, - { type: "build", release: "patch" }, - ], - }], - ["@semantic-release/release-notes-generator", { - preset: "conventionalcommits", - presetConfig: { - "types": [ - { type: "feat", section: "Feature" }, - { type: "fix", section: "Bug fix" }, - { type: "i18n", section: "Internationalization" }, - { type: "ci", section: "Continuous Integration" }, - { type: "refactor", section: "Code refactoring" }, - { type: "perf", section: "Performance" }, - { type: "chore", hidden: true }, - { type: "docs", hidden: true }, - { type: "style", hidden: true }, - { type: "test", hidden: true }, - ] - } - }], - ["@semantic-release/gitlab", - "gitlabUrl": "https://gitlab.polytech.umontpellier.fr" - ] - ], - -} diff --git a/.gitlab/issue_templates/code_change.md b/.gitlab/issue_templates/code_change.md deleted file mode 100644 index c0757a8..0000000 --- a/.gitlab/issue_templates/code_change.md +++ /dev/null @@ -1,13 +0,0 @@ -## Which problem is this issue solving - -### Short description of changes - -### Type of change - -Check what fit with needed changes: - -- [ ] Bug fix (non-breaking change) -- [ ] New feature (non-breaking change which add functionality) -- [ ] Breaking change (fix or feature taht would cause existing functionality or -services to not work as expected) -- [ ] This change requires a documentation update \ No newline at end of file diff --git a/.gitlab/issue_templates/misc.md b/.gitlab/issue_templates/misc.md deleted file mode 100644 index 529341f..0000000 --- a/.gitlab/issue_templates/misc.md +++ /dev/null @@ -1,5 +0,0 @@ -## Purpose of issue - -## What problem are you solving ? - -### Short description of needed changes diff --git a/.gitlab/merge_request_templates/code_change.md b/.gitlab/merge_request_templates/code_change.md deleted file mode 100644 index e01618a..0000000 --- a/.gitlab/merge_request_templates/code_change.md +++ /dev/null @@ -1,24 +0,0 @@ -## Which problem is this issue solving - -### Short description of changes - -### Type of change - -Check what fit with needed changes: - -- [ ] Bug fix (non-breaking change) -- [ ] New feature (non-breaking change which add functionality) -- [ ] Breaking change (fix or feature taht would cause existing functionality or -services to not work as expected) -- [ ] This change requires a documentation update - -## Definition Of Done (DoD) - -This is a checklist to ensure your MR is ready to be review: - -- [ ] If this is a new feature, add documentation related to it -- [ ] Code has been properly updated and documented -- [ ] If needed, tests has been added -- [ ] If it's a bug fix, a test has been added to ensure it is indeed fixed -- [ ] If there is a breaking change, I notified needed teams and request the change -- [ ] I did a code review of my own code, and now request a request from a peer \ No newline at end of file