Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MPIfR-BDG
edd_provisioning
Commits
aad5f950
Commit
aad5f950
authored
Sep 30, 2021
by
Tobias Winchen
Browse files
Added dedicated pulsar check image
parent
fb67a167
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/pulsar_pipeline/tasks/main.yml
View file @
aad5f950
...
...
@@ -67,3 +67,49 @@
-
"
profile_PNG"
tags
:
-
always
-
name
:
Build check docker image
block
:
-
name
:
Remove image
docker_image
:
name
:
"
{{
docker_registry
}}:{{
docker_registry_port
}}/pulsar_check"
state
:
absent
force_absent
:
yes
tag
:
"
{{
version_tag
}}"
-
name
:
Create build directory
tempfile
:
state
:
directory
suffix
:
temp
register
:
build_directory
-
name
:
Copy dockerfile from template
template
:
src
:
Dockerfile_pulsarcheck
dest
:
"
{{
build_directory.path
}}/Dockerfile"
-
name
:
Build and push image
docker_image
:
name
:
"
{{
docker_registry
}}:{{
docker_registry_port
}}/pulsar_check"
source
:
build
force_source
:
true
build
:
path
:
"
{{
build_directory.path
}}"
pull
:
yes
nocache
:
true
push
:
yes
tag
:
"
{{
version_tag
}}"
-
name
:
remove the temporary directory
file
:
path
:
"
{{
build_directory.path
}}"
state
:
absent
when
:
build_directory.path is defined
run_once
:
true
# only need to run on one machine
tags
:
-
never
# only run when build tag is specified
-
build
-
test
roles/pulsar_pipeline/templates/Dockerfile_pulsarcheck
0 → 100644
View file @
aad5f950
FROM {{docker_registry}}:{{docker_registry_port}}/pulsar_base:{{version_tag}}
MAINTAINER Jason Wu "jwu@mpifr-bonn.mpg.de"
# Suppress debconf warnings
ENV DEBIAN_FRONTEND noninteractive
USER 1984
WORKDIR /src/
ENTRYPOINT ["/bin/bash", "-c", "echo Pulsar Test"]
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment