Skip to content
Snippets Groups Projects
Commit f60ef7b4 authored by Dmytro Bogatov's avatar Dmytro Bogatov :two_hearts:
Browse files

Update .gitlab-ci.yml

parent afef8967
Branches
No related tags found
No related merge requests found
Pipeline #6802 failed
stages: stages:
- lint - lint
- build - build
- test
- build-review - build-review
- review - review
- release - release
...@@ -9,58 +10,74 @@ stages: ...@@ -9,58 +10,74 @@ stages:
variables: variables:
AUTHPASSWORD: "example" # change to "" (empty string) to disable authentication AUTHPASSWORD: "example" # change to "" (empty string) to disable authentication
# username is always "review" (without quotes) # username is always "review" (without quotes)
CI_REF: &ref 1240e7c6ccce1d40e0127353e40663a894dbe0d2 CI_REF: &ref aae9a77883d948bb599827fa43165de0d2f2a016
include: include:
# VARIABLES # VARIABLES
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-report/variables.yml
file: 'latex-report/variables.yml' - project: "templates/ci-snippets"
ref: *ref file: "latex-report/variables.yml"
# BEFORE SCRIPT
- project: 'templates/ci-snippets'
file: 'variables.yml'
ref: *ref ref: *ref
# LINT # LINT
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/chktex.yml
file: 'latex/chktex.yml' - project: "templates/ci-snippets"
file: "latex/chktex.yml"
ref: *ref ref: *ref
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/cspell.yml
file: 'latex/cspell.yml' - project: "templates/ci-snippets"
file: "latex/cspell.yml"
ref: *ref ref: *ref
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-report/metrics.yml
file: 'latex-report/metrics.yml' - project: "templates/ci-snippets"
file: "latex-report/metrics.yml"
ref: *ref ref: *ref
# BUILD # BUILD
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/build.yml
file: 'latex/build.yml' - project: "templates/ci-snippets"
file: "latex/build.yml"
ref: *ref
# TEST
# https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-report/embedded-fonts.yml
- project: "templates/ci-snippets"
file: "latex-report/embedded-fonts.yml"
ref: *ref
# https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-report/check-links.yml
- project: "templates/ci-snippets"
file: "latex-report/check-links.yml"
ref: *ref ref: *ref
# BUILD REVIEW # BUILD REVIEW
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-review-apps/build-review.yml
file: 'latex-review-apps/build-review.yml' - project: "templates/ci-snippets"
file: "latex-review-apps/build-review.yml"
ref: *ref ref: *ref
# REVIEW # REVIEW
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-review-apps/review.yml
file: 'latex-review-apps/review.yml' - project: "templates/ci-snippets"
file: "latex-review-apps/review.yml"
ref: *ref ref: *ref
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex-review-apps/stop-review.yml
file: 'latex-review-apps/stop-review.yml' - project: "templates/ci-snippets"
file: "latex-review-apps/stop-review.yml"
ref: *ref ref: *ref
# RELEASE # RELEASE
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/artifacts.yml
file: 'latex/artifacts.yml' - project: "templates/ci-snippets"
file: "latex/artifacts.yml"
ref: *ref ref: *ref
- project: 'templates/ci-snippets' # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/pages.yml
file: 'latex/pages.yml' - project: "templates/ci-snippets"
file: "latex/pages.yml"
ref: *ref ref: *ref
# ADJUSTMENTS # ADJUSTMENTS
...@@ -78,3 +95,7 @@ build: ...@@ -78,3 +95,7 @@ build:
script: script:
- $LATEX_BUILD/build.sh - $LATEX_BUILD/build.sh
- $LATEX_BUILD/build.sh -n - $LATEX_BUILD/build.sh -n
- PAGES=$(wget -q -O - https://git.dbogatov.org/templates/ci-snippets/raw/master/page-count.sh | bash /dev/stdin ${PWD}/$LATEX_DIST/)
- |
echo "Max pages: $PAGES"
- echo "PAGES_COUNT=$PAGES" >> pages-count.env
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment