Posts

Showing posts from October, 2025

Git & GitHub

 Git & GitHub  ------------- 1. to display all the branches and your current branch ?    git branch    press enter 2.to create new branch ?   git branch <branch name>   git branch dev   git branch new      dev branch will be created automatically    git branch ---display purpose 3.to modify branch name   git branch -m <your branch name>   git branch -m feature      git branch ---display purpose 4.to switch from one branch to another branch    git checkout <branch name>   git checkout dev   git branch ---display purpose   display all the available branches in your repository    and also your current branch   * (star) symbol is always pointing to current branch    to push the code    how to setup alias name for your GitHub Remote Repository  ========================================================= shortc...

Multi stage building strategy & Docker Image scanning

 multi-stage building strategy  ===================== 1.build the code-------------->stage:1 2.check the code quality 3.store the build artifact into NEXUS 4.create a docker image------->stage:2 5.scan the docker image 6.store the docker image into NEXUS 7.pull the docker image 8.scan docker image  9.deploy into DEV,QA,STAGING,PROD with step by step approval gates SCAN THE DOCKER IMAGES   ====================== docker images will be scanned in two stages 1.stage:1--->after build artifact               we create an image               we scan the image              if everything is good              Image will be stored into NEXUS REPO              WE SCAN THE IMAGE before uploading into NEXUS 2.stage:2--->we pull the image from the NEXUS REPO       ...

how to setup git in your local machine

 how to setup git in your local machine ---------------------------------------------- after installation of git software we must configure the developer information with git my developer name: "kasim" my developer email:"kasim@gmail.com" step1:create server step2:login server as ec2-user step3:switch to root user       sudo -i step4:Install git software         yum install git -y step5:create user (developer purpose)& password       useradd kk        passwd kk        123       123       step6:provide an access to the user       edit sshd_config file------> nano /etc/ssh/sshd_config       do some modifications       save modifications       start the service----------> service sshd restart step7:configure user details       git config --global user.name "kasim"     ...

if SonarQube Quality Gate PASS ? What is the Next Process ?

When the Quality Gate Pass—the build will be given DEV  if  it is PASS. ; again, same will be given to QA  if  it is PASS. , the same will be given to STAGING.. if  it is PASS..the same will be given to PRODUCTION...this is LIVE, where my END USERS (customers) access my application...any problem with the application, we roll back and deploy the previous build within seconds.

SonarQube Installation & Configuration Step by step

SonarQube Installation & Configuration Steps ================================== Pre-requisites ========= 1.CPU 2core or more -->min 2core CPU is mandatory  2.RAM 4GB or more ---->4GB is mandatory    (select t3.medium---->You Get 2CPU & 2GB RAM) 3.Harddisk --30GB ---->30GB is mandatory  4.Java Software  ----->java11 or 17 is mandatory                                       go with java 17  5.Operating System---->Amazon Linux I. Create Security Group ================== Step1: Login AWS  Step2: Go EC2 Dashboard step3: Select Security Group Step4: Add port number 22             Add port number 9000             Security GroupName:sonarqube II. Launch Instance & Login Instance ==================================== Step1: Go Ec2 Dashboard  Step2: Create Server...

How to setup SonarQube ? Linux Environment ?

 What was the language used to develop SonarQube ? Ans: Java SonarQube is a Java-based tool whenever we work with SonarQube  you must install Java so that you can work with SonarQube  Otherwise, you can not work with SonarQube java is a mandatory software to install in your server to set up SonarQube  What are all the hardware requirements inside your server to set up SonarQube ? 1. CPU with 2 or more -->min 2core CPU is mandatory  2. RAM 4GB or more ---->4GB is mandatory  3. Hard disk—30 GB—->30 GB is mandatory  Port requirement ?  so whenever you create a server, you must open the port no. 9000. or we modify the security group and add the port number inside your security group

Explain SonarQube Search Engine ?

SonarQube Search Engine ? search engine takes the request  search the results in database and get the data based on your request per the request  and get back to the developers so that my developer just know the respective code reports or respective category reports easily means we use the filtering concept with the help of a search engine.

Explain SonarQube DashBoard

The SonarQube Dashboard is a place where we can display our code quality reports .. dashboard is a common place for all the team members who can check their  code quality reports. After checking the source code...then they start fixing the issues...

What is SonarQube Database

What is SonarQube database?  SonarQube  database is component inside our SonarQube after generating the reports  All the reports will be stored in the database. Category-wise reports will be stored in the database. SonarQube maintains all these reports in their default database...automatically...  H2 is the default database...built inside SonarQube... but you can also change the database  means you can set up your own database... like MySQL, PostgreSQL, SQL Server, and Oracle 

Explain SonarQube rules

  Explain SonarQube rules ?  SonarQube is a platform designed to inspect the code...continuously.  SonarQube is also called as continuous code inspection tool run the scanner  generate the reports store the reports display the reports  By default, SonarQube has a set of rules for respective programming language scanner analyze the code based on the rules for the respective programming language

Explain SonarQube scanner

What is the SonarQube scanner? scanner is a software component  which is used to scan the source code and analysis the source code based on the rules for the respective programming language and generate the reports on category wise..