Akash Kumar
Akash Kumar
  • 26
  • 231 433
GitLab - SSH Key Setup | How to fix Git Asking for Passwords with git config credential.helper
GitLab - SSH Key Setup
How to fix Git Asking for Passwords with git config credential.helper
Agenda for this video:
Setting up git config
How to fix when Git Always ask for Credentials
How to Set up SSH Key and use the Key with GitLab
To set your global username/email configuration:
Open the command line.
Set your username:
git config --global user.name "FIRST_NAME LAST_NAME"
Set your email address:
git config --global user.email "MY_NAME@example.com"
To set repository-specific username/email configuration:
From the command line, change into the repository directory.
Set your username:
git config user.name "FIRST_NAME LAST_NAME"
Set your email address:
git config user.email "MY_NAME@example.com"
Verify your configuration by displaying your configuration file:
cat .git/config
For credentials:
git config --system credential.helper
git config --global credential.helper
git config --local credential.helper
To configure with ssh keys:
$ ssh-keygen
Copying the public key to GitLab
Go and open the id_rsa.pub file (you can use any text editor you want).
Copy the entire content of that file and then open gitlab.com/profile/keys.
Document for GitLab:
docs.gitlab.com/ee/development/documentation/styleguide.html
#GitLab - SSH Key Setup
#GitLab
#GitLabCI
#GIT
#SSH
#credential.helper
Переглядів: 18 795

Відео

