-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: improve build, deployment and documentation
Add a combined manifest that allows pushing all samples at the same time. Update build and test instructions. Minor fixes for updated dependencies.
- Loading branch information
1 parent
669a4aa
commit 5a3f231
Showing
48 changed files
with
942 additions
and
229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,6 @@ Pipfile | |
Pipfile.lock | ||
.bundle | ||
**/ruby-*/vendor | ||
.idea | ||
.gradle | ||
http2/.gradle |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
--- | ||
version: 1 | ||
stack: &stack | ||
stack: cflinuxfs4 | ||
go_defaults: &go_defaults | ||
disk_quota: 32M | ||
memory: 32M | ||
java_defaults: &java_defaults | ||
disk_quota: 768M | ||
memory: 768M | ||
node_defaults: &node_defaults | ||
disk_quota: 256M | ||
memory: 256M | ||
ruby_defaults: &ruby_defaults | ||
disk_quota: 256M | ||
memory: 256M | ||
python_defaults: &python_defaults | ||
disk_quota: 512M | ||
memory: 512M | ||
applications: | ||
- name: go-grpc-test | ||
<<: *stack | ||
<<: *go_defaults | ||
path: ./go-grpc/ | ||
buildpacks: | ||
- go_buildpack | ||
routes: | ||
- route: go-grpc-test.((domain)) | ||
protocol: http2 | ||
- name: go-http2-test | ||
<<: *stack | ||
<<: *go_defaults | ||
path: ./go-http2/ | ||
buildpacks: | ||
- go_buildpack | ||
routes: | ||
- route: go-http2-test.((domain)) | ||
protocol: http2 | ||
- name: java-grpc-test | ||
<<: *stack | ||
<<: *java_defaults | ||
path: ./java-grpc/app/build/distributions/app-((version)).zip | ||
buildpacks: | ||
- java_buildpack | ||
routes: | ||
- route: java-grpc-test.((domain)) | ||
protocol: http2 | ||
env: | ||
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 11.+ }}' | ||
- name: java-http2-test | ||
<<: *stack | ||
<<: *java_defaults | ||
path: ./java-http2/app/build/distributions/app-((version)).zip | ||
buildpacks: | ||
- java_buildpack | ||
routes: | ||
- route: java-http2-test.((domain)) | ||
protocol: http2 | ||
env: | ||
JBP_CONFIG_OPEN_JDK_JRE: '{ jre: { version: 11.+ }}' | ||
- name: node-grpc-test | ||
<<: *stack | ||
<<: *node_defaults | ||
path: ./node-grpc/ | ||
buildpacks: | ||
- https://github.com/cloudfoundry/nodejs-buildpack | ||
routes: | ||
- route: node-grpc-test.((domain)) | ||
protocol: http2 | ||
- name: node-http2-test | ||
<<: *stack | ||
<<: *node_defaults | ||
path: ./node-http2/ | ||
buildpacks: | ||
- https://github.com/cloudfoundry/nodejs-buildpack | ||
routes: | ||
- route: node-http2-test.((domain)) | ||
protocol: http2 | ||
- name: python-grpc-test | ||
<<: *stack | ||
<<: *python_defaults | ||
path: ./python-grpc/ | ||
buildpacks: | ||
- https://github.com/cloudfoundry/python-buildpack | ||
routes: | ||
- route: python-grpc-test.((domain)) | ||
protocol: http2 | ||
- name: python-http2-test | ||
<<: *stack | ||
<<: *python_defaults | ||
path: ./python-http2/ | ||
buildpacks: | ||
- https://github.com/cloudfoundry/python-buildpack | ||
routes: | ||
- route: python-http2-test.((domain)) | ||
protocol: http2 | ||
- name: ruby-grpc-test | ||
<<: *stack | ||
<<: *ruby_defaults | ||
path: ./ruby-grpc/ | ||
buildpacks: | ||
- https://github.com/cloudfoundry/ruby-buildpack | ||
routes: | ||
- route: ruby-grpc-test.((domain)) | ||
protocol: http2 | ||
- name: ruby-http2-test | ||
<<: *stack | ||
<<: *ruby_defaults | ||
path: ./ruby-http2/ | ||
buildpacks: | ||
- https://github.com/cloudfoundry/ruby-buildpack | ||
routes: | ||
- route: ruby-http2-test.((domain)) | ||
protocol: http2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
plugins { | ||
id "org.cyclonedx.bom" version "1.6.1" | ||
} | ||
|
||
allprojects { | ||
repositories { | ||
mavenCentral() | ||
maven { | ||
url "https://plugins.gradle.org/m2/" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
applications: | ||
- name: go-grpc-test | ||
buildpacks: | ||
- go_buildpack | ||
disk_quota: 32M | ||
memory: 32M | ||
routes: | ||
- route: go-grpc-test.((domain)) | ||
protocol: http2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
applications: | ||
- name: go-http2-test | ||
buildpacks: | ||
- go_buildpack | ||
disk_quota: 32M | ||
memory: 32M | ||
routes: | ||
- route: go-http2-test.((domain)) | ||
protocol: http2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
version: 1.0.0 |
Binary file not shown.
Oops, something went wrong.