Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_validators
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
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Digital Preservation
ansible_lza_validators
Commits
27badcd1
Commit
27badcd1
authored
4 years ago
by
Jörg Sachse
Browse files
Options
Downloads
Patches
Plain Diff
fix: ND-1993 - add functioning git checkout, improve task naming/documentation
parent
e90c31c2
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/compile_callas_binaries.yml
+18
-8
18 additions, 8 deletions
tasks/compile_callas_binaries.yml
with
18 additions
and
8 deletions
tasks/compile_callas_binaries.yml
+
18
−
8
View file @
27badcd1
---
---
-
name
:
install packages for compilation
-
name
:
install
prerequisite
packages for compilation
apt
:
apt
:
name
:
[
name
:
[
'
g++'
,
'
g++'
,
...
@@ -9,12 +9,7 @@
...
@@ -9,12 +9,7 @@
]
]
state
:
latest
state
:
latest
-
name
:
checkout Git repo
-
name
:
set symlinks for Callas PDF Engine
copy
:
src
:
"
/home/sachse/src/pdfa_webservice/"
dest
:
"
/opt/pdfa_webservice/"
-
name
:
set symlinks
file
:
file
:
state
:
link
state
:
link
src
:
"
/usr/local/lib/callas_pdfEngine_SDK_x64/callas_pdfEngineSDK_x64_Linux_{{
vault_callas_sdk_version
}}/{{
item
}}"
src
:
"
/usr/local/lib/callas_pdfEngine_SDK_x64/callas_pdfEngineSDK_x64_Linux_{{
vault_callas_sdk_version
}}/{{
item
}}"
...
@@ -26,5 +21,20 @@
...
@@ -26,5 +21,20 @@
-
"
lib"
-
"
lib"
-
"
var"
-
"
var"
-
name
:
compileme
# ATTENTION:
# - This is run on the controller PC, not on the target! Needs Git binary.
# - This task requires Git credentials to be entered in interactive mode.
-
name
:
checkout PDF/A-Webservice Git repo
git
:
repo
:
"
https://git.slub-dresden.de/slub-digitalpreservation/pdfa_webservice.git"
dest
:
"
/tmp/pdfa_webservice/"
depth
:
1
delegate_to
:
127.0.0.1
-
name
:
copy PDF/A-Webservice Git repo to managed host
copy
:
src
:
"
/tmp/pdfa_webservice/"
dest
:
"
/opt/pdfa_webservice/"
-
name
:
compile PDF/A-Webservice binary
shell
:
'
CXXFLAGS="-std=c++11"
make
--directory
/opt/pdfa_webservice/src/'
shell
:
'
CXXFLAGS="-std=c++11"
make
--directory
/opt/pdfa_webservice/src/'
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