Getting Started With GitLab CI
Переглядів 1,1 тис.4 роки тому
GitLab Introduction GitLab CICD Gitlab is a service that provides remote access to Git repositories. Agenda for this Video: * What is GitLab * GitLab Open Source CE vs EE * GitLab Setup and Installations * Creating a new project with GitLab * Ways to import existing Git Repository to GitLab GitLab CI is a continuous integration server that's built right into GitLab. So, if you are using GitLab,...
Become a Docker Swarm Expert in just 20 minutes
Переглядів 17 тис.4 роки тому
In this video, I have explained how to Orchestrate a Docker Container with Docker Swarm. Agenda for this Video: What Is Docker Swarm? Why Use Docker Swarm? Docker Swarm Setup Starting The Docker Swarm Service Docker Swarm for High Availability Load Balancing Docker Containers across multiple Docker Worker nodes High Availability by Scaling Up the Docker Swarm Services How to remove the Swarm wo...
How to use Docker Agents in Jenkins Pipeline with newContainerPerStage option
Переглядів 8 тис.4 роки тому
Agenda for this video: Understanding Docker Agents and their Use Creating a sample job to run using Docker container agent Creating a Build and Deploy Pipeline Job to use newContainerPerStage option. By mentioning docker, the pipeline will run in the Docker environment. Syntax: agent{ docker {image ‘ruby3:develop’ label ‘test ruby agent’ arg ‘-port 3000:80’} } Sample job for Build and Deploy Pi...
Setup Chained Jenkins Pipeline with Triggers | Upstream and Downstream Jenkins Pipeline Projects
Переглядів 3,5 тис.4 роки тому
Upstream Downstream Jenkins Pipeline Projects Setup Chained Jenkins Pipeline Projects with Triggers What is an upstream and downstream job in Jenkins? An upstream job is a configured project that triggers a project as of its execution. A downstream job is a configured project that is triggered as part of a execution of pipeline. We can configure one or more projects as downstream jobs in Jenkin...
How to use Environments and credentials() helper method in Jenkins Pipeline | How to Create Secrets
Переглядів 27 тис.4 роки тому
Agenda for this video: What is environment directive? Understanding Credentials helper method How to configure secrets in Jenkins? How to inject them in a Pipeline Job? Understanding the use case of Env directive and Cred method with a demo What is Environment Directive The environment directive specifies a sequence of key-value pairs which will be defined as environment variables for all steps...
Creating Jenkins Pipeline Stages using Parallel Declarative | Parallel vs Sequential Declaratives
Переглядів 8 тис.4 роки тому
Creating Jenkins Pipeline Project using Parallel Declarative syntax Understanding Parallel vs Sequential Declarative syntax To know more about the Jenkins pipeline syntax follow the below official guide. jenkins.io/doc/book/pipeline/syntax/ Jenkins Pipeline project video link: ua-cam.com/video/PD5_XYm8Lc0/v-deo.html What is Jenkins Pipeline: A pipeline is a collection of jobs that brings the so...
How To Install Jenkins on Ubuntu from Scratch | Jenkins Installation in Linux
Переглядів 5 тис.4 роки тому
Installing Jenkins on Ubuntu On Debian-based distributions, such as Ubuntu, you can install Jenkins through apt-get. You need to have a JDK and JRE installed. openjdk-8-jre and openjdk-8-jdk are suggested. Command to be executed: sudo apt-get update -y && sudo apt-get install openjdk-8-jdk openjdk-8-jre -y Once Java is installed set the JAVA_HOME path. Command to be executed: export JAVA_HOME=/...
Jenkins Master Slave Configuration | Jenkins distributed architecture
Переглядів 7 тис.4 роки тому
Jenkins Master-Slave Configuration Agenda: Understanding Jenkins Master and Slave Architecture Setting Up Jenkins Slaves using Master Private and Public ssh keys Setting Up Jenkins Slaves Using Windows Java slave-agent.jnlp Service Setting Up Jenkins Slaves using a simple machine login credentials method (Not-recommended) Jenkins Master Responsibilities: Scheduling build jobs. Monitor the slave...
Creating Your First Jenkins Pipeline Project Using JenkinsFile | Jenkins Pipeline as a Code
Переглядів 3,1 тис.4 роки тому
Creating Your First Jenkins Pipeline Project Using JenkinsFile Agenda: Understanding the problem statement for using Jenkins Pipeline Project What is Jenkins Pipeline What is Jenkins Pipeline Project What is JenkinsFile | Creating and using a JenkinsFile Configure Jenkins Pipeline Build What is Jenkins Pipeline: A pipeline is a collection of jobs that brings the software from version control in...
How to Trigger the Jenkins Build Automatically after every GitHub commits
Переглядів 20 тис.4 роки тому
How to Trigger the Jenkins Build Automatically after every GitHub commits Triggering a Jenkins build every time changes are pushed to a Git branch on GitHub Agenda: Understanding the problem statement Jenkins build trigger with polling the GitHub repository Jenkins Build trigger using Upstream projects Jenkins build trigger Using Build periodically Jenkins build trigger using GitHub webhooks Je...
Setup Jenkins for private GitHub Repository | How to Trigger Jenkins Build Using Private GitHub Repo
Переглядів 25 тис.4 роки тому
How to Trigger Jenkins Build Using Private GitHub Repository? Agenda: Understanding the problem statement for using the private github repository Configuring ssh key pair using ssh-keygen command Understanding Private and Public Keypair Configuring Jenkins and GitHub to understand my Private repository My GitHub repository: github.com/akashkrkashyap?tab=repositories Jenkins Installation Video: ...
Build a simple Maven project using Jenkins | How to configure Git project with Jenkins
Переглядів 20 тис.4 роки тому
Agenda: Understating the sample maven java project Configuring GIT and GITHUB repository in Jenkins Creating a Maven build and test Generating the maven build artifacts in Jenkins build log. What is Jenkins | Why do we Use Jenkins Jenkins - an open source automation server which enables developers around the world to reliably build, test, and deploy their software. Few of the features that Jenk...
How to Create a Jenkins Job using Parameters | Understanding all Jenkins Build Parameter Types
Переглядів 3,7 тис.4 роки тому
Agenda: How to create a Jenkins Job Write a simple Bash Shell Script and run using Jenkins Job Create a Jenkins Job using String parameters Create a Jenkins Job using List parameters Create a Jenkins Job using Boolean parameters What is Jenkins | Why do we Use Jenkins Jenkins - an open source automation server which enables developers around the world to reliably build, test, and deploy their s...
What is Jenkins? | How to Run Jenkins on a Docker Container | Understanding Docker Volumes
Переглядів 2,8 тис.4 роки тому
What is Jenkins? | How to Run Jenkins on a Docker Container | Understanding Docker Volumes
Continuous Integration vs Continuous Delivery vs Continuous Deployment in a Easy Way
Переглядів 34 тис.4 роки тому
Continuous Integration vs Continuous Delivery vs Continuous Deployment in a Easy Way
Understanding Docker Multi-Stage Builds | How to reduce the size of your Docker Image
Переглядів 8 тис.4 роки тому
Understanding Docker Multi-Stage Builds | How to reduce the size of your Docker Image
What is Dockerfile | Understanding Dockerfile Directives | How to Build an Image using Dockerfile
Переглядів 6514 роки тому
What is Dockerfile | Understanding Dockerfile Directives | How to Build an Image using Dockerfile
How To Commit Changes To A Base Docker Image | How to create your own Docker image
Переглядів 3,9 тис.4 роки тому
How To Commit Changes To A Base Docker Image | How to create your own Docker image
How to Manage Docker Images | Understanding multiple layers of Docker Image
Переглядів 1,1 тис.4 роки тому
How to Manage Docker Images | Understanding multiple layers of Docker Image
How to Install and Use Docker | Docker Installation guide
Переглядів 6644 роки тому
How to Install and Use Docker | Docker Installation guide
Docker Simplified Introduction | What is Docker | Docker Vs Virtual Machines | Docker Architecture
Переглядів 1,2 тис.4 роки тому
Docker Simplified Introduction | What is Docker | Docker Vs Virtual Machines | Docker Architecture
How to scale your app in Cloud Foundry | DevOps Practice
Переглядів 3094 роки тому
How to scale your app in Cloud Foundry | DevOps Practice
What is blue/green deployment? | Cloud Foundry Demo | DevOps Practice
Переглядів 6784 роки тому
What is blue/green deployment? | Cloud Foundry Demo | DevOps Practice
How to Deploy a .NET App on Cloud Foundry? | SAP CLOUD PLATFORM
Переглядів 2,2 тис.4 роки тому
How to Deploy a .NET App on Cloud Foundry? | SAP CLOUD PLATFORM
What is Cloud Foundry? | How to install cf CLI ? | Pivotal Cloud Foundry
Переглядів 8 тис.4 роки тому
What is Cloud Foundry? | How to install cf CLI ? | Pivotal Cloud Foundry

