Trim exec size for github.

master
Kaitlyn Parkhurst 3 years ago
parent 2d39a9523a
commit ec88a368d7
  1. BIN
      ansible/roles/mjb-profile-store/files/gitea-1.17.1-linux-amd64
  2. BIN
      ansible/roles/mjb-profile-store/files/gitea-1.17.1-linux-amd64.tgz
  3. 12
      ansible/roles/mjb-profile-store/tasks/gitea.yml

@ -45,6 +45,16 @@
group: git
mode: 0770
# Store gitea-1.17.1-linux-amd64 as gitea-1.17.1-linux-amd64.tgz in the repo to
# cut the size in half and have GitHub allow it to be hosted there. Unpack locally.
- name: Unpack gitea-1.17.1-linux-amd64
delegate_to: localhost
shell:
tar -xzf gitea-1.17.1-linux-amd64.tgz
args:
chdir: "{{ role_path }}/files/"
creates: "{{ role_path }}/files/gitea-1.17.1-linux-amd64"
- name: Install /usr/local/bin/gitea
copy:
dest: /usr/local/bin/gitea
@ -61,7 +71,7 @@
# instead.
- name: Install /var/lib/gitea
copy:
dest: /var/lib/gitea
dest: /var/lib/gitea/gitea
src: "{{ role_path }}/files/gitea-1.17.1-linux-amd64"
owner: root
group: root

Loading…
Cancel
Save