· 13 min
MERN Stack CI/CD Pipeline with GitHub Actions and a Self-Hosted Runner
Build a GitHub Actions pipeline that builds MERN stack Docker images, pushes them to Docker Hub and deploys them to a VM through a self-hosted runner.
Topic
7 notes
Build and delivery pipelines with Jenkins and GitHub Actions: Maven builds, distributed agents, SonarQube quality gates and Nexus artifacts.
· 13 min
Build a GitHub Actions pipeline that builds MERN stack Docker images, pushes them to Docker Hub and deploys them to a VM through a self-hosted runner.
· 15 min
Install SonarQube and Sonatype Nexus, define a quality gate, and extend a Jenkins pipeline to scan Java code and publish each WAR build to a Nexus repository.
· 6 min
Connect GitHub to Jenkins so every push to a branch starts the pipeline, using a GitHub token, the githubPush trigger and ngrok to expose a local Jenkins.
· 14 min
Connect two Vagrant VMs to Jenkins as SSH agents, use labels to choose where each stage runs, and ship a Java app and a Node.js app across separate nodes.
· 14 min
Write a declarative Jenkinsfile that builds a Maven app, packs it into a Docker image, scans it with Trivy, pushes it to Docker Hub, deploys it and emails the team.
· 9 min
Build a Java web app with Maven, deploy the WAR to Tomcat by hand, then automate the same build and deploy with two chained Jenkins freestyle jobs.
· 12 min
Install Jenkins LTS on Ubuntu, learn the controller and agent model, the job types, every common job setting, and how to lock Jenkins down with roles.