Using the ALM Module Michael Youngstrom. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in lab Please ask questions.

Slides:



Advertisements
Similar presentations
Introduction to Maven 2.0 An open source build tool for Enterprise Java projects Mahen Goonewardene.
Advertisements

Test Automation: Coded UI Test
Module 4: Deploying and Managing BizTalk Applications
Introduction to Maven Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to the Java Stack.
Functional Testing with the Java Stack Test Runner
Java Build Tool Comparison HJUG - April 29th, 2009 John Tyler.
Validata Release Coordinator Accelerated application delivery through automated end-to-end release management.
Intermediate Maven Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions No making fun of my microphone Prerequisites –
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
27. to 28. March 2007 | Geneva, Switzerland. Fabrice Romelard ilem SA Level 200.
Web Applications Basics. Introduction to Web Web features Clent/Server HTTP HyperText Markup Language URL addresses Web server - a computer program that.
Introduction to the Java Stack Michael Youngstrom.
Deploying Dynamics Applications Thomas Hansen – Director, appSolutions a|s
Purpose Intended Audience and Presenter Contents Proposed Presentation Length Intended audience is all distributor partners and VARs Content may be customized.
Configuration Management Process and Environment MACS Review 1 February 5th, 2010 Roland Moser PR a-RMO, February 5 th, 2010 R. Moser 1 R. Gutleber.
What’s New in Kinetic Task 3.0 Ben Christenson 3 About Me  Ben Christenson  Employee at Kinetic Data for 13 years and a member of the Product Development.
Maven and Stack Starter Michael Youngstrom. Notes This is a training NOT a presentation Please ask questions Prerequisites – Introduction to Java Stack.
Maven & Bamboo CONTINUOUS INTEGRATION. QA in a large organization In a large organization that manages over 100 applications and over 20 developers, implementing.
MAVEN-BLUEMARTINI Yannick Robin. What is maven-bluemartini?  maven-bluemartini is Maven archetypes for Blue Martini projects  Open source project on.
What’s new in Stack 3.2 Michael Youngstrom. Disclaimer This IS a presentation – So sit back and relax Please ask questions.
COMP-14: Automating your deployments using ANT Gary S Clink Business Consultant.
LDS Account Integration. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:
AUTOBUILD Build and Deployment Automation Solution.
Tomcat Spencer Uresk. Notes This is a training NOT a presentation Please ask questions This is being recorded
Using the ALM Module Fully Automated Deployments in Stack 3.2.
Microsoft Application Virtualization 5.0: Introduction Mohnish Chaturvedi & Ian Bartlett Premier Field Engineer WCL312.
Module 9 Configuring Messaging Policy and Compliance.
Drupal Commerce Better than Uber Andrew Root: druroot.
Module 9 Configuring Messaging Policy and Compliance.
Module 5: Configuring Internet Explorer and Supporting Applications.
LDS Account Integration. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:
1 dec 20, 2007 Maven project automation for dummies Aino Andriessen AMIS.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer, Progress Sonic.
WAM and the Java Stack. Disclaimer Please ask questions There are hands on labs Prerequisites: – Basic Java knowledge – Basic Spring knowledge – LDS Account.
1 may 31, 2007 Build, test and deploy ADF applications without effort with the use of Maven2 Aino Andriessen AMIS.
Introduction to the Java Stack Michael Youngstrom.
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
Overview of the Automated Build & Deployment Process Johnita Beasley Tuesday, April 29, 2008.
SONIC-3: Creating Large Scale Installations & Deployments Andrew S. Neumann Principal Engineer Progress Sonic.
Dr. David Roldán Martínez Universidad Politécnica de Valencia, Spain & Nuno Fernandes Universidade Fernando Pessoa, Portugal Site Stats, the power of event.
Maven for building Java applications By Nalin De Zoysa
Adxstudio Portals Training
UpgradinguPortal to What’s new that matters Better use of third party frameworks Faster! Improved caching Drag and Drop New Skin & Theme Accessibility.
IBM Express Runtime Quick Start Workshop © 2007 IBM Corporation Deploying a Solution.
Workflow in Microsoft Office SharePoint Server Jessica Gruber Consultant Microsoft Corporation.
8/29/10 Maven Repository Management with Nexus Jim McMahon.
Maven. Introduction Using Maven (I) – Installing the Maven plugin for Eclipse – Creating a Maven Project – Building the Project Understanding the POM.
Continuous Delivery and Team Foundation Server 2013 Ognjen Bajić Ana Roje Ivančić Ekobit.
WAM and the Java Stack. Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in labs Please ask questions Prerequisites:
CS520 Web Programming Introduction to Maven Chengyu Sun California State University, Los Angeles.
Platform & Maven2 David Šimonek. Certified Engineer Course Agenda What is Maven? Why Maven? NB IDE & Maven NB Platform & Maven.
XNAT 1.7: Getting Started 6 June, Introduction In this presentation we’ll discuss:  Features and functions in XNAT 1.7  Requirements  Installing.
SharePoint 101 – An Overview of SharePoint 2010, 2013 and Office 365
Build Fundamentals and Continuous Integration
Open-O Integration Project Introduction
Stress Free Deployments with Octopus Deploy
Maven 04 March
CS520 Web Programming Introduction to Maven
Plan What is Maven ? Links : mvn command line tool
OpenLegacy Training Day Four Introduction to Microservices
Deploying and Configuring SSIS Packages
Introduction to Microservices Prepared for
Advanced Integration and Deployment Techniques
Maven IIB9 Plug-in Version 9.0
Microsoft Virtual Academy
JENKINS TIPS Ideas for making your life with Jenkins easier
Maven IIB9 Plug-in Version 9.0
Preparing for the Windows 8.1 MCSA
Presentation transcript:

