Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ITBH
gitbook-lrmi-example
Commits
ea6929c1
Commit
ea6929c1
authored
Oct 10, 2017
by
Andreas Böttger
😬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
73fcea95
Pipeline
#14455
passed with stage
in 57 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
.gitlab-ci.yml
.gitlab-ci.yml
+4
-2
No files found.
.gitlab-ci.yml
View file @
ea6929c1
...
...
@@ -3,6 +3,10 @@ variables:
BUILD_IMAGE
:
docker.rz.tu-harburg.de:5000/docker/gitbook-itbh-glr:latest
DOCKER_CONTAINER_NAME
:
${CI_PROJECT_PATH_SLUG}-${CI_ENVIRONMENT_SLUG}
before_script
:
-
sudo docker pull ${BUILD_IMAGE}
-
sudo docker pull ${REVIEW_IMAGE}
stages
:
-
review
...
...
@@ -18,7 +22,6 @@ pdf:
-
development
script
:
-
pwd
-
sudo docker pull ${BUILD_IMAGE}
-
mkdir -p book_pdf; sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} pdf ./ ./book_pdf/book.pdf
artifacts
:
name
:
"
${CI_JOB_NAME}_${CI_COMMIT_REF_NAME}"
...
...
@@ -72,7 +75,6 @@ review:stop:
-
production
script
:
-
pwd
-
sudo docker pull ${BUILD_IMAGE}:latest
-
sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} install
-
sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} build
-
mkdir -p book_pdf; sudo docker run --rm -v $(pwd):/source ${BUILD_IMAGE} pdf ./ ./book_pdf/book.pdf
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment