This commit is contained in:
root
2020-05-09 00:19:38 -04:00
parent e4b87cb50b
commit fc2ea8f76b
19 changed files with 182 additions and 18 deletions

View File

@@ -4,6 +4,7 @@
%}
{% set basepath = salt.pillar.get('gitea:path') %}
# FIXME: this could be file.managed with source_hash set
'download gitea':
cmd.run:
- name: 'wget {{ url }} -O {{ basepath }}/bin/gitea && chmod +x {{ basepath }}/bin/gitea && echo {{ ver }} > {{ basepath }}/VERSION'