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

Fix.

parent 9bff4d2a
No related branches found
No related tags found
No related merge requests found
Pipeline #15372 passed
......@@ -9,7 +9,7 @@ stages:
variables:
AUTHPASSWORD: "example" # change to "" (empty string) to disable authentication
# username is always "review" (without quotes)
CI_REF: &ref 991787dfc325b9d149cd609fbd758bf97158bcc0
CI_REF: &ref 6d952ff1c5b8911dac2b379667da8d6a856a0320
BLC_EXCLUDE: "-s www.linkedin.com"
include:
......@@ -35,11 +35,11 @@ include:
file: "latex-report/metrics.yml"
ref: *ref
# # BUILD
# # https://git.dbogatov.org/templates/ci-snippets/-/blob/master/latex/build.yml
# - project: "templates/ci-snippets"
# file: "latex/build.yml"
# ref: *ref
# BUILD
# https://git.dbogatov.org/templates/ci-snippets/-/blob/master/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
......@@ -72,40 +72,3 @@ website-deploy:
- if: $CI_COMMIT_BRANCH == "master"
when: on_success
- when: never
build:
image: dbogatov/docker-images:latex-latest
stage: build
script:
- echo "${#args[@]}"
- echo $BUILD_ARGS
- IFS='|' read -r -a args <<< "$BUILD_ARGS"
- echo "${#args[@]}"
- |
if [ ${#args[@]} -eq 0 ]
then
args="${args:-' '}"
fi
- echo "${#args[@]}"
- |
for arg in "${args[@]}"
do
echo Building for "build.sh $arg"
bash ./$LATEX_BUILD/build.sh $arg
done
- 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
artifacts:
expire_in: 30 min
paths:
- "$LATEX_DIST/*.pdf"
reports:
dotenv: pages-count.env
rules:
- if: "$DISABLE_REGULAR_PIPELINE"
when: never
- when: on_success
tags:
- docker
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment