Commit Graph

53 Commits

Author SHA1 Message Date
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
3e8c3ce7cd feat(gitlab_release): On the development brnach, releases to be 'rc' to denote considered non-stable
#1
2021-08-04 12:39:01 +09:30
cc3fabdaa2 refactor(gitlab_release): Use Short commit SHA1 in main changelog link to gitlab
#1
2021-08-04 12:24:02 +09:30
4453b433c8 build(version): bump version 0.2.0 → 0.2.1 v0.2.1 2021-08-04 02:49:45 +00:00
588698df26 fix(gitlab_release): Correctly fetch the CI_PROJECT_URL for the environment 2021-08-04 12:05:01 +09:30
856f2e1770 build(version): bump version 0.1.0 → 0.2.0 v0.2.0 2021-08-04 02:24:12 +00:00
287b4c954d feat(gitlab_release): Include code refactor as part of the changelog
#1
2021-08-04 11:50:41 +09:30
eebe8e30dc docs(gitlab_release): Include custom command instructions
#1
2021-08-04 11:48:28 +09:30
7a69685b53 refactor(gitlab_release): Dont conduct any release, git push or tag delete if the version was not bumped
Without this change the job would have failed due to no actual changes being made and the logic attemping to make the same existing changes.
2021-08-04 11:29:22 +09:30
72e8b6c84d refactor(gitlab_release): build gitlab commit url for changelog so that there is a weblink to the changes
The mirror on github, did not have the commit hashes as links to the commit.

Now a full gitlab commit URL is built as part of the changelog.

#1
2021-08-04 11:16:44 +09:30
6d34977426 build(version): bump version 0.0.1 → 0.1.0 v0.1.0 2021-08-04 01:33:47 +00:00
80ca3618ee fix(gitlab_release): A 'feat' commit must do a MINOR bump to version
issue #1
2021-08-04 11:00:19 +09:30
ed5be7fd3c fix(gitlab_release): ci image is alpine, use '/bin/sh' and add the changlogs to git cache for commiting
#1
2021-08-04 10:46:25 +09:30
2035ed27af refactor(gitlab_release): use 'git log' to get current commit hash
issue #1
2021-08-04 10:44:57 +09:30
7706085b09 fix(gitlab_release): All tasks run as part of script including user custom script
Job would suceed if anything failed in after_script.

#1
2021-08-04 10:43:25 +09:30
1446c28ed2 fix(gitlab_release): Use a user token to access the git repo for pushing commits back
#1
2021-08-04 10:40:46 +09:30
1ecd857c0b feat(job_changelog): Create a changelog per job folder
This will aid in users being able to see what has changed for a role.

#1
2021-08-03 16:07:02 +09:30
72fabea68f build(jobs_changelog): Script to create a changelog per job folder
#1
2021-08-03 16:05:03 +09:30
6678a3dbab feat(git_release): Migrated from ansible-roles
Mibrated from
    commit: 295fe5b1db

After migration, updated for gitlab-ci.

Changes to be committed:
	new file:   gitlab_release/.gitlab-ci.yml
	new file:   gitlab_release/README.md
	new file:   gitlab_release/python-module/cz_nfc/cz_nfc.py
	new file:   gitlab_release/python-module/cz_nfc/setup.py
	new file:   gitlab_release/requirements.txt

issue #1
2021-08-03 15:48:35 +09:30
2a3266fb53 fix(ansible): Ensure the default ci directory is populated
Default ci directory is 'gitlab-ci' the default folder the repo will clone to.

#1
2021-08-03 15:23:19 +09:30
2413daefb1 feat(ansible): Added ansible validation job for linting
Migrated from:
    URL: https://gitlab.com/nofusscomputing/infrastructure/ansible-roles
    commit: a5a6d3d71e7112a195925f6f1ee79ec1ee40fda6

Updated for use in central gitlab-ci repo.

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

issue #1
2021-08-03 15:08:37 +09:30
247264e36b docs(README.md): Added readme for the repo
issue #1
2021-08-03 14:44:28 +09:30
7ffb20418c docs(git_push_mirror): Update workflow and typos
#1
2021-08-03 14:40:17 +09:30
b593505698 ci(git_push_mirror): Push repo to github NoFussComputing/gitlab-gi
#1
2021-08-03 14:30:38 +09:30
9b28ae5952 feat(git_push_mirror): Added a job that syncs to a remote git repo
User must construct url with userdetails for the sync to work in non-public writable repositories

 Changes to be committed:
	new file:   git_push_mirror/.gitlab-ci.yml
	new file:   git_push_mirror/README.md

issue #1
2021-08-03 14:28:43 +09:30
a2174104d1 ci(conventional_commits): Add conventional commits job to check commits and MR titles
#1
2021-08-03 13:51:57 +09:30