Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Keep Calm and Push Apps

Keep Calm and Push Apps

sergiubodiu

May 20, 2016
Tweet

More Decks by sergiubodiu

Other Decks in Technology

Transcript

  1. Spring I/O 2016 @sergiu_bodiu | [email protected] Idea Write a Story

    Develop Code Deploy Code Build Pipeline ☹
  2. Spring I/O 2016 • How often you release new features?

    • How long it takes to setup new applications? • Do new hires deploy to production? How do you develop Software
  3. Spring I/O 2016 "If you build it,
 he will come"

    Q: knock knock
 A: who’s there? InterruptedException-
 InterruptedException wh—
 java.io.InterruptedException
 at java.lang.Object.wait(Nativ I have the plan how to be rich
  4. Spring I/O 2016 Features: e.g. “Frank can add another person

    as a Friend” Bugs: e.g. “Login button doesn’t work” Chores: e.g. “Setup new domain and wildcard SSL” Acceptance Criteria
 Notes, Resources, Labels Feature: Album collection “ As a album collector
 I want to add albums in my collection
 Because I want to manage my collection” Principles of effective story writing the pivotal labs way
  5. Spring I/O 2016 Scenario: user adds album Scenario: User adds

    album to collection Given I'm a logged-in User
 When I add new album Nevermind by Nirvana with release year 1991 and genre Rock
 Then the album is created
 And .. Gherkin: “enforce firm, unambiguous requirements … and a script for automated testing.” https://blog.pivotal.io/labs/labs/well-formed-stories
  6. Spring I/O 2016 What my backend and api user stories

    look like this story matters this story matters
  7. Spring I/O 2016 @sergiu_bodiu | [email protected] Idea Write a Story

    Develop Code Deploy Code KEEP
 CALM AND PUSH APPS-aaS!
  8. Spring I/O 2016 First Step Experience Download:
 network.pivotal.io/products/pcfdev cf login

    -a api.local.pcfdev.io 
 —skip-ssl-validation cf push <app> #deploy app
 
 cf app <app> #see details cf scale <app> #scale cf ssh <app> #troubleshoot https://github.com/pivotal-cf/pcfdev
  9. Spring I/O 2016 @sergiu_bodiu | [email protected] Idea Write a Story

    Develop Code Deploy Code Build Pipeline KEEP
 CALM AND PUSH APPS-aaS!
  10. Spring I/O 2016 @sergiu_bodiu | [email protected] –Merging dev work with

    mainline trunk constantly to test changes independently and with other changes –Build server automated unit tests Continuous Integration
  11. Spring I/O 2016 @sergiu_bodiu | [email protected] –Delivery of code to

    an environment (UAT, STG, PROD) once the dev feels the code is ready to ship. –Deliver to user base for non-automated testing (biz logic) Continuous Delivery
  12. Spring I/O 2016 @sergiu_bodiu | [email protected] Concourse CI • Concourse

    is originally made for Pivotal Cloud Foundry • But itʼs independent from PCF can be use outside of PCF too.
  13. Spring I/O 2016 @sergiu_bodiu | [email protected] Single declarative config file

    Integrations fly -t lite login -c 
 http://192.168.100.4:8080 fly -t lite set-pipeline
 -p hello-world
 -c hello.yml jobs: - name: hello-world plan: - task: say-hello config: platform: linux image_resource: type: docker-image source: {repository: ubuntu}
  14. Spring I/O 2016 @sergiu_bodiu | [email protected] Idea Write a Story

    Develop Code Deploy Code Build Pipeline KEEP
 CALM AND PUSH APPS-aaS!
  15. Spring I/O 2016 @sergiu_bodiu | [email protected] “Here is my source

    code
 Run it on the cloud for me I do not care how
  16. https://speakerdeck.com/sergiubodiu/ • Try PCF on the Public Cloud (15 min)


    https://pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry/introduction • Try PCF on your Local Workstation with PCF Dev
 https://pivotal.io/platform/pcf-tutorials/getting-started-with-pivotal-cloud-foundry-dev/introduction • Transform How The World Builds Software (30 min)
 https://youtu.be/7APZD0me1nU • Spring Accelerates Cloud Native Java Application Development 
 pivotal.io/spring-app-framework • CI That Scales With your Project
 https://youtu.be/mYTn3qBxPhQ Transform How The World Builds Software @sergiu_bodiu