This commit is contained in:
parent
cfb8b043cb
commit
cbe9ce4ede
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user