Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
folien
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
gitlab-kurs
folien
Commits
6c29a0d1
Verified
Commit
6c29a0d1
authored
2 years ago
by
Jens Heidbüchel
Browse files
Options
Downloads
Patches
Plain Diff
Use generic Makefile
parent
9e137f75
No related branches found
No related tags found
No related merge requests found
Pipeline
#89220
passed
2 years ago
Stage: build
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
Makefile
+18
-6
18 additions, 6 deletions
Makefile
Makefile.ci
+0
-12
0 additions, 12 deletions
Makefile.ci
with
19 additions
and
19 deletions
.gitlab-ci.yml
+
1
−
1
View file @
6c29a0d1
...
...
@@ -2,7 +2,7 @@ build:
image
:
jugit-registry.fz-juelich.de/docker-images/gitlabci-sphinx
stage
:
build
script
:
-
make
-f Makefile.ci
-
make
artifacts
:
paths
:
-
gitlab-kurs.pdf
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
18
−
6
View file @
6c29a0d1
...
...
@@ -12,19 +12,31 @@ MAIN := gitlab-kurs
all
:
$(MAIN).pdf
$(MAIN).pdf
:
$(MAIN).tex
$(
CE
)
run
--rm
-it
-v
$(
shell
pwd
)
:/work
-w
/work
$(
BUILD_IMAGE
)
\
latexmk
$(
MAIN
)
.tex
if
!
test
-f
"/.dockerenv"
&&
!
test
-f
"/run/.containerenv"
;
then
\
$(
CE
)
run
--rm
-it
-v
$(
shell
pwd
)
:/work
-w
/work
$(
BUILD_IMAGE
)
\
latexmk
$(
MAIN
)
.tex
;
\
else
\
latexmk
$(
MAIN
)
.tex
;
\
fi
view
:
$(MAIN).pdf
open
$(
MAIN
)
.pdf
clean
:
$(
CE
)
run
--rm
-it
-v
$(
shell
pwd
)
:/work
-w
/work
$(
BUILD_IMAGE
)
\
latexmk
-c
if
!
test
-f
"/.dockerenv"
&&
!
test
-f
"/run/.containerenv"
;
then
\
$(
CE
)
run
--rm
-it
-v
$(
shell
pwd
)
:/work
-w
/work
$(
BUILD_IMAGE
)
\
latexmk
-c
;
\
else
\
latexmk
-c
;
\
fi
cleanall
:
$(
CE
)
run
--rm
-it
-v
$(
shell
pwd
)
:/work
-w
/work
$(
BUILD_IMAGE
)
\
latexmk
-C
if
!
test
-f
"/.dockerenv"
&&
!
test
-f
"/run/.containerenv"
;
then
\
$(
CE
)
run
--rm
-it
-v
$(
shell
pwd
)
:/work
-w
/work
$(
BUILD_IMAGE
)
\
latexmk
-C
;
\
else
\
latexmk
-C
;
\
fi
edit
:
up
ssh
-t
-o
UserKnownHostsFile
=
/dev/null
-o
StrictHostKeyChecking
=
no
\
...
...
This diff is collapsed.
Click to expand it.
Makefile.ci
deleted
100644 → 0
+
0
−
12
View file @
9e137f75
MAIN
:=
gitlab-kurs
all
:
$(MAIN).pdf
$(MAIN).pdf
:
$(MAIN).tex
latexmk
$(
MAIN
)
.tex
clean
:
latexmk
-c
cleanall
:
latexmk
-C
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment