Skip to content

Commit

Permalink
Merge pull request #6 from sngular/echobot-0.3.4
Browse files Browse the repository at this point in the history
Fix echobot database test
  • Loading branch information
enribd authored Jun 12, 2021
2 parents 3f90a37 + f6d7ed2 commit fd78609
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions charts/echobot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: echobot
description: A Helm chart for the echobot service
type: application
version: 0.3.3
appVersion: "v0.2.0"
version: 0.3.4
appVersion: "v0.2.1"
maintainers:
- email: manuel.morejon@users.noreply.github.com
name: mmorejon
Expand Down
2 changes: 1 addition & 1 deletion charts/echobot/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# echobot

![Version: 0.3.3](https://img.shields.io/badge/Version-0.3.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.2.0](https://img.shields.io/badge/AppVersion-v0.2.0-informational?style=flat-square)
![Version: 0.3.4](https://img.shields.io/badge/Version-0.3.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.2.1](https://img.shields.io/badge/AppVersion-v0.2.1-informational?style=flat-square)

A Helm chart for the echobot service

Expand Down
7 changes: 4 additions & 3 deletions charts/echobot/templates/tests/test-database.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ metadata:
spec:
containers:
- name: {{ .Release.Name }}-mongodb-test
image: "mongo"
image: "busybox"
command:
- '/usr/bin/mongo'
- "/bin/sh"
args:
- "$MONGODB_URI"
- "-c"
- "mongo_host=$(echo $MONGODB_URI | sed -e 's/.*@//' -e 's/:.*//' -e 's/\\/.*//'); echo -n | /bin/telnet $mongo_host 27017"
env:
- name: MONGODB_URI
valueFrom:
Expand Down

0 comments on commit fd78609

Please sign in to comment.