Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kolla Ansible
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Very Demiurge Very Mindful
Kolla Ansible
Commits
85e64326
Commit
85e64326
authored
1 year ago
by
Michal Nasiadka
Browse files
Options
Downloads
Patches
Plain Diff
CI: Rework docker config vars
Change-Id: I552fea9f9b461e57611f1d2aa5c767a1f4043ff8
parent
2cc21b0e
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/get_logs.sh
+2
-0
2 additions, 0 deletions
tests/get_logs.sh
tests/templates/globals-default.j2
+16
-9
16 additions, 9 deletions
tests/templates/globals-default.j2
with
18 additions
and
9 deletions
tests/get_logs.sh
+
2
−
0
View file @
85e64326
...
...
@@ -25,6 +25,8 @@ copy_logs() {
# copy docker configs if used
if
[
"
$CONTAINER_ENGINE
"
=
"docker"
]
;
then
cp
-rL
/etc/docker/
${
LOG_DIR
}
/system_configs/
elif
[
"
$CONTAINER_ENGINE
"
=
"podman"
]
;
then
cp
-rL
/etc/containers/
${
LOG_DIR
}
/system_configs/
fi
# Remove /var/log/kolla link to not double the data uploaded
unlink
/var/log/kolla
...
...
This diff is collapsed.
Click to expand it.
tests/templates/globals-default.j2
+
16
−
9
View file @
85e64326
...
...
@@ -13,25 +13,32 @@ kolla_base_distro: "{{ base_distro }}"
network_interface: "{{ api_interface_name }}"
network_address_family: "{{ address_family }}"
kolla_container_engine: "{{ container_engine }}"
docker_restart_policy: "no"
{% if container_engine == 'podman' %}
podman_registry: "primary:4000"
podman_registry_insecure: "yes"
podman_debug: true
podman_registry_mirrors:
- {{ infra_dockerhub_mirror }}
podman_sdk_pip_packages:
- "podman>=4.7.0"
- rich
{% if need_build_image and is_previous_release %}
podman_registry: "primary:4000"
podman_registry_insecure: true
{% endif %}
docker_restart_policy: "no"
docker_custom_config:
debug: true
registry-mirrors:
- {{ infra_dockerhub_mirror }}
{% else %}
docker_debug: true
docker_registry_mirrors:
- {{ infra_dockerhub_mirror }}
{% if need_build_image and is_previous_release %}
insecure-registries:
- primary:4000
docker_registry: "primary:4000"
docker_registry_insecure: true
{% endif %}
{% if ansible_facts.distribution == "openEuler" %}
docker_custom_config:
exec-opts: ["native.umask=normal"]
{% endif %}
{% endif %}
{% if kolla_python_version is defined and not is_previous_release %}
distro_python_version: "{{ kolla_python_version }}"
...
...
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