ci: stabilize Jenkins jobs and mobile pipeline

This commit is contained in:
2026-04-22 11:27:23 +03:00
parent caf057d712
commit 737bddd631
23 changed files with 762 additions and 66 deletions
+8 -1
View File
@@ -7,6 +7,11 @@
compose_dir: "{{ hw8_root }}/compose"
compose_file: "{{ compose_dir }}/docker-compose.yml"
compose_env_file: "{{ compose_dir }}/.env"
jobs_profile_effective: "{{ jobs_profile | default('full') }}"
jjb_paths:
full: /workspace/hw8/config/jobs
devops: /workspace/hw8/config/jobs-devops
jjb_upload_path: "{{ jjb_paths.get(jobs_profile_effective, jjb_paths.full) }}"
tasks:
- name: Check Docker CLI availability
@@ -89,7 +94,7 @@
- name: Upload Jenkins jobs via JJB container
ansible.builtin.command:
cmd: timeout 900 docker compose -f {{ compose_file }} --env-file {{ compose_env_file }} run --rm jobs_uploader
cmd: timeout 900 docker compose -f {{ compose_file }} --env-file {{ compose_env_file }} run --rm -e JJB_PATH={{ jjb_upload_path }} jobs_uploader
args:
chdir: "{{ compose_dir }}"
@@ -98,3 +103,5 @@
msg:
- "Jenkins UI: http://localhost:8088 (via nginx) or http://localhost:8081"
- "Registry: http://localhost:5005/v2/"
- "JJB profile: {{ jobs_profile_effective }}"
- "JJB path: {{ jjb_upload_path }}"