chore: concurrent work related to other projects #76
@ -119,5 +119,16 @@ In addition to the required variables above, the commitizen config file `.cz.yam
|
||||
|
||||
### Artifacts
|
||||
|
||||
|
||||
## Gitlab job Definition
|
||||
|
||||
When you include this definition the following makes up the job definition
|
||||
|
||||
``` yaml title=".gitlab-ci.yml" linenums="1"
|
||||
|
||||
--8<-- "conventional_commits/.gitlab-ci.yml"
|
||||
|
||||
```
|
||||
|
||||
!!! Note
|
||||
Docs Still under development
|
@ -73,5 +73,16 @@ This will cause the job to only run on the `development` branch.
|
||||
|
||||
- None
|
||||
|
||||
|
||||
## Gitlab job Definition
|
||||
|
||||
When you include this definition the following makes up the job definition
|
||||
|
||||
``` yaml title=".gitlab-ci.yml" linenums="1"
|
||||
|
||||
--8<-- "git_push_mirror/.gitlab-ci.yml"
|
||||
|
||||
```
|
||||
|
||||
!!! Note
|
||||
Docs Still under development
|
@ -140,5 +140,16 @@ This CI job's workflow is:
|
||||
- `Gitlab Release`
|
||||
> None
|
||||
|
||||
|
||||
## Gitlab job Definition
|
||||
|
||||
When you include this definition the following makes up the job definition
|
||||
|
||||
``` yaml title=".gitlab-ci.yml" linenums="1"
|
||||
|
||||
--8<-- "gitlab_release/.gitlab-ci.yml"
|
||||
|
||||
```
|
||||
|
||||
!!! Note
|
||||
Docs Still under development
|
@ -59,5 +59,16 @@ Markdown Linting:
|
||||
|
||||
- JUnit test report located at `$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/tests/*.junit.xml`
|
||||
|
||||
|
||||
## Gitlab job Definition
|
||||
|
||||
When you include this definition the following makes up the job definition
|
||||
|
||||
``` yaml title=".gitlab-ci.yml" linenums="1"
|
||||
|
||||
--8<-- "lint/markdown.gitlab-ci.yaml"
|
||||
|
||||
```
|
||||
|
||||
!!! Note
|
||||
Docs Still under development
|
@ -66,5 +66,16 @@ MKDocs build:
|
||||
|
||||
- files in `"$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME"`
|
||||
|
||||
|
||||
## Gitlab job Definition
|
||||
|
||||
When you include this definition the following makes up the job definition
|
||||
|
||||
``` yaml title=".gitlab-ci.yml" linenums="1"
|
||||
|
||||
--8<-- "mkdocs/.gitlab-ci.yml"
|
||||
|
||||
```
|
||||
|
||||
!!! Note
|
||||
Docs Still under development
|
@ -105,5 +105,16 @@ PyLint:
|
||||
|
||||
- `$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/tests/gl-code-quality-report.html` - html code quality report
|
||||
|
||||
|
||||
## Gitlab job Definition
|
||||
|
||||
When you include this definition the following makes up the job definition
|
||||
|
||||
``` yaml title=".gitlab-ci.yml" linenums="1"
|
||||
|
||||
--8<-- "python/.gitlab-ci.yml"
|
||||
|
||||
```
|
||||
|
||||
!!! Note
|
||||
Docs Still under development
|
@ -65,5 +65,15 @@ Yaml Lint (python 3.6):
|
||||
- `$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME/$PYTHON_VERSION-yaml-lint.log` - Linter log
|
||||
|
||||
|
||||
## Gitlab job Definition
|
||||
|
||||
When you include this definition the following makes up the job definition
|
||||
|
||||
``` yaml title=".gitlab-ci.yml" linenums="1"
|
||||
|
||||
--8<-- "lint/yaml.gitlab-ci.yaml"
|
||||
|
||||
```
|
||||
|
||||
!!! Note
|
||||
Docs Still under development
|
@ -36,13 +36,13 @@
|
||||
- when: never
|
||||
|
||||
|
||||
.Lint_Markdown_Pages:
|
||||
.Lint_Markdown_Docs:
|
||||
variables:
|
||||
MDLINT_PATHS: "pages/*.md pages/**/*.md pages/**/**/*.md pages/**/**/**/*.md pages/**/**/**/**/**/*.md #CHANGELOG.md !gitlab-ci !website-template"
|
||||
MDLINT_PATHS: "docs/*.md docs/**/*.md docs/**/**/*.md docs/**/**/**/*.md docs/**/**/**/**/**/*.md #CHANGELOG.md !gitlab-ci !website-template"
|
||||
MD_LINT_CONFIG_PATH: "$CI_PROJECT_DIR/website-template"
|
||||
extends: .Lint_Markdown
|
||||
rules:
|
||||
- if: '$CI_COMMIT_BRANCH'
|
||||
exists:
|
||||
- "pages/index.md"
|
||||
- "docs/index.md"
|
||||
- when: never
|
@ -1,8 +1,10 @@
|
||||
INHERIT: website-template/mkdocs.yml
|
||||
|
||||
docs_dir: 'docs'
|
||||
|
||||
repo_name: Gitlab-CI
|
||||
repo_url: https://gitlab.com/nofusscomputing/projects/gitlab-ci
|
||||
edit_uri: '/-/ide/project/nofusscomputing/projects/gitlab-ci/edit/development/-/pages/'
|
||||
edit_uri: '/-/ide/project/nofusscomputing/projects/gitlab-ci/edit/development/-/docs/'
|
||||
|
||||
nav:
|
||||
- Home: index.md
|
||||
|
@ -4,7 +4,7 @@
|
||||
variables:
|
||||
GIT_DEPTH: 0
|
||||
MKDOCS_BUILD_PATH: build
|
||||
MKDOCS_SOURCE_PATH: pages
|
||||
MKDOCS_SOURCE_PATH: docs
|
||||
DEFAULT_ROOT_DIR: './gitlab-ci'
|
||||
before_script:
|
||||
- mkdir -p "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME"
|
||||
@ -12,6 +12,7 @@
|
||||
- echo "[DEBUG] ROOT_DIR[$ROOT_DIR]"
|
||||
- if [ ! -f "requirements.txt" ]; then pip install --upgrade pip -r $ROOT_DIR/mkdocs/requirements.txt; fi
|
||||
- if [ -f "requirements.txt" ]; then pip install --upgrade pip -r $ROOT_DIR/mkdocs/requirements.txt; pip install -r requirements.txt; fi
|
||||
- if [ -f "website-template/requirements.txt" ]; then pip install --upgrade pip -r $ROOT_DIR/mkdocs/requirements.txt; pip install -r website-template/requirements.txt; fi
|
||||
script:
|
||||
- mkdocs build --clean --strict
|
||||
- mv "$MKDOCS_BUILD_PATH" "$CI_PROJECT_DIR/artifacts/$CI_JOB_STAGE/$CI_JOB_NAME/$MKDOCS_BUILD_PATH"
|
||||
|
15
requirements.txt
Normal file
15
requirements.txt
Normal file
@ -0,0 +1,15 @@
|
||||
# ToDo: Delete this file once the below has been added to the website-template repo
|
||||
mkdocs-minify-plugin==0.5.0
|
||||
mkdocs-material-extensions==1.0.3
|
||||
wheel
|
||||
mkdocs-material==8.1.7
|
||||
./website-template/custom-plugins/mkdocs-plugin-tags
|
||||
mkdocs-git-revision-date-localized-plugin==0.11.1
|
||||
pymdown-extensions==9.5
|
||||
Jinja2==3.0.3
|
||||
|
||||
Pygments==2.13.0
|
||||
|
||||
|
||||
#mkdocs-macros-plugin==0.7.0
|
||||
|
@ -8,10 +8,12 @@ include:
|
||||
|
||||
|
||||
Website.Lint:
|
||||
extends: .Lint_Markdown_Pages
|
||||
extends: .Lint_Markdown_Docs
|
||||
|
||||
|
||||
Website.Build:
|
||||
variables:
|
||||
MKDOCS_SOURCE_PATH: docs
|
||||
extends: .MKDocs_Build
|
||||
needs: [ 'Website.Lint' ]
|
||||
|
||||
|
Reference in New Issue
Block a user