Using the ALM Module Michael Youngstrom

Disclaimer This is a training NOT a presentation. – Be prepared to learn and participate in lab Please ask questions Prerequisites: – Maven Knowledge

Recent Build Landscape Changes Build/Deploy Landscape has changed since 3.1 Anthill Pro replaced CruiseControl for builds Anthill “Secondary Process” use increased Many teams now use Anthill for deployment DB Migrator continues to grow – Some teams executing migrations from Anthill Test Runner created for post build test execution Many improvements in infrastructure automation Some projects deploying UI and CDN content separate from application

Stack 3.1 Build Problems Integrated application deploy, functional test, and db migration with maven build – Long build times – Complex builds – Build failed if deploy failed Poor Anthill “secondary process” support – Difficult to add unique post build tasks – Inconsistency between build and post build actions

Goals of Build Improvements Simplify build by separating build and post build processes – Once per build vs. Many per build Give post build power to the team Leverage current investment in Maven Execute build and post build tasks inside and outside of Anthill Consistent build promotions We want fully automated deployments!!!

Maven Lifecycles Maven uses lifecycles to orchestrate goals Phases represent steps in a lifecycle Default process-resources compile test-compile test package integration-test install deploy Clean pre-clean clean Site site site-deploy

Executing a Lifecycle Lifecycles are executed by calling a phase Phase identifies where in lifecycle to stop Examples: – mvn test – mvn install – mvn clean install – mvn install site clean – mvn clean compile package install clean Default process-resources compile test-compile test package integration-test install deploy Clean pre-clean clean Site site site-deploy

Phases in Lifecycle Phases in a lifecycle are mapped to plugin goals – Dictated by packaging type and pom config Default PhasesWar Bindings process-resources compilecompiler:compile test-compilecompiler:testCompile testsurefire:test packagewar:war integration-test installinstall:install deploydeploy:deploy Clean PhasesBindings pre-clean cleanclean:clean Site PhasesBindings sitesite:site site-deploysite:deploy

Example Binding in Pom Config org.apache.maven.plugins maven-enforcer-plugin enforce compile

ALM the Lifecycle for Deployments Default Lifecycle builds and managing artifacts What might a lifecycle for application deployment look like? – Migrate database – Deploy app – Test deployed app ALM Lifecycle PhasesBindings alm-dbstack-db:migrate alm-deploystack-tcat:deploy alm-teststack-test:functional-test alm-promote Quiz: – clean install – alm-promote – clean install alm-promote

Packaging the ALM Module How does this help? ALM Module creates a.zip containing: – The project – All Dependencies – settings.xml file

How to execute a post build promotion? 1.Download alm zip file for project 2.Execute: mvn -s settings.xml alm-promote 3.Optionally add appropriate ‘-D’ parameters 4.Specify env using a maven profile (e.g. -P stage)

ALM Promotion Demo

Lab ALM Module Builds #Lab_1

Executing through Anthill Pro Anthill represents an excellent engine for executing ALM Modules – Securely store build artifacts – Can securely handle passwords – Easily add parameters to a maven build – Can track state of builds – Can record and store results from multiple test runs

Execute ALM Promotion in Anthill Demo

Roles of new Build System Project Team Set Default configuration in ALM pom.xml for project – Functional Tests? – DB Migration? – Test Groups? (smoke, full, etc) Test promotion on local box Identify Anthill configurable properties – Skip Plugins? – Usernames and passwords? Identify the Environments to enable Build Team Add Project to Anthill Take configurable properties from team add them to secondary process. Enable specified environments Java Stack Team Help Customize ALM Module

Imagine the Possibilities! Plugins currently tested and working with alm module: – DB Migrator – Tcat Deploy – Vanilla Tomcat Deploy – Test Runner Possible future work: – Deployment of static content – CDN Deployment/Expiration – Update of WAM Policies – Marklogic Deploy – Enhance Test runner to update QA Test Cases – Putting up Out of Service Page During Deployment – Many more

Conclusion ALM Module provides promotion orchestration Puts more control in hands of project team Build process now separate from promotion Anthill pro is an excellent promotion engine We hope to see more fully automated promotions in the future!!!