use proper file paths
continuous-integration/drone/tag Build is passing Details

This commit is contained in:
stryan 2021-08-07 15:15:05 -04:00
parent cfb8b043cb
commit cbe9ce4ede
2 changed files with 8 additions and 2 deletions

View File

@ -12,7 +12,7 @@ steps:
commands:
- mkdir dist build
- DESTDIR=build make install
- tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz build/*
- tar -czf dist/release-$DRONE_TAG-$DRONE_STAGE_ARCH.tar.gz build/* init/*
when:
event: tag

View File

@ -29,7 +29,7 @@
- name: installing guildgate binary
copy:
remote_src: yes
src: "{{ tempfolder_1.path }}/guildgate"
src: "{{ tempfolder_1.path }}/usr/local/bin/guildgate"
dest: /usr/local/bin/
mode: '0755'
register: new_binary
@ -41,6 +41,12 @@
dest: /etc/systemd/system/guildgate.service
register: new_unit
- name: installing default templates
copy:
remote_src: yes
src: "{{ tempfolder_1.path}}/usr/local/share/guildgate/"
dest: /usr/local/share
- name: reload systemd with new unit
systemd:
daemon_reload: yes