By gaboratorium
I am trying to build a basic auto-deployment with GitLab Continous Integration. We are using GitLab Community Edition.
GitLab CI lets us define ‘environments’ where our code gets deployed to, however I don’t know if it is possible to define a remote server as target environment and if yes (as it sounds logical to me) how to grant GitLab access to that address?
I have found tutorials on how to install GitLab on our droplet, but my question is that is it possible to keep our repo on GitLab CE and pushing our code to our droplet using these CI pipelines?
Thanks for the help in advance :)
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
This post might help. You can deploy to a remote server over ssh with rsync but you have to specify the user and the keyfile so it’s available when rsync runs. With this in place, GitLab will be able to deploy to the remote location on your server that you specified using an ssh-key.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.