278 Commits

Author SHA1 Message Date
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
d5782d95e8 fix(ci): added variable 'GIT_SUBMODULE_STRATEGY' to be 'recursive'
fixes #10 !12
2022-01-15 12:04:16 +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 v0.3.1 2022-01-11 07:03:09 +00:00
Jon
49a2e1185b Merge branch 'issue-2' into 'development'
docs(readme): Update project usage in own repo

See merge request nofusscomputing/projects/gitlab-ci!10
2021-08-13 02:12:35 +00:00
8ac36de8e0 docs(readme): Updated with an example .gitlab-ci.yml example
fixes #2 !10
2021-08-13 11:37:10 +09:30
Jon
aa28ef6553 Merge branch 'code-quality' into 'development'
style: improve python code quality

See merge request nofusscomputing/projects/gitlab-ci!9
2021-08-12 05:42:48 +00:00
4b6cc3176f fix(pylint): install the required packages for files being checked
closes #7
2021-08-12 15:06:07 +09:30
936299aefc fix(pylint): fix bug introduced in code quality commit
#7
2021-08-12 14:49:00 +09:30
2ac22c0e91 fix(commit_footer): fix bug introduced in code quality commit
#7
2021-08-12 14:46:26 +09:30
ccc601f641 style(cz_nfc): code quality on cz_nfc.py
#7
2021-08-12 14:42:16 +09:30
5676c5ee37 style(commit_footer): code quality on setup.py
#7
2021-08-12 14:27:41 +09:30
3d69e57714 style(commit_footer): code quality on __main__.py
#7
2021-08-12 14:26:43 +09:30
c093c31cbd style(commit_footer): code quality on commits.py
#7
2021-08-12 14:21:34 +09:30
73e061e649 build(pylint): added .pylintrc to exclude some rules
.pylintrc had rules ignore docs strings for module, function and class. this can be customised by the end user.

!9 #7
2021-08-12 14:04:32 +09:30
389bc08d76 build(version): bump version 0.3.0rc1 → 0.3.0 v0.3.0 2021-08-12 03:32:36 +00:00
Jon
f455eb2e27 Merge branch 'style-readme' into 'development'
style(readme): fix badge table.

See merge request nofusscomputing/projects/gitlab-ci!7
2021-08-12 03:25:10 +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
2c61651d9c style(readme): fix formatting of badge table
The badge table did not render on github,
adjuested so that each row is on one line for github markdown to function

!7
2021-08-12 12:45:40 +09:30
Jon
a629e39f59 Merge branch 'update-readme' into 'development'
docs(readme): added how to use repo

See merge request nofusscomputing/projects/gitlab-ci!5
2021-08-11 06:37:28 +00:00
0653766c93 docs(readme): Updated badges and intro
!5
2021-08-11 15:52:28 +09:30
d610562438 feat(python_linting): added ci job, python linting, code quality and scoring
Added a job to lint python files and ouput a code quality report for gitlab MR.

A html report is also available within the artifacts. if the badge is used,
the badge links to the html code quality report.

 Changes to be committed:
	modified:   .gitlab-ci.yml
	new file:   python/.gitlab-ci.yml
	new file:   python/README.md
	new file:   python/requirements.txt

issue #1
2021-08-11 15:51:45 +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
d20a56fa0c feat(yaml_lint): Added job yaml lint for checking yaml files
defaults to checking subfolder/.gitlab-ci.yml.

 Changes to be committed:
	modified:   .gitlab-ci.yml
	new file:   yaml_lint/.gitlab-ci.yml
	new file:   yaml_lint/.yamllint.yaml
	new file:   yaml_lint/README.md
	new file:   yaml_lint/requirements.txt

