Coder Social home page Coder Social logo

vmware-archive / devops-workshop Goto Github PK

View Code? Open in Web Editor NEW
25.0 27.0 30.0 95.09 MB

A collection of workshop materials and labs exercises for use at client sites.

License: BSD 2-Clause "Simplified" License

Java 14.20% C# 0.78% Go 0.15% JavaScript 1.19% CSS 3.05% HTML 76.55% Shell 0.39% Python 0.86% ColdFusion 0.31% Dockerfile 0.32% Pug 2.20% Procfile 0.01%
java spring-boot spring-cloud cloud-native microservices cicd

devops-workshop's Issues

Sanitize for multi-client support

Want to maintain a sanitized master branch. Will strip logos and references to Boeing in slides. Perhaps moving slides to existing internal Pivotal Google Docs folder?

Review current branches for artifactory and boeing.

Git bash seems to be only way to successfully execute cf update-service on Windows 10

In lab 4 there's a step where you are asked to update the configuration of the instance of the config server so that it references application configuration from a Git repository. There is no facility at moment to do this directly from Application Manager UI. So, one has to execute something like cf update-service config-server -c '{"git": { "uri": "https://github.com/pacphi/config-repo" } }'. We've not been able to see participants on Windows 10 laptops successfully execute the above cf command in cmd or powershell. What seems to work consistently, is when they launch a Git bash shell.

The scope of this effort is to troubleshoot and fix so that all three shells function equivalently when execute cf update-service ....

Update Lab 4 to demo /bus/refresh request

It's cool that you can hit the /refresh endpoint to refresh the configuration for a single app instance. But what about when you have N app instances running? It's pretty tedious to execute for each instance. So, we should illustrate how to:

  • provision a CloudAMQP (RabbitMQ free tier) instance via the App Manager UI
  • add compile('org.springframework.cloud:spring-cloud-starter-bus-amqp') dependency to cloud-native-spring/build.gradle
  • update manifest.yml to include reference underneath services: to RabbitMQ instance
  • gradle clean bootRepackage and cf push
  • scale the app from 1 to 2 instances
  • update the value for greeting in cloud-native-spring.yml within the config-repo
  • execute POST /bus/refresh
  • see that config is updated for both instances

Boeing-specific build.gradle files and associated custom Eclipse config

Gradle build config at Boeing is a little more involved. They do not want to use Artifactory Gradle plugin (https://www.jfrog.com/confluence/display/RTF/Gradle+Artifactory+Plugin), opting instead for groovy task def. Shawn Karr has been able to plow through some artifact resolution issues we were having with certain dependencies and plugins by a) working with Artifactory admin team and b) by crafting a build.gradle, gradle.properties and associated Eclipse config. Want to get this into a new boeing branch.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.