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
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
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
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
725bfaf829
ci: debug logging for dep scanning
...
MR !15
2022-01-23 08:56:58 +00:00
b844083207
chore: test wich path works for specifying pip file.
...
MR !15
2022-01-23 07:56:05 +00:00
41c5e0ca82
chore: remove dependency scan rules not required
...
MR !15
2022-01-23 07:50:01 +00:00
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
6668c2fb8d
refactor: test specifying must equal.
...
MR !15
2022-01-23 07:14:32 +00:00
fd48316ae7
docs(markdown_lint): updated docs on how to use and view rules.
...
MR !15
2022-01-23 06:53:57 +00:00
9ab336fbdd
feat(markdown_lint): include junit configuration file '.markdownlint-cli2.jsonc' in ci job.
...
MR !15
2022-01-23 06:48:42 +00:00
e46dc57b16
chore(markdown_lint): add empty junit test file.
...
MR !15
2022-01-23 06:39:23 +00:00
0df60b12db
fix(ansible): remove duplicate lines that last code review didn't remove.
...
MR !15
2022-01-23 06:12:35 +00:00
484d98792a
fix(ansible): fix typo in job pip file
...
MR !15
2022-01-23 05:57:43 +00:00
e1894ec0c4
fix(dependency_scanning): upgraded versions from vulnerability scan.
...
MR !15
2022-01-23 05:46:31 +00:00
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
18c2e23128
chore(mkdocs): move mkdocs jobs to its own directory.
...
MR ;15
2022-01-23 05:18:27 +00:00
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
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
7665e512a5
chore: add mkdocs dir for pip file.
...
MR !15
2022-01-23 04:22:38 +00:00
fc816192be
ci(scanners): Added dependency and licence scanners
...
MR !15
2022-01-23 04:16:34 +00:00
5c872f163e
ci: Added a test stage for gitlab specific tests.
...
MR !15
2022-01-23 04:10:03 +00:00
2115964317
chore: review fixes.
...
MR !1
2022-01-23 03:21:43 +00:00
e0d8885d52
ci(artifacts): markdown lint and mkdocs build artifacts to expire after 24 hours
...
MR !15
2022-01-23 03:19:58 +00:00
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
50b5e8542b
feat(build): initial add of mkdocs build job
...
builds a mkdocs static pages using the repositories requirements.txt
for extensions and ONLY if a mkdocs.yml file is present in the root directory
of the repository.
MR !15 #15
2022-01-23 10:31:14 +09:30
954aa28dbf
feat(validation): Added a Markdown linting validation job.
...
MR !15 #12
2022-01-23 10:03:02 +09:30
bc67e939fa
chore: initial add of build and validation jobs for mkdocs and markdown linting
...
copied from nofusscomputing/infrastructure/website/3dd3130a037b4ee7c3b55d3961e68703c5e5d49c
MR !15 #12 #15
2022-01-23 09:52:30 +09:30
1ef6c41818
build(version): bump version 0.4.0 → 0.5.0
v0.5.0
2022-01-16 00:09:42 +00:00
1093b380cb
Merge branch '6-fix-merging-jobs-failing' into 'development'
...
fix: merge jobs failing
See merge request nofusscomputing/projects/gitlab-ci!13
2022-01-16 00:05:29 +00:00
f4670844cc
docs(README.md): Added project header template
...
MR !13
2022-01-16 09:23:54 +09:30
140985c3a4
feat(.yaml_lint_defaults): Always run on all branches as this denotes quality.
...
must run on all branches as quality is an expectation that should be displayed
for all branches.
MR !13
2022-01-16 09:04:52 +09:30
82c6c9f5d5
feat(commit_footer_refs): never run on development or master.
...
this job checks for gitlab references in the commit footer. It
has been stopped from running on dev and master as checks are already
done on the developers branch that is being worked on prior to the
merging to dev or master branches.
MR !13
2022-01-16 09:02:44 +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
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