Commit Graph

15 Commits

Author SHA1 Message Date
Jon
088c9fb04c feat(conventional_commits): ensure .cz.yaml exists
if the cz.yaml config file does not exist, dont run commitizen jobs

!24
2023-05-21 01:48:53 +09:30
Jon
93931cb907 feat(conventional): job not to run when bot pushes change
this is not requied to run on bot push as it's already been run multiple times

!22
2023-05-15 09:32:15 +09:30
Jon
76db5b1757 fix(conventional_commits): never run on git tag
no requirement to run on git tag as a MR is required
see nofusscomputing/projects/ansible/git_configuration!7 for failed job.

!22 nofusscomputing/projects/ansible/git_configuration!7
2023-05-15 09:23:02 +09:30
Jon
02e9e5f4f4 refactor(ci): inconsistant tabs
!21
2023-05-14 14:10:06 +09:30
Jon
d389d14192 fix: validation jobs on all except merge
!21
2023-05-14 12:11:42 +09:30
Jon
9e7d357bab feat(conventional_commits): ability to disable job with variable
!21
2023-05-13 11:47:21 +09:30
31517b4bf0 ci(MR_Title): save the merge request title as a variable and debug output in job log.
job now stores the fetched MR title in a variable that is output to the
job log for end user to view in job log.

MR !13
2022-01-16 09:02:02 +09:30
e5531fc77b feat(commit.py): throw an error if no token was supplied. i.e. empty variable.
A check is done on the supplied token,
if 'None', throws an error that can be viewed in the output log and
in the job output.

fixes #11 !12
2022-01-15 13:14:58 +09:30
c543c47af8 feat(commit.py): try to us CI_JOB_TOKEN before the specified token, if any.
issue #11 !12
2022-01-15 13:05:30 +09:30
d03d9fefc9 fix(conventional_commits): fetch all branches prior to check for parent branch
issue #6 !12
2022-01-15 12:23:54 +09:30
b01550e09f feat(commit.py): removed ability to fetch first commit or target branch
no longer required due to fix on #6.

issue #6 !12
2022-01-15 12:18:15 +09:30
42ad02ee5d fix(conventional_commits): use git show-branch to find origin branch
using git branch then filtering after '* [current-branch]' with branches
that contain 'origin/' and removing 'HEAD' and 'current-branch' leaves the
parent branch

fixes #6 !11
2022-01-15 12:04:07 +09:30
3360a15fde fix(commit_message): fixed commit message check if there is only one commit to the branch
!7
2021-08-12 12:47:23 +09:30
def31ef562 style(yaml_lint): fixed yaml lint errors
yaml lint was producing linting errors. Amended affected lines.

#1
2021-08-11 13:47:34 +09:30
392a200fd4 feat(conventional_commits): Added conventional commit job
Migrated conventional commits from:
    url: https://gitlab.com/nofusscomputing/infrastructure/ansible-roles
    commit: 037774e1e44f8e1e065718f805688b8b2f64735f

updated logic so that it works on it's home repo and remote repo including private repositories.

Changes to be committed:
        new file:   conventional_commits/.gitlab-ci.yml
        new file:   conventional_commits/README.md
        new file:   conventional_commits/requirements.txt
        new file:   conventional_commits/scripts/commit.py
        new file:   conventional_commits/scripts/cz_junit.sh

issue #1
2021-08-03 13:26:05 +09:30