@ -1,18 +1,17 @@
|
|||||||
variables:
|
|
||||||
JOB_ROOT_DIR: '.'
|
|
||||||
SECURE_LOG_LEVEL: debug
|
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
|
||||||
MY_PROJECT_ID: "28543717"
|
|
||||||
LICENSE_FINDER_CLI_OPTS: '--recursive'
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- validation
|
- validation
|
||||||
|
- build
|
||||||
|
- prepare
|
||||||
- test
|
- test
|
||||||
- release
|
- release
|
||||||
- sync
|
- sync
|
||||||
|
- publish
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- local: $JOB_ROOT_DIR/lint/yaml.gitlab-ci.yaml
|
- local: $JOB_ROOT_DIR/lint/yaml.gitlab-ci.yaml
|
||||||
|
- local: $JOB_ROOT_DIR/template/website.gitlab-ci.yaml
|
||||||
|
|
||||||
- local: $JOB_ROOT_DIR/conventional_commits/.gitlab-ci.yml
|
- local: $JOB_ROOT_DIR/conventional_commits/.gitlab-ci.yml
|
||||||
- local: $JOB_ROOT_DIR/git_push_mirror/.gitlab-ci.yml
|
- local: $JOB_ROOT_DIR/git_push_mirror/.gitlab-ci.yml
|
||||||
- local: $JOB_ROOT_DIR/gitlab_release/.gitlab-ci.yml
|
- local: $JOB_ROOT_DIR/gitlab_release/.gitlab-ci.yml
|
||||||
@ -21,6 +20,17 @@ include:
|
|||||||
- template: Security/Dependency-Scanning.gitlab-ci.yml
|
- template: Security/Dependency-Scanning.gitlab-ci.yml
|
||||||
#- template: Security/License-Scanning.gitlab-ci.yml
|
#- template: Security/License-Scanning.gitlab-ci.yml
|
||||||
|
|
||||||
|
|
||||||
|
variables:
|
||||||
|
JOB_ROOT_DIR: '.'
|
||||||
|
SECURE_LOG_LEVEL: debug
|
||||||
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
|
GIT_SYNC_URL: "https://$GITHUB_USERNAME_ROBOT:$GITHUB_TOKEN_ROBOT@github.com/NoFussComputing/gitlab-ci.git"
|
||||||
|
MY_PROJECT_ID: "28543717"
|
||||||
|
LICENSE_FINDER_CLI_OPTS: '--recursive'
|
||||||
|
MDLINT_PATHS: "**/*.md **/**/*.md **/**/**/*.md **/**/**/**/*.md **/**/**/**/**/**/*.md #**CHANGELOG.md #CHANGELOG.md #website-template/** #.gitlab/**"
|
||||||
|
|
||||||
|
|
||||||
# Scanner doesn't Pickup multiple pip files. Disable and specify jobs with pip file.
|
# Scanner doesn't Pickup multiple pip files. Disable and specify jobs with pip file.
|
||||||
gemnasium-python-dependency_scanning:
|
gemnasium-python-dependency_scanning:
|
||||||
rules:
|
rules:
|
||||||
@ -109,13 +119,6 @@ gilab-ci.yml Lint (python 3.11):
|
|||||||
image: python:3.11-slim
|
image: python:3.11-slim
|
||||||
|
|
||||||
|
|
||||||
Markdown Linting:
|
|
||||||
variables:
|
|
||||||
#MDLINT_PATHS: '!website_template** !.gitlab** !CHANGELOG.md **/*.md'
|
|
||||||
MDLINT_PATHS: "**/*.md **/**/*.md **/**/**/*.md **/**/**/**/*.md **/**/**/**/**/**/*.md #**CHANGELOG.md #CHANGELOG.md #website-template/** #.gitlab/**"
|
|
||||||
extends:
|
|
||||||
- .Lint_Markdown
|
|
||||||
|
|
||||||
|
|
||||||
Gitlab Release:
|
Gitlab Release:
|
||||||
variables:
|
variables:
|
||||||
@ -125,7 +128,5 @@ Gitlab Release:
|
|||||||
|
|
||||||
|
|
||||||
Github (Push --mirror):
|
Github (Push --mirror):
|
||||||
variables:
|
|
||||||
GIT_SYNC_URL: "https://$GITHUB_USERNAME_ROBOT:$GITHUB_TOKEN_ROBOT@github.com/NoFussComputing/gitlab-ci.git"
|
|
||||||
extends:
|
extends:
|
||||||
- .git_push_mirror
|
- .git_push_mirror
|
||||||
|
|||||||
16
template/website.gitlab-ci.yaml
Normal file
16
template/website.gitlab-ci.yaml
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# This gitlab-ci file is used for creating building pages directories for nofusscomputing.com.
|
||||||
|
# by including this file, the jobs will be autocreated and only for pages jobs.
|
||||||
|
|
||||||
|
include:
|
||||||
|
- local: $JOB_ROOT_DIR/.gitlab-ci_common.yaml
|
||||||
|
- local: $JOB_ROOT_DIR/mkdocs/.gitlab-ci.yml
|
||||||
|
- local: $JOB_ROOT_DIR/validation/.gitlab-ci.yml
|
||||||
|
|
||||||
|
|
||||||
|
Lint Markdown:
|
||||||
|
extends: .Lint_Markdown
|
||||||
|
|
||||||
|
|
||||||
|
Main Site:
|
||||||
|
extends: .MKDocs_Build
|
||||||
|
needs: [ 'Lint Markdown' ]
|
||||||
Reference in New Issue
Block a user