Commit Graph

36 Commits

Author SHA1 Message Date
Jon
a010f7bab1 fix(jobs): jobs that occur on push should also run on 'trigger'
!33 #26
2023-05-28 13:23:34 +09:30
1c4258d645 build(version): bump version 0.6.1rc2 → 0.6.1rc3 2023-05-28 01:07:50 +00:00
Jon
bade89c533 fix(scheduled_pipelines): if scheduled pipeline only run schedualable jobs
!30 fixes #29
2023-05-28 10:31:26 +09:30
0a17fe1aa3 build(version): bump version 0.6.1rc1 → 0.6.1rc2 2023-05-24 04:40:52 +00:00
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
a3fdca83bf build(version): bump version 0.6.1rc0 → 0.6.1rc1 2023-05-15 00:18:38 +00:00
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
934a401a96 fix(ci): specify the commitizen version
as the repo has not been updated in a while, locked to a version that
works with the current project

!21
2023-05-14 09:56:35 +09:30
Jon
408e4eab9e refactor: move docs as part of restructure
!21
2023-05-13 15:35:28 +09:30
Jon
9e7d357bab feat(conventional_commits): ability to disable job with variable
!21
2023-05-13 11:47:21 +09:30
ce1cc017e2 build(version): bump version 0.6.0 → 0.6.1rc0 2022-01-25 00:08:05 +00:00
46cc1fbb6a build(version): bump version 0.5.0 → 0.6.0 2022-01-24 06:33:24 +00:00
1ef6c41818 build(version): bump version 0.4.0 → 0.5.0 2022-01-16 00:09:42 +00:00
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
73918f2f5e fix(commit.py): filter merge request search to 'opened' and on current branch.
Merge request search now filters to 'opened' and to ones on the current branch.
if none were found, outputs 'ci: No Merge Request found, MR count "0"'

any other error with finding the merge request will output
'failed to fetch Merge Request title' this enables further debugging for
potential errors.

fixes #6 !13
2022-01-16 08:48:24 +09:30
5c9000a748 build(version): bump version 0.3.1 → 0.4.0 2022-01-15 03:53:53 +00:00
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
6b7ad95fc0 feat(commit.py): confirm a merge request was found, if not output 'ci: No Merge Request found'
issue #11 !12
2022-01-15 13:07:56 +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
99bdc2a092 fix(commit.py): fix typo that caused exception
issue #6 !12
2022-01-15 12:29:23 +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
7751fd9494 build(version): bump version 0.3.0 → 0.3.1 2022-01-11 07:03:09 +00:00
389bc08d76 build(version): bump version 0.3.0rc1 → 0.3.0 2021-08-12 03:32:36 +00:00
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
eb5cc8a0e2 build(version): bump version 0.3.0rc0 → 0.3.0rc1 2021-08-04 03:23:08 +00:00
09dcb65b09 build(version): bump version 0.2.1 → 0.3.0rc0 2021-08-04 03:13:54 +00:00
4453b433c8 build(version): bump version 0.2.0 → 0.2.1 2021-08-04 02:49:45 +00:00
856f2e1770 build(version): bump version 0.1.0 → 0.2.0 2021-08-04 02:24:12 +00:00
6d34977426 build(version): bump version 0.0.1 → 0.1.0 2021-08-04 01:33:47 +00:00
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