КОМЕНТАРІ

  • @salishsath530
    @salishsath530 10 днів тому

    thanks for good explanation, but where are the next steps, docker container, docker engine etc, how we reach docker swarm

  • @keerthikeerthi8162
    @keerthikeerthi8162 Місяць тому

    how to push code from one repo to another repo through jenkins?

  • @arun6106
    @arun6106 7 місяців тому

    Great content! Keep it up Akash

  • @praveenpolam9842
    @praveenpolam9842 7 місяців тому

    Nice explanation Akash

  • @leoodaya3201
    @leoodaya3201 7 місяців тому

    Thank you so much!

  • @theshile6971
    @theshile6971 8 місяців тому

    Really good. Simplest theoretical explanation and then actual implementation.

  • @kamalpant7064
    @kamalpant7064 8 місяців тому

    Awesome explanation.

  • @zakiahmad5857
    @zakiahmad5857 9 місяців тому

    One question I have, what is the Payload URL, what value we have to provide?

  • @manishaverma-te5oy
    @manishaverma-te5oy 9 місяців тому

    👌Excellent video . Thank you so much for this

  • @deepakkumarkashyap5185
    @deepakkumarkashyap5185 10 місяців тому

    The vieo is very informative and useful. It is requested to publish more such informative yiu tube videos. Thanks. Deepak Kumar Kashyap

  • @PaulEllisBIGDATA
    @PaulEllisBIGDATA 11 місяців тому

    Outstanding!!!! Thank you.

  • @jagadeeshamareshi9050
    @jagadeeshamareshi9050 Рік тому

    Good Explanation

  • @samansaeedi102
    @samansaeedi102 Рік тому

    Hi. my very first question is, where is the environment you login at the beginning at 3:35? how are the machines built? how to set the IPs? I know I have low info on it but there s lack of explanation on that part.

    • @TechShareChannel
      @TechShareChannel Рік тому

      Thanks for the question but this is beyond the scope of this video. Setting up the Linux boxes and handling networking is a prerequisite for this and I may cover that in the future once I get time.

  • @hruday2323
    @hruday2323 Рік тому

    thank you, this helped

  • @candyxoxo28
    @candyxoxo28 Рік тому

    How is it done for global environment variable ?

  • @ImranBaigMirza-r2z
    @ImranBaigMirza-r2z Рік тому

    Explained really nicely ..Great work Akash

  • @durgaprasadpj
    @durgaprasadpj Рік тому

    HI akash, I have seen your video and it was clearcut explanation. but my doubt is how to setup postgresql streaming replication setup across different servers with HA

  • @neelamgupta4584
    @neelamgupta4584 Рік тому

    superb explanation!!!!

  • @konigra6074
    @konigra6074 Рік тому

    I have problems with the route... + default-route: true For application 'GREEN_hello_world': Routes cannot be mapped to destinations in different spaces Do I have to change the rout in the file to a certain space?

  • @yogeshdharya3857
    @yogeshdharya3857 Рік тому

    Swarm Looks quite simple to me now , thank u Akash 😄

  • @mithileshpandey9885
    @mithileshpandey9885 Рік тому

    how we can deploy the code changes in docker swarm manually ?

  • @yuvrajkumararora4209
    @yuvrajkumararora4209 Рік тому

    very nicely explain.😇😇😇😇

  • @harimudraboina8939
    @harimudraboina8939 Рік тому

    easy understand

  • @samikshasahu3164
    @samikshasahu3164 Рік тому

    is it possible to use if else condition for different env's, I read that we can't use if -else condition in global environment section? Do you have any example for this scenario ?

  • @MrRobeezy29
    @MrRobeezy29 Рік тому

    How do we do this in blue ocean?

  • @Virtualstar
    @Virtualstar Рік тому

    i have no words .. simply osm ... best excellent

  • @anandvijay4651
    @anandvijay4651 Рік тому

    Nice and simple explanation

  • @sreekanth5143
    @sreekanth5143 Рік тому

    Hi Akash, I am using 1master and 2 worker nodes when i make master drain i am not able access jenkins server with the public ip of the master even containers are running in worker nodes? can you please help me out of this ASAP

    • @TechShareChannel
      @TechShareChannel Рік тому

      Thats a good question Sree Kanth: If the Jenkins server was running as a service in the Docker Swarm, you can inspect the service and find the IP of the node running the Jenkins container. You can use the following command to do this: docker service inspect <service_name> Replace <service_name> with the name of your Jenkins service. This command will output information about the service, including the node ID of the node running the Jenkins container. You can then use the following command to find the IP of the node: docker node inspect <node_id> --format '{{ .Status.Addr }}' Replace <node_id> with the node ID you obtained from the previous command. This will give you the IP address of the node running the Jenkins container, which you can use to access the Jenkins server. Hope this helps. Let me know if the issue still exists. Happy Hacking and have a nice weekend.

    • @sreekanth5143
      @sreekanth5143 Рік тому

      @@TechShareChannel Thanks for the reply,i will try today and all the best Akash.

  • @okey1317
    @okey1317 Рік тому

    but right now, you are inside a master node and crearing all the applications.. But if the docker swarm cluster is somewhere else, will i be able to use it from my laptop? ie, for kubernetes we use kubectl to login right

  • @okey1317
    @okey1317 Рік тому

    where do you get such machines with ip that you accessing on terminal?

  • @sumanthparakala2005
    @sumanthparakala2005 Рік тому

    Can I alter $XX_PSW in the stage and use it for the rest of the pipeline. I need password of the user coming from curl everytime pipeline is run

  • @shampatil4068
    @shampatil4068 Рік тому

    Best ever video about CI/CD

  • @kalyugqa9933
    @kalyugqa9933 Рік тому

    very nice bro

  • @nwakeghobomasi6617
    @nwakeghobomasi6617 Рік тому

    Well understood

  • @jperih
    @jperih Рік тому

    OMG; everyone else drones on, and doesn't really do anything. Your presentation is top-notch and pragmatic. I appreciate you!

  • @archanamuthukrishnan6465
    @archanamuthukrishnan6465 Рік тому

    Hello Sir So for cucumber project too same steps need to be followed or need to add any special steps tonit

  • @virochan15
    @virochan15 2 роки тому

    Excellent explanation. Thanks can we use the SSH Key connection method for slave on Windows machine?

  • @mahendratawade606
    @mahendratawade606 2 роки тому

    Thanks.....

  • @kartikjaiswani
    @kartikjaiswani 2 роки тому

    Hey Akash, Thanks for the video, its helpful to understand. I can you also tell how to use this secret file in your script?

  • @abhishekkumarsingh3678
    @abhishekkumarsingh3678 2 роки тому

    CAN WE MAKE OUR BRANCH READONLY in azure repo? IF YES how can u pls tell

  • @radhakrishnapathapati7910
    @radhakrishnapathapati7910 2 роки тому

    Nice explaination ...keep on doing more bro

  • @radhakrishnapathapati7910
    @radhakrishnapathapati7910 2 роки тому

    awesome sir. Keep post more like this.. anyways thanks sir

  • @sweetypareek3077
    @sweetypareek3077 2 роки тому

    can we create parallel scripted pipeline?

  • @saipavan4967
    @saipavan4967 2 роки тому

    Satisfied with your explanation. Thank you 😊

  • @kavitakhangar2906
    @kavitakhangar2906 2 роки тому

    Hi Akash, How to solve 'detached HEAD' issue in Jenkins?

  • @sudheersid4790
    @sudheersid4790 2 роки тому

    Hi Nice Teaching, I have installed Elasticsearch and Kibana in master and slave How we do with HA can you pls guide me

  • @ravisindhe
    @ravisindhe 2 роки тому

    very nice explanation. So basically organisations either they use C. Delivery( example: who can take down time for their production upgrade) or C. Deployment(FB,twitter who cannot take down time for production upgrade). Super. thank you once again.

  • @oumaymalaamiri3146
    @oumaymalaamiri3146 2 роки тому

    thank you very much Akash you saved my time

  • @yashhirulkar909
    @yashhirulkar909 2 роки тому

    thankyou so much sir

  • @yashhirulkar909
    @yashhirulkar909 2 роки тому

    do we need to install docker slave plugin for this and then configure docker in manage jenkins ? or it will also work if we dont configure docker slave in it ?