Skip to content

Commit

Permalink
Merge pull request #35 from tico24/main
Browse files Browse the repository at this point in the history
Try and iterate through different test values.yml files for CI testing.
  • Loading branch information
tico24 authored Feb 2, 2021
2 parents ba65770 + 35c9c98 commit 6809eab
Show file tree
Hide file tree
Showing 4 changed files with 222 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/sorry-cypress/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sorry-cypress
description: A Helm chart for Sorry Cypress
type: application
version: 0.1.29
version: 0.1.30
appVersion: 0.6.1
home: https://sorry-cypress.dev/
sources:
Expand Down
220 changes: 220 additions & 0 deletions charts/sorry-cypress/ci/mongo-values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,220 @@
# Default values for sorry-cypress-helm.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

api:
image:
repository: agoldis/sorry-cypress-api
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# tag: "latest"

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

service:
port: 4000

# Set annotations for pods
podAnnotations: {}

# Additional pod labels
podLabels: {}

ingress:
labels: {}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: api.chart-example.local
path: /
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

dashboard:
image:
repository: agoldis/sorry-cypress-dashboard
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# tag: "latest"

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

# https://sorry-cypress.dev/dashboard#configuration
environmentVariables:
graphQlClientCredentials: ""
graphQlSchemaUrl: ""
ciUrl: ""

service:
port: 8080

# Set annotations for pods
podAnnotations: {}

# Additional pod labels
podLabels: {}

ingress:
enabled: true
labels: {}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: dashboard.chart-example.local
path: /
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

director:
image:
repository: agoldis/sorry-cypress-director
pullPolicy: Always
# Overrides the image tag whose default is the chart appVersion.
# tag: "latest"

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

environmentVariables:
# The "Run URL" in the Cypress client
dashboardUrl: ""

# In memory, or Mongo.
# Valid options are:
# "../execution/in-memory"
# "../execution/mongo/driver"
executionDriver: "../execution/mongo/driver"

# Dummy or S3
# Valid options are:
# "../screenshots/dummy.driver"
# "../screenshots/s3.driver"
screenshotsDriver: "../screenshots/dummy.driver"

# https://sorry-cypress.dev/director/configuration
allowedKeys: ""

# Set annotations for pods
podAnnotations: {}

# Additional pod labels
podLabels: {}

service:
port: 1234

ingress:
enabled: true
labels: {}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: director.chart-example.local
path: /
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local

mongo:
# You need to ensure that director.environmentVariables.executionDriver is set to "../execution/mongo/driver" if you want mongo.enabled to be true.
enabled: true

mongoDatabase: "sorry-cypress"

# Ignored if mongo.enabled is set to true
mongoServer: ""

image:
repository: mongo
pullPolicy: Always
tag: "4.0"

persistence:
enabled: false
accessMode: "ReadWriteOnce"
size: "1Gi"

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi

# Set annotations for pods
podAnnotations: {}

# Additional pod labels
podLabels: {}

service:
port: 27017

s3:
bucketName: example-bucket
region: us-east-1
accessKeyId: ""
secretAccessKey: ""
acl: "public-read"
readUrlPrefix: ""

ingress:
# When enabling ingress, an ExternalName service will be also created to expose the bucket.
enabled: false
labels: {}
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# nginx.ingress.kubernetes.io/upstream-vhost: <bucket>.s3-website-<region>.amazonaws.com
# nginx.ingress.kubernetes.io/enable-cors: "true"
# nginx.ingress.kubernetes.io/cors-allow-origin: "*"
# nginx.ingress.kubernetes.io/cors-allow-methods: "POST, GET, PUT, DELETE, HEAD"
hosts:
- host: static.chart-example.local
path: /
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
Empty file.
2 changes: 1 addition & 1 deletion charts/sorry-cypress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ director:
# - chart-example.local

mongo:
# You need to ensure that mongo.environmentVariables.executionDriver is set to "../execution/mongo/driver" if you want mongo.enabled to be true.
# You need to ensure that director.environmentVariables.executionDriver is set to "../execution/mongo/driver" if you want mongo.enabled to be true.
enabled: false

mongoDatabase: "sorry-cypress"
Expand Down

0 comments on commit 6809eab

Please sign in to comment.