"spin deploy": Allow deployments without CI/CD #61
Replies: 3 comments 1 reply
-
Hey @danmatthews, You had a really good question that I wanted to bring out on this thread: To answer your question:
Main Points:
|
Beta Was this translation helpful? Give feedback.
-
@danmatthews: I discovered a way on how I might be able to do this without GitHub Actions or any other CI/CD system. @simonj: I know you had a hell of a time getting GitHub Actions to work. The method proposed above would eliminate the need for learning GitHub Actions and dealing with all the limitations you were running into before. I am interested in hearing your thoughts if you guys have any on my proposal above. |
Beta Was this translation helpful? Give feedback.
-
🥳 Big updateThis has been developed and is available with Spin 2.0+ https://serversideup.net/open-source/spin/docs/command-reference/deploy |
Beta Was this translation helpful? Give feedback.
-
👉 Describe the problem
👥 Problem evidence & reach
Some users have expressed interest in removing this requirement: https://discord.com/channels/910287105714954251/1195096786776359064
🥰 Describe the "impact" on users?
🏆 How to solve this problem
Solution Overview
We can reduce the knowledge requirements by allowing users to run
spin provision
(to configure and prepare their server for Docker), thenspin deploy
to locally deploy their image to their servers.This proposed method eliminates a few headaches:
Note
This method is intended to be used for very simple set ups. For most environments, it will be recommended to use GitHub Actions or GitLab CI (or comparable) to deploy applications
Deployment Process
docker image save
: https://nickjanetakis.com/blog/docker-tip-97-save-and-load-docker-images-from-a-zip-file)docker stack deploy
to initialize the transfer💯 How do we validate the problem is solved?
spin provision
(to configure their server) thenspin deploy
to deploy their stackBeta Was this translation helpful? Give feedback.
All reactions