Create deploy script #8

Closed
opened 2023-06-16 17:27:33 +00:00 by terribleplan · 0 comments
Owner

It my only ever be useful for the way I am doing it, but I want a deploy script. Ansible is probably the right answer here, but bash is easy and I am lazy.

It should

  • Take the server to deploy to as an argument
    1. Use ssh to run commands
    2. Use scp to copy files
  • Copy the files
  • Put the files in the right place with the right permissions
  • Reload systemd
  • Restart the service
    1. Stop the service
    2. Replace the executable
    3. Start the service
It my only ever be useful for the way I am doing it, but I want a deploy script. Ansible is _probably_ the right answer here, but bash is easy and I am lazy. It should * Take the server to deploy to as an argument 1. Use ssh to run commands 2. Use scp to copy files * Copy the files * Put the files in the right place with the right permissions * Reload systemd * Restart the service 1. Stop the service 2. Replace the executable 3. Start the service
terribleplan added this to the v1 milestone 2023-06-16 17:27:33 +00:00
terribleplan added the
component/announcer
type
chore
labels 2023-06-16 17:27:33 +00:00
terribleplan added this to the Kanban project 2023-06-16 17:27:33 +00:00
terribleplan added the
closed
resolved
label 2023-06-16 17:39:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: unhinged/traefik#8
No description provided.