What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hello, i have trouble understanding how to actually deploy the code. i mean yes i can shutdown and r
Hello, i have trouble understanding how to actually deploy the code. i mean yes i can shutdown and run sdk boot and sdk up but that does not really make sense, i need a seamless process without downtime
Comments
-
Do you mean locally?
docker/sdk build
will do the thing I think.0 -
i think it only creates some images?
Yes my goal is to run it in a local server. I dont really find a lot of information how this task would be done and how the output of export inages or build may be used. important to me is to not delete the database on the machine or make the shop unavaible for some time or anything like that0 -
so instead of aws like in the guide use a local server to run the shop but have a good prod deployment process in place for it
0 -
There are two modes: prod-like and development (defined in the deploy file, eg https://github.com/spryker-shop/suite/blob/master/deploy.yml#L287 vs https://github.com/spryker-shop/suite/blob/master/deploy.dev.yml#L293).
In development, all changes in the code base are directly synced into running containers.
In prod-like, you need to rebuild images and restart containers.
To have 0 downtime, you need to have more than 1 container per service and restart them one by one. How to achieve that is another topic.spryker/docker-sdk
isn't supposed to be used for hosting the application locally.
In our PaaS these questions are solved exactly like described above. There is a pipeline that builds new images first and then restarts containers.0 -
-
Hi, thank you for your response. It is a bit unfortunate that there is no further documentation what to do with the images after recieving them in the best way. i saw one of the images is called something with pipeline? It would be interesting to know what its purpose is. Generally i am not sure what images is doing what. It would be helpful to know the use of each images. Not all seem to fit the normal setup that is created by the docker sdk. Additionally i am not sure what happens with the assets after generation.
0 -
Hi Julius, I think you just have to clarify and set up your own CI/CD design. Define your process, choose a runner, integrate Docker-SDK in your steps. This is how CI/CD works - it is not subject to SCOS. SCOS is just ready to be deployed in your cloud native way. Just my 2cts, cheers!
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 930 Developer Corner
- 788 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random