-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds a dependencies test, which will need further refactoring to support storage types that require dependency-aggregation. However, this works and keeps the first pass small. Signed-off-by: Adrian Cole <[email protected]>
- Loading branch information
1 parent
f80f8b4
commit 4be630b
Showing
4 changed files
with
70 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
global: | ||
testDependencies: true | ||
|
||
# extra containers are in the same pod, so this means zipkin is accessible to | ||
# the example services by localhost (default) | ||
extraContainers: | ||
- name: frontend | ||
image: 'ghcr.io/openzipkin/brave-example:armeria' | ||
command: ['start-frontend'] | ||
ports: | ||
- containerPort: 8081 | ||
env: | ||
- name: 'ZIPKIN_BASEURL' | ||
value: 'http://localhost:9411/' | ||
- name: 'BACKEND_ENDPOINT' | ||
value: 'http://localhost:9000/api' | ||
readinessProbe: | ||
httpGet: | ||
path: /health | ||
port: 8081 | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
- name: backend | ||
image: 'ghcr.io/openzipkin/brave-example:armeria' | ||
command: ['start-backend'] | ||
ports: | ||
- containerPort: 9000 | ||
env: | ||
- name: 'ZIPKIN_BASEURL' | ||
value: 'http://localhost:9411/' | ||
readinessProbe: | ||
httpGet: | ||
path: /health | ||
port: 9000 | ||
initialDelaySeconds: 5 | ||
periodSeconds: 5 | ||
|
||
# test-connection runs in a different pod, so it can't hit the frontend unless | ||
# we expose a service port. | ||
extraServicePorts: | ||
- port: 8081 | ||
targetPort: 8081 | ||
protocol: TCP | ||
name: frontend |
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