Stay@home projects for kids – implementing many fun programming options using RaspberryPi. Here is how I was able to successfully engage my 9 year old to fun programming that helps her code interactive stories, animations and games using Scratch programming plus other few RaspberryPI projects. Implementation steps include,
OS installation on RaspberryPi : Installing Raspbian on RaspberryPi needs downloading Raspbian image and write that to microSD card.
Setting up RaspberryPI: insert the miscroSD card to RaspberryPi and then connect the basic peripherals like mouse, keyboard, TV screen, and power source.
Now all set to enjoy RaspberryPi during Stay@home time !!!
4. Select the Programming Menu to start Scratch from TV monitor
5. About Scratch – It is block based visual programming language primarily targeted for children. Ref – https://scratch.mit.edu/
SonarQube is code quality checker and that can be integrated to Jenkins workflow to deliver continuous inspection. Configuration steps as follows:SonarQube:1. Do a SonarQube docker image pull from docker hub 2. Then use docker run command to run the image to build SonarQube container.(Assumption JDK is already setup on the machine) if not , we need to docker containerized JDK.3. Now that step 2 allows us to run the SonarQube as a standalone server under localhost port 9000. (Type localhost:9000 on browser)4.login to SonarQube web app using admin as user I’d and admin as password.5. The go to Admin tab , Market place of SonarQube and install the plugins you wanted (SonarPython, Java, Groovy etc)6. You may need to restart SonarQube app after applying plugin installation. Jenkins integration with Sonar1. Now that Sonar Server is ready, you may need to integrate Jenkins with Sonar.2. Login on to Jenkins, and go to Manage plugin section to install Sonar plugin.3. After restarting Jenkins, go the Configure system in Manage Jenkins section.4. Enable injection of Sonarserver, add Sonar server auth token etc. Now, Enable Analysis with Sonar scanner by defining the SonarQube server on Global configuration Then configure Jenkins build
Contract testing is famous in microservices world. When we consider less numbers of microservices, then contract testing is not so necessary.However when you look at the Amazon or Netflix microservices mesh, it is countless. Such cases it is extremely difficult for developer or tester to maintain unit/automation test suite as per the microservices development chnages. Contract testing is the best possible solution currently offered for this situation. In contract testing, a mocked service is created to represent the provider. There are commercial or opensource tools available to stimulate this. In short, contract is set of predefined requests and responses created by automation or developer team to do their testing.
Google provides platform as service or PaaS via Google’s App Engine.App Engine is a cloud computing platform where development and hosting of applications can be done.Other feature is App engine scales up on demand basis when the requests are more. App Engine supports almost all development technologies like Go, Java , Python, .NET, ruby. Python web frameworks like Flask, Django all can run on App Engine.
ELK stack is a combination of 3 open-source products as below,
Elasticsearch, a search and analytics engine.
Logstash, that index the data to Elasticsearch. Logstash has a config file that has input,filter and output section. Config file looks like json file.
Kibana, a visualization tool which provides a web based GUI for a user. User can design the bar, plot reporting charts. In order to make Kibana and Elasticsearch interact, you need to make both server up and running. Then logstash will index the data to Elasticsearch. Then Kibana would read the data from Elasticsearch and visualize it.
DevOps is the practice of using set of tools, processes and practices to get good agility in software implementation to customers. It combines Dev (software development ) and Ops (information operations). DevOps shortens the development lifecycles and provides Continous Integration & Delivery. DevSecOps is when security features are included in DevOps CI/CD flow. NetOps is when network services are packaged to DevOps.
Jenkins jobs and Jenkins pipeline are essentially same, however pipeline is more staged flow of jobs. For Jenkins pipeline, Jenkinsfile is used. What is Jenkinsfile?Jenkinsfile is a text file placed in the root project directory. The Jenkinsfile has multiple stages like build, unit test, sonar test, functional, regression, integration, performance testing, deployment etc.