Automating your CI/CD Stack with Java and Groovy

Slides:



Advertisements
Similar presentations
HIGH PERFORMANCE CONTINUOUS DELIVERY VERSIONING AND RELEASE MANAGEMENT ALIGNED.
Advertisements

EXTENDING TESTING INTO THE LAB Richard Fennell Engineering Director, Black Marble
BizTalk Deployment using Visual Studio Release Management
01 Introduction to Java Technology. 2 Contents History of Java What is Java? Java Platforms Java Virtual Machine (JVM) Java Development Kit (JDK) Benefits.
Article: Source Code Review Systems Author: Jason Remillard Presenter: Joe Borosky Class: Principles and Applications of Software Design Date: 11/2/2005.
LDS Account Integration. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:
The Pipeline Processing Framework LSST Applications Meeting IPAC Feb. 19, 2008 Raymond Plante National Center for Supercomputing Applications.
Using the ALM Module Fully Automated Deployments in Stack 3.2.
1 Module Objective & Outline Module Objective: After completing this Module, you will be able to, appreciate java as a programming language, write java.
Week 1 - Friday.  What did we talk about last time?  Our first Java program.
Software Research, Inc. Setting the Standard for Software Testing Windows Solution.
4-Nov-15 Air Force Institute of Technology Electrical and Computer Engineering Object-Oriented Programming Design Topic 1: The Java Environment Maj Joel.
Created by Jan Medved Integration & Test Strategy for Lithium.
Introduction to the Java Stack Michael Youngstrom.
Build and Deployment Process Understand NCI’s DevOps and continuous integration requirements Understand NCI’s build and distribution requirements.
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
Secure Access and Mobility Jason Kunst, Technical Marketing Engineer March 2016 Location Based Services with Mobility Services Engine ISE Location Services.
Why you should be using VSTSWhy you should be using VSTS Visual Studio Team Services (VSTS) Nathan Lasnoski Vice President of blog.concurrency.com.
DevOps for the IT Pro with Azure and Visual Studio Team Services
Progress Apama Fundamentals
Appium Studio Appium testing made easy at any scale.
Getting & Running EdgeX Docker Containers
Joonas Sirén, Technology Architect, Emerging Technologies Accenture
Agenda:- DevOps Tools Chef Jenkins Puppet Apache Ant Apache Maven Logstash Docker New Relic Gradle Git.
Open-O Integration Project Introduction
Deployment Architectures For Containers
Stress Free Deployments with Octopus Deploy
Development Environment
Fundamentals Sunny Sharma Microsoft
Build Automation with Gradle
Shared Services with Spotfire
Infrastructure Orchestration to Optimize Testing
Docker Birthday #3.
SonarQube and Sonatype Nexus IQ Server
Delphi or C++ Builder, with Subversion and Jenkins
Getting Started as an EdgeX Developer
Open-O O-Parent Project Proposal
Jenkins and Azure OPEN322 Michael Friedrich.
4th Forum How to easily offer your application as a self-service template by using OpenShift and GitLab-CI 4th Forum Alberto.
Enterprise Quality Roadmap
Continuous Deployment tool
Building a Continuous Integration Pipeline using VSTS
Introduction to Team Foundation Server 2010
Aliexpress Clone Script to Empower Your eCommerce Business
EPAM Cloud Orchestration
Continuous Integration For Databases
Managing Development Projects Across Oracle Cloud Services: A Guide
X in [Integration, Delivery, Deployment]
Dev Test on Windows Azure Solution in a Box
DevSecOps: The Java Developer’s Guide to Automating with Groovy
Confidential – Oracle Internal/Restricted/Highly Restricted
Simplified Development Toolkit
JENKINS TIPS Ideas for making your life with Jenkins easier
How to Improve Releasing Efficiency via i18N/L10n Test Automation.
Continuous Integration Tool
CONTINUOUS INTEGRATION –WHY WE DO IT?
(Computer fundamental Lab)
Configuration management suite
Helping you make your code better
DEVOPS & THE FUTURE OF TESTING
Roots/Git to Deploy What is continuous integration and continuous delivery How they are used at the Innovation Co-Lab Victor Wang, Software Engineer &
Rabobank’s Customer On-Boarding Program
CI/CD Pipelines with Jenkins and Docker
IT Management Services Infrastructure Services
Erik Vollebekk Application Architect
Overview on CI Use JJB (Jenkins Job Builder) to manage Jenkins jobs.
ONAP Architecture Principle Review
SSDT, Docker, and (Azure) DevOps
Week 1 - Friday COMP 1600.
Samir Behara, Senior Developer, EBSCO
Presentation transcript:

