lmao forgot my placeholders
All checks were successful
Deploy Containers / Prepare (push) Successful in 5s

This commit is contained in:
2025-11-21 02:59:13 -05:00
parent 3d3c4c109d
commit 949b82b67f

View File

@@ -5,8 +5,7 @@ import subprocess
def git_diff(): def git_diff():
args = sys.argv args = sys.argv
res = subprocess.run(f"git diff --name-only {args[1]} {args[2]}", capture_output=True, shell=True, text=True) res = subprocess.run(f"git diff --name-only {args[1]} {args[2]}", capture_output=True, shell=True, text=True)
# return [x for x in res.stdout.strip().split("\n") if "tasks/" in x or "roles/" in x] return [x for x in res.stdout.strip().split("\n") if "tasks/" in x or "roles/" in x]
return ["roles/docker/tasks/fuck.yml", "roles/fuck/test/test.yml", "roles/fivem/tasks/main.yml", "tasks/fuck.yml", "tasks/api.yml", "tasks/cup.yml"]
def construct_command(tag = None, host = None): def construct_command(tag = None, host = None):
command = f"ANSIBLE_CONFIG=ansible.cfg /usr/bin/ansible-playbook main.yml --vault-password-file ~/.vault_pass.txt" command = f"ANSIBLE_CONFIG=ansible.cfg /usr/bin/ansible-playbook main.yml --vault-password-file ~/.vault_pass.txt"