Setting Up Own CI service and Deploymentation - deployment

I need suggestion for continuous integrations and deployment of some of my django project. Codeship and heroku r perfect. But I want to deploy their feature on my hosting. I got Jenkins but still needed heroku replacement. Please suggest me to find currect apps.

Related

Need to integrate sonarqube on our google ci/cd pipeline with github repository

I need to integrate sonarqube that resides on google cloud, as soon we trigger a ci/cd pipeline the sonarqube analyze our code and generate a report.
steps:
we push or make a PR on our github repo
gcp cicd pipeline gets triggered
sonarqube analyzes our repo and generates reports
I have tried with several solutions for this, but i am not able to make it work, either sonarqube doesn’t initializes or else if it does, i cant make it work with our github repo.
I have tried it bitnami sonarqube but got stuck after that, like how would now i trigger the ci/cd pipeline.
I also came across sonarqube helm chart, but that doesn't persists, and gave me a temporary solution where, if i will close my console, the sonarqube server got stopped too.
I am totally new to google cloud and sonarqube, so i may need step by step guide for the same.

Deploy from Github to multiple clouds?

Greetings from Brazil!
I have an app in github which I am deploying to a cloud service. I want to deploy this same app to other services such as Heroku, AWS and/or IBM Cloud, using Github diff changes (i.e. when I update the repo it automatically updates the cloud app - like magic). Currently GitHub diff changes works fine with streamlit share and heroku, but I have separate repos.
My questions is that: can I deploy an app to multiples services from just one repository in GitHub?
Irrelevant for the question: currently the app is Python3 and I share the app in streamlit share and Heroku, using separate repos. My question, however, is app agnostic.
You can use GitHub Actions to define your deployment workflows.
You can deploy to various cloud providers using available actions/operators:
Amazon ECS
Azure
Heroku
Your project can define a workflow for each cloud provider and, within each workflow, decide when the deployment occurs (automatically on every push, only selected branches or manually - pushing a button).

Automation Github with GCP

So I need to make automation on nodejs application on GCP.
The idea is, I need to deploy the web app (nodejs) with cloud run but every time a developer
did push on Github the image should be rebuild and deployed automatically. The constraint is that I need to use webhooks to send me notification that a push is done.
Can some of you give me some directions or steps how to make this work?
It might be worth to try Cloud Build.
There is possibility to build with node.js (Node.js Build).
There is possibility to deploy in Cloud Run (Deploy with Cloud Run).
Finally there is a possibility to setup trigger on GitHub push (GitHub triggers).
I think that even this webhook constraint is not needed in this case... However there is push notification feature as well.

How to add use Github Webhooks to deploy changes to a LEMP server running in Individual Docker Containers

I have a server running ubuntu 18.04 running 3 Docker containers for Nginx, PHP, and MySql. Everything seems to be working correctly within the application which right now is just a test wordpress blog. However I am attempting to add Github Webhook deployments and I am a little lost as to how I should proceed. A few options
Should I setup a webserver on the Host system and trigger a php file to run and execute git pull? I suppose I could subdomain it to keep SSL validation constant.
Is there a way to pass ssh keys to one of the containers such as the php one and allow that to pull from the repo? I tried this and ran into user and group permission 1000 issues.
Is there a way for the docker containered application of nginx to execute code on the host server(The naked server running docker)?
Is there a simpler solution that I am not thinking of involving deployments? I would prefer not to use a paid service.
Are you using travis-ci or Jenkins to continuous delivery?
These tools help you to do some change in your server when you do a new pull request over your repo of GitHub.
I will show you one project that I was worked using travis-ci where I could deploy my App on Aws or connecting to one host that has docker installed and make new changes.
I'll share you some continuous delivery articles below
Travis continuous delivery
Jenkins SSH credentials setting
Jenkins from scratch CI/CD
Try to get new knowledge about Continuous Integration and Continuous Delivery, is the best way to automate those kinds of processes

Continuous Integration workflow using Github, Travis CI, and Nodejitsu

I am trying to create the following workflow for continuous integration on my project
Developer commits code change to Github
Github sends entire codebase to Travis CI
Travis CI does the following
Runs tests
Builds distribution worthy package, saves in filesystem location local to Travis CI
Deploys distribution worthy package to Nodejitsu
Nodejitsu restarts server with the distribution worthy package
Is this possible? What are the steps? Via Github webhooks, I do have Travis CI running tests, and Nodejitsu deploying (untested and distribution worthy) Github codebase, but I do not have the workflow described above. Am I expecting something that is not possible?
Thank you!
This is possible, and how we deploy many of our systems internally.
For a quick getting started guide please try:
https://www.nodejitsu.com/getting-started-with-github
Detailed documentation can be found here:
https://www.nodejitsu.com/documentation/features/webhooks/
If you have any other questions, feel free to reach out to Nodejitsu support.