2

!rant

I haven't used CI/CD to actually deploy an app. But I really want to automate all of that in my company. We use gitlab, so the logical thing is to use Gitlab's devops(?). Anyone who can guide me on an adventure for starting on CI/CD? Not sure if I need to give any more info, please let me know

Comments
  • 2
    Hardest thing is getting the .yml file working correctly for the CI side of things.

    As for the CD side, that can get difficult depending on your needs

    https://docs.gitlab.com/ee/topics/...
  • 2
    It takes some tweaking indeed to get the yml file set up for the Ci part... Ensuring a proper docker image etc... But it's well worth the initial setup time
  • 1
    For which type of app you want I mean to say that I am doing android and node js by integrating gitlab with Jenkins and Jira with Jenkins and configure my Jenkins server as master for running docker and image builds over digital ocean all things are in my local network except digital ocean
  • 1
    @C0D4 Just a follow-up question, I spent a good chunk of yesterday reading about it, I figured that the idea I had about CI and CD is not exactly what I wanted. I guess, I was more looking into the auto-deploy to the various environments, as we do have a bunch of testers can take care about finding bugs.
  • 0
    @joykill Thanks! I read through about it, and I just posted a comment, I feel, that may not be for me, as I was looking more for an auto-deploy solution.
  • 0
    @antoniomerlin okay, so we work with many types of applications. Quite a few server apps and a few on-device applications too, I'll be honest, quite a bit of what you said went over my head. I'll read up more and get back with answers
  • 1
    @adwalvekar depends on your project.

    Heroku has pipelines which can do auto deployments, might be worth looking into, You can set it up to do dev server on PR to handle your testing, and on master merge do a deployment to production.
  • 1
    @C0D4 this may be a long shot, but if you have heard about odoo, the solution is for this. I'll just read up about this.
  • 0
    @adwalvekar I haven’t, but just look like another ERP. Is it self cloud hosted (they host it) or is it your own servers?
  • 0
    @C0D4 you can choose either. And it's open-source.
  • 1
    @adwalvekar only ask, because if you’re hosting it, then webhooks will probably suffice.
  • 1
    @adwalvekar kk first of all I am using gitlab as VCS I know it got inbuilt CI and cd which you can configure by yml but for that I already using Jenkins which is basically triggered whenever a pull request is merged in prod or Dev branch in gitlab. My Jenkins master create slave according to project config. In digital ocean and when the build finishes Jenkins update the commit related issue to Jira for QA and delete the slave
  • 1
    @C0D4 yeah. I guess you're right. Spent another day, I feel that webhook and some script that moves code is the right thing.
  • 0
    @antoniomerlin yeah. I explored that option. I guess I wasn't looking for the correct thing from the beginning, but that's a cool setup though.
Add Comment