add refresh_api to jenkinsfile

This commit is contained in:
2026-04-18 16:14:22 -07:00
parent 280066436a
commit 67f3f8440b
12 changed files with 161 additions and 63 deletions

View File

@ -1,6 +1,7 @@
---
- name: Create service working folder
when: not refresh_api | bool
ansible.windows.win_file:
path: "{{ storage_api_root }}"
state: directory
@ -25,6 +26,7 @@
dest: "{{ storage_api_root }}\\disk_service.py"
- name: install pyinstaller
when: not refresh_api | bool
win_shell: "{{ python_venv_bin }} -m pip install pyinstaller"
- name: compile binary
@ -34,6 +36,7 @@
chdir: "{{ storage_api_root }}"
- name: Open up port 5000
when: not refresh_api | bool
community.windows.win_firewall_rule:
name: _ansible_python_disk_service
description: "Firewall rule to allow traffic for Disk info API"