forked from openMF/ph-ee-env-labs
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
frontend and backend chart with passing test cases
- Loading branch information
1 parent
f65276d
commit 04ec1fd
Showing
7 changed files
with
65 additions
and
5 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
25 changes: 25 additions & 0 deletions
25
helm/ph-ee-fin-back-end/templates/test/integration-test-ams-and-common.yaml
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,25 @@ | ||
apiVersion: v1 | ||
kind: Pod | ||
metadata: | ||
name: g2p-sandbox-test-ams-and-common | ||
labels: | ||
app: "integration-test-ams-and-common" | ||
annotations: | ||
"helm.sh/hook": test-success | ||
spec: | ||
containers: | ||
- name: g2p-sandbox-test-ams | ||
image: "{{.Values.integration_test.image}}" | ||
imagePullPolicy: "Always" | ||
command: [ "/bin/bash" , "-c" ] | ||
args: | ||
- ./gradlew test -Dcucumber.filter.tags="@amsIntegration or @common" ; echo 'Test complete' ; sleep 1500 ; echo 'pod terminate' | ||
{{- include "inttest.env" . | nindent 4 }} | ||
resources: | ||
limits: | ||
cpu: "800m" | ||
memory: "1.2Gi" | ||
requests: | ||
cpu: "250m" | ||
memory: "256Mi" | ||
restartPolicy: Never |
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,12 @@ | ||
apiVersion: v2 | ||
name: safaricom-backend | ||
description: A Helm chart for Kubernetes | ||
|
||
type: application | ||
version: 0.1.0 | ||
appVersion: "1.16.0" | ||
|
||
dependencies: | ||
- name: back-end | ||
repository: "https://fynarfin.io/images/back-end-2.0.0/" | ||
version: 2.0.0 |
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,4 @@ | ||
back-end: | ||
ph-ee-engine: | ||
connector_bulk: | ||
enabled: false |
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 @@ | ||
apiVersion: v2 | ||
name: safaricom-frontend | ||
description: A Helm chart for Kubernetes | ||
|
||
type: application | ||
version: 0.1.0 | ||
appVersion: "1.16.0" | ||
|
||
dependencies: | ||
- name: front-end | ||
repository: "https://fynarfin.io/images/front-end-2.0.0/" | ||
version: 2.0.0 |
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,4 @@ | ||
front-end: | ||
ph-ee-engine: | ||
connector_bulk: | ||
enabled: false |