+01 (414) 230 - 5550
Requirements:-
  1. First step in getting up and running is to install VirtualBox. You can get appropriate version from the www.virtualbox.org
  2. Need to install vagrant. The same procedure is applies; grab the installer from ww.vagrantup.com.

We can start the cluster setup, so we need the vagrant file for cluster setup using that only we can set it out.


Or Else clone the below git repository for getting sample vagrant file


https://github.com/coreos/coreos-vagrant

Now that every thing is downloaded, we can look at how to configure vagrant for your CoreOS development environment

  1. Make copies and rename the configuration files: copy-user-data to user-data, and copy and rename config.rb.sample to config.rb
  2. Open confi.rb so that you can change the a few parameters to get vagrant up and running properly.
  3. You may also want to tweak some other settings in config.rb. CPU, Memory settings can be modified as per your need.
  4. And then open the git shell to interact with vagrant



    Go to your current working directory in your shell and issue this command

    You will see the things happening, which will look like this ,



    Once the operation is completed you can verify that everything is up and running properly by logging in to one of the machines and using fleetctl to check the cluster

    If you see list of machines you created then you are finished, you now have a local cluster of CoreOS machines.

0

CI\CD Azure Web App using Visual Studio Team Service
  1. Create the application in visual studio.
  2. Then push that code to the git and also import that code in visual studio team services.
      • Create a new project in VSTS


      • Please import the git repository and of your project

  3. Then create the build for that application in VSTS.
    • Go to build page for creating a build definition for your project
    • Click new definition and choose a template that build’s azure web app


      • Please mention the agent to run the build process.
      • In that agent only we can find the build and published file, so we need to mention the same agent in release management then only we can find the published folder and process the deployment easily.


      • Please authorise the azure subscription and it will show the azure web apps in your subrcription, you can choose the azure web app in app service name.


  4. Create release for deployment to Azure web app service.
      • Please mention the agent for run the deployment through agent.


      • Please mention the azure subscription and azure app service name.
      • Then release the deployment it will deploy to mention app service in azure portal.


    CI\CD for Azure web app using VSTS online created.

0

We can run the agent as a service in server using below setups.


First download the agent setup from agent pools for running that agent as a service in our VM.





You can download the agent as per your requirement eg: Linux , windows


Then go to the downloaded folder and run the config.cmd file




Asking your server url eg:https://ciqtest.visualstudio.com/


Enter the PAT(Personal Access Tokens) we can generate from the users security.





To add the PAT, please click add and mention the deploy and build agent service then click add or submit. It shows you the PAT please copy and paste it in the cmd.


It will ask for an agent pool name, when we give the corresponding pool name the agent will run based on the given pool name.


After configuring the agent , please run the run.cmd file in downloaded folder. It can run the TFS agent in our VMs.


Finally we are running the TFS agent as a service in our VMs, it can use our system capabilities.

0