cloud-native-workshop | win w/ Spring Boot , Spring Cloud and Cloud Foundry | Microservice library
kandi X-RAY | cloud-native-workshop Summary
kandi X-RAY | cloud-native-workshop Summary
win w/ Spring Boot, Spring Cloud and Cloud Foundry
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns the names of reservations .
- This method runs the request .
- Initializes the panel .
- Start a graphite reporter .
- Load user by username .
- Executes incoming reservations .
- Add a photo to the profile .
- Spring bean deployment .
- Accept a reservation .
- Configure this service with the given endpoints .
cloud-native-workshop Key Features
cloud-native-workshop Examples and Code Snippets
Community Discussions
Trending Discussions on cloud-native-workshop
QUESTION
This is similar to Passing files from Google Cloud Container Builder to Docker build task but I can't seem to figure out what the difference is.
I am attempting to build a simple Java program and package it into a Container using Google Cloud Build. I am following mostly along with https://cloud.google.com/build/docs/building/build-java but using my own repo which is a fork of https://github.com/jchraibi/cloud-native-workshop
...ANSWER
Answered 2021-May-06 at 19:29Thank you for your question! I cloned your repo and added a cloudbuild.yaml
at the root and added a Dockerfile
in the inventory-quarkus/src/main/docker
directory. I'm sure this isn't exactly the repo structure you're working with, but the concept should carry over.
Essentially, you want to use the dir
field to set your working directory between the steps to more easily pass the data around. This cloudbuild.yaml worked for me:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cloud-native-workshop
In this workshop you'll need the latest Java version. Java 8 is the baseline for this workshop.
You'll need a newer, 3.1, version of Apache Maven installed.
You'll need an IDE installed. Something like Apache NetBeans, Eclipse, or IntelliJ IDEA.
You might want to use the the Spring Boot CLI and the Spring Cloud CLI. Neither is required but you could use them to replace a lot of code, later.
Install the Cloud Foundry CLI
Go to the Spring Initializr and use the latest stable version of Spring Boot. If you are doing this in a workshop setting where internet connectivity is constrained, you'll want to pre-cache the Maven dependencies before starting. Go to the Spring Initializr and choose EVERY checkbox except those related to AWS, Zookeeper, or Consul, then click Generate. In the shell, run mvn -DskipTests=true clean install to force the resolution of all those dependencies so you're not stalled later. Then, run mvn clean install to force the resolution of the test scoped dependencies. You may discard this project after you've run the commands. This will download whatever artifacts are most current to your local Maven repository (usually, .m2/repository).
For multi-day workshops only: Run each of the .sh scripts in the ./bin directory; run psql.sh after you've run postgresh.sh and confirm that they all complete and emit no obvious errors
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page