294 Commits

Author SHA1 Message Date
Jon
8b9a0356de feat(template): added new template for ci pipeline for docker containers
!21
2023-05-13 15:36:31 +09:30
Jon
408e4eab9e refactor: move docs as part of restructure
!21
2023-05-13 15:35:28 +09:30
Jon
9670fc4740 feat(common): created a common ci file for inclusion
this file is intended to be included by repos that haave this repo as a sub
module.

!21
2023-05-13 11:50:55 +09:30
Jon
8d512a9a4b feat(commit_footer_refs): ability to disable job with variable
!21
2023-05-13 11:49:52 +09:30
Jon
a37acbfc7d feat(gitlab_release): ability to disable job with variable
!21
2023-05-13 11:48:47 +09:30
Jon
81445c06e4 feat(git_push_mirror): ability to disable job with variable
!21
2023-05-13 11:47:56 +09:30
Jon
9e7d357bab feat(conventional_commits): ability to disable job with variable
!21
2023-05-13 11:47:21 +09:30
Jon
36ce0b0b76 Merge branch 'nfc_bot-details-update' into 'development'
refactor: update nfc_bot commit details

See merge request nofusscomputing/projects/gitlab-ci!20
2022-02-12 10:33:07 +00:00
Jon
9a7ae7106e refactor: set correct commit details for nfc_bot
Change made so that the commits from the
bot show up in it's profile

MR !20
2022-02-12 10:27:01 +00:00
Jon
f6d7ebeeb2 Merge branch '18-fix-markdown-lint' into 'development'
fix(markdown_lint): linter not finding markdown files.

Closes #18

See merge request nofusscomputing/projects/gitlab-ci!19
2022-01-31 00:59:36 +00:00
d75e95998b feat(markdown_lint): artifact locations to be hard set
setting the artifact location to be hard set enables
the finding of artifacts easier.

having dynamic artifacts folders adds complexity to finding
artifacts.

MR !19
2022-01-31 10:19:16 +09:30
8391bf659b fix(markdown_lint): remove quotes from search path variable.
The quotes should not be part of the search path as they
are only used in the lint commands path to ensure paths
with spaces are a single value.

fixes #18
2022-01-31 10:15:54 +09:30
ce1cc017e2 build(version): bump version 0.6.0 → 0.6.1rc0 v0.6.1rc0 0.6.1rc0 2022-01-25 00:08:05 +00:00
Jon
ed75d0ee05 Merge branch 'bug-lint-markdown' into 'development'
fix: Bug lint markdown

See merge request nofusscomputing/projects/gitlab-ci!18
2022-01-25 00:01:28 +00:00
e0402ecfb2 fix(lint_markdown): ensure the correct path for the job directory is used
issue discovered during nofusscomputing/infrastructure/website!2

MR !18
2022-01-25 09:23:42 +09:30
46cc1fbb6a build(version): bump version 0.5.0 → 0.6.0 v0.6.0 2022-01-24 06:33:24 +00:00
Jon
d71def2f2a Merge branch '12-15-mkdocs-build-markdown-linting' into 'development'
feat: Markdown linting and mkdocs build

Closes #15 and #12

See merge request nofusscomputing/projects/gitlab-ci!15
2022-01-24 05:45:45 +00:00
3096d7ee0a ci(markdown_lint): Added Linting of Markdown for files in this repository.
THis is required as the md files will be used for docs.

MR !15
2022-01-24 14:49:36 +09:30
Jon
b6dcb47b1d docs(markdown_lint): removed no longer needed requirement.
MR !15
2022-01-24 05:14:54 +00:00
a2d705deb1 ci(mkdcos): mkdocs requirements.txt had a '\n' in the filename. renamed.
this name was added using the gitlab interface. it should have been sanitized.

MR !15
2022-01-24 14:08:14 +09:30
39a76a0869 ci(dependency_scanning): delete all python 'requirements.txt' files that are not the specified one to be scanned.
Due to a bug reported in gitlab-org/gitlab#350949, variable 'PIP_REQUIREMENTS_FILE'
does not set the pipfile to be scanned, as a consequence, the first found
pipfile is scanned.