issue #1
2021-08-11 13:41:42 +09:30
9f7a24c1eb docs(gitlab_templates): added issue and merge request templates
#1
2021-08-11 12:44:22 +09:30
da8eb5c338 docs(template): added template readme for CI job folders
#1
2021-08-11 12:41:51 +09:30
ace7a03456 docs(readme): explain sync and using github to link gitlab-ci
!5 #1
2021-08-11 12:40:30 +09:30
8790917e7d docs(readme): explain repo layout and versioning
!5
2021-08-11 12:30:30 +09:30
19900945e7 docs(readme): added how to update gitlab-ci
!5
2021-08-11 12:26:18 +09:30
63af1efb4f fix(commit_footer_refs): Use the current git branch for comparison.
dynamically select the current branch so that it can be compared to the dev branch

!5 #1
2021-08-11 12:17:50 +09:30
8a988ebf09 docs(readme): Added how to use this repository
!5
2021-08-11 12:07:56 +09:30
Jon
f4ee55daa5 Merge branch 'changelog-footer-toggle' into 'development'
feat(changelog): be able to switch changelog references inclusion.

See merge request nofusscomputing/projects/gitlab-ci!4
2021-08-08 06:35:41 +00:00
dc13d4f284 docs(gitlab_release): Added user docs to fix errors from ci job 'commit footer refs'
User documentation provided as it is linked from the junit test report in the gitlab interface.

closes #3 closes #4
2021-08-08 15:57:50 +09:30
22136f7dd2 feat(gitlab_release): Toggle var added to enable switching changelog references.
using var 'CHANGELOG_FOOTER_REFERENCES' set to False when generating a changelog
with 'cz' will not add the commit footer refrences to the changelog.

issue #3
2021-08-08 15:28:00 +09:30
eb0bf4c174 refactor(gitlab_release): file link to be in local repository for helping fix commit footer ref check failures
issue #4
2021-08-08 15:18:11 +09:30
81776223c5 refactor(gitlab_release): use a name for failed test to denote the issue
issue #4
2021-08-08 15:05:35 +09:30
756b9406dd feat(gitlab_release): be able to toggle commit footer check job
if var CHANGELOG_FOOTER_REFERENCES=False, dont conduct validation job.

issue #4
2021-08-08 15:03:12 +09:30
7cb676eb98 ci(gitlab_release): Add a validation job to check if commit messages contain a gitlab reference in the footer
#4
2021-08-08 14:51:57 +09:30
11e156619d feat(gitlab_release): python module to check if a commit message has gitlab references in the footer
#4
2021-08-08 14:50:34 +09:30
d2d4ac0afa build(.gitignore): ignore python build files
!4
2021-08-08 14:47:49 +09:30
Jon
d929c1d3b0 Merge branch 'changelog-footer' into 'development'
feat(changelog): Add commit footer to Changelog

See merge request nofusscomputing/projects/gitlab-ci!3
2021-08-07 07:53:17 +00:00
35edb7cfc5 docs(changelog): Updated changelog to new layout
Changelog now adds issue and merge request references from the commit footer line.

!3 #3
2021-08-07 17:17:29 +09:30
8699c41219 feat(gitlab_release): Add commit footer to changelog
!1 #3
2021-08-07 17:11:17 +09:30
Jon
cc2f23b091 Merge branch 'fix-releases' into 'development'
fix(gitlab_releases): version increment workflow from RC-release -> full-release

See merge request nofusscomputing/projects/gitlab-ci!2
2021-08-07 05:31:59 +00:00
5f273ce23a docs(gitlab_release): Updated docs with new instructions on version incrementing
BREAKING CHANGE: !2
2021-08-07 14:56:51 +09:30
f76cabeeb0 fix(gitlab_release): Adjust release workflow
Previous release workflow only allowed version increment of RC on development brnach.

adjust to the following workflow:
    master branch: automatically increment the version
    development branch: option to manually increment version (RC increment only)

!2
2021-08-07 14:31:19 +09:30
eb5cc8a0e2 build(version): bump version 0.3.0rc0 → 0.3.0rc1 v0.3.0rc1 2021-08-04 03:23:08 +00:00
cb78ab8218 docs(changelog): regenerated so that all entries use the new url format
#1
2021-08-04 12:49:46 +09:30
09dcb65b09 build(version): bump version 0.2.1 → 0.3.0rc0 v0.3.0rc0 2021-08-04 03:13:54 +00:00