Automating your CI/CD Stack with Java and Groovy Jeanne Boyarsky & Scott Selikoff Tuesday Oct 23, 2018 Oracle Code One – HOL4957 Please begin installing Docker/Jenkins/Nexus NOW! https://goo.gl/XesKPB

About Us Combined 30+ years Java 15+ years tooling 10+ years Groovy @jeanneboyarsky @scottselikoff

Tuesday More from Jeanne Time Title Comments Speaker 4:00-4:45 DevSecOps: Java Developer’s Guide to Automating with Groovy Companion talk; can use to reinforce lab Jeanne Boyarsky 7:30-9:15 Ignite talks! Jeanne has 5 minute talk on her robotics team Various

Wednesday Recommendations Time Title Speaker 1:30-2:15 Functional Programming in Java, Groovy & Kotlin Ken Kousen 2:30-3:15 JVM Languages: Compare (Java, Kotlin, Groovy, Scala) Leonardo Lima, Nikhil Nanivadekar & Donald Raab Which Java Version from Which Java Vendor with What Support Jeanne Boyarsky

What you’ll learn in the lab Ways you can run Groovy in Nexus/Jenkins Using object model APIs from Groovy Configuring a custom Java Sonar rule The initial steps in securing a system

Technologies used in this Lab Docker Jenkins Nexus Repository Manager SonarQube

Docker Container-based Platform Virtualized environment Mini “slice” of a virtual machine Stored as images, run as containers All tools for this lab run will run from Docker

Overview HOL Network Docker container Docker container Nexus Jenkins Sonar Binary repository CI Engine Static analysis

Docker Stop Run Remove Start

Jenkins Management tool for continuous integration and continuous delivery CI: Checking in code triggers builds CD: Builds are sent to various environments Highly customizable with numerous scripting and automation options Run as projects steps/pipelines

Nexus Repository Manager Serves dependencies to Maven/Gradle Store snapshot and release artifacts (builds) Similar to Artifactory

SonarQube Continuous Inspection of code quality Exposes bugs and potential vulnerabilities using static code analysis Focuses on the structure of code and enforcing rules across a project

Other tools/languages Groovy – JVM programming language curl – command line (we use to test network connectivity)

One minute intro to Groovy For this lab Use Java if you don’t know Groovy All Groovy code in solution guide for reference (or copy/paste) Don’t waste time on Groovy syntax if don’t already know Groovy. More on Groovy syntax at 4pm Groovy Java

log.info'Hello Oracle Code One! ’ log.info GroovySystem.version

println 'Hello Oracle Code One! ' println GroovySystem.version Hello Oracle Code One! 2.4.11

System scripts can access object model Can’t choose Groovy version

Script Security Plugin ERROR: Build step failed with exception org.jenkinsci.plugins.scriptsecurity.sandbox.RejectedAccessException: Scripts not permitted to use staticMethod jenkins.model.Jenkins getInstance Options: Approve each script manually Sandbox - whitelist APIs Authorized Build plugin to run as admin Copy/paste Groovy code (we do this in the lab)

Flow The lab is self paced Raise your hand if you get stuck or have a question. If there is a FAQ, we will demo it on the screen.

Let’s start! On to the lab! https://goo.gl/Gc3uyy In a browser go to Start with the Lab Instructions: Automating Stack HOL Instructions.docx https://pixabay.com/p-154544/?no_redirect