MR !15
2022-01-24 14:07:59 +09:30
4e1da5e872 ci(dependency_scanning): python 3.7 not available for dependecy scanning.
Disable the updates for ansible modules that are only available for
python 3.7/3.8 and above.

MR !15
2022-01-24 13:37:23 +09:30
a6afa76600 ci(dependency_scanning): increase python version to 3.7
MR !15
2022-01-24 13:25:15 +09:30
7153f9b425 ci(dependency_scanning): check python version as pillow 9.0 reported as not found.
MR !15
2022-01-24 13:22:28 +09:30
996ee64ab4 ci(dependency_scanning): scanner set to use python 3.6
MR !15
2022-01-24 13:17:38 +09:30
Jon
725bfaf829 ci: debug logging for dep scanning
MR !15
2022-01-23 08:56:58 +00:00
Jon
b844083207 chore: test wich path works for specifying pip file.
MR !15
2022-01-23 07:56:05 +00:00
Jon
41c5e0ca82 chore: remove dependency scan rules not required
MR !15
2022-01-23 07:50:01 +00:00
Jon
2fffa866d8 ci(python_dependency_scan): disabled main job and manual setup for all ci jobs.
Python dependency scan does not work for multiple pip files. Had to setup manual jobs.

MR !15
2022-01-23 07:36:49 +00:00
Jon
6668c2fb8d refactor: test specifying must equal.
MR !15
2022-01-23 07:14:32 +00:00
Jon
fd48316ae7 docs(markdown_lint): updated docs on how to use and view rules.
MR !15
2022-01-23 06:53:57 +00:00
Jon
9ab336fbdd feat(markdown_lint): include junit configuration file '.markdownlint-cli2.jsonc' in ci job.
MR !15
2022-01-23 06:48:42 +00:00
Jon
e46dc57b16 chore(markdown_lint): add empty junit test file.
MR !15
2022-01-23 06:39:23 +00:00
Jon
0df60b12db fix(ansible): remove duplicate lines that last code review didn't remove.
MR !15
2022-01-23 06:12:35 +00:00
Jon
484d98792a fix(ansible): fix typo in job pip file
MR !15
2022-01-23 05:57:43 +00:00
Jon
e1894ec0c4 fix(dependency_scanning): upgraded versions from vulnerability scan.
MR !15
2022-01-23 05:46:31 +00:00
Jon
906f09e2d3 feat(mkdocs_build): use a pip file for job so that licence scanning can function.
MR !15
2022-01-23 05:31:06 +00:00
Jon
18c2e23128 chore(mkdocs): move mkdocs jobs to its own directory.
MR ;15
2022-01-23 05:18:27 +00:00
Jon
83cce72af2 ci(licence_finder): set to recursive scan so all licence's can be detected.
MR !15
2022-01-23 05:02:52 +00:00
Jon
5a41962a99 feat(mkdocs_build): move ci job dependencies to a pip file so that the ci dependency job can check versions.
MR !15
2022-01-23 04:25:35 +00:00
Jon
7665e512a5 chore: add mkdocs dir for pip file.
MR !15
2022-01-23 04:22:38 +00:00
Jon
fc816192be ci(scanners): Added dependency and licence scanners
MR !15
2022-01-23 04:16:34 +00:00
Jon
5c872f163e ci: Added a test stage for gitlab specific tests.
MR !15
2022-01-23 04:10:03 +00:00
Jon
2115964317 chore: review fixes.
MR !1
2022-01-23 03:21:43 +00:00
Jon
e0d8885d52 ci(artifacts): markdown lint and mkdocs build artifacts to expire after 24 hours
MR !15
2022-01-23 03:19:58 +00:00
Jon
347597e3c1 docs(mkdocs_build): include mandatory vars in template ci file.
MR !15
2022-01-23 03:18:34 +00:00
1ef0e2245f docs(mkdocs): Completed the mkdocs build readme
fixes #15 !15
2022-01-23 11:07:47 +09:30
6363ea377c docs(markdown_lint): completed the job docs.
fixes #12
2022-01-23 11:05:07 +09:30
5c05ed7605 docs(mkdocs): initial adding of mkdocs build readme.
MR !15 #5
2022-01-23 10:55:42 +09:30
6383cde3bf docs(markdown_lint): initial adding of the docs
MR !15 #12
2022-01-23 10:43:54 +09:30