Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update jest monorepo #33

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: local
patrickleet committed Oct 31, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit a0c0bc534e6d818b2f7c2b3b3fd1419b7669d72a
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ deploy-to-local-cluster:
kubectl ctx $(LOCAL_DEV_CLUSTER)
helm template ./charts/$(SERVICE_NAME)/ \
-f ./charts/$(SERVICE_NAME)/values.yaml \
--set image.repository=dev.local/$(SERVICE_NAME),image.tag=$(NOW),knative.eventing.local=true,knative.eventing.subscriber=http://host.docker.internal:5010 \
--set image.repository=dev.local/$(SERVICE_NAME),image.tag=$(NOW),knative.eventing.local=true,localKnativeSubscriber=http://host.docker.internal:5010 \
| kubectl apply -f -

delete-local-deployment:
4 changes: 1 addition & 3 deletions helm/templates/external-secret-example-hasura.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{{- if .Values.localDev }}
{{- else }}
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
@@ -15,4 +13,4 @@ spec:
dataFrom:
- extract:
key: /example-hasura
{{- end }}

2 changes: 1 addition & 1 deletion helm/templates/ksvc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.knative.eventing.local }}
{{- if .Values.local }}
{{- else }}
apiVersion: serving.knative.dev/v1
kind: Service
4 changes: 2 additions & 2 deletions helm/templates/todo.completed.yaml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ spec:
attributes:
type: todo.completed
subscriber:
{{- if .Values.knative.eventing.local }}
uri: {{ .Values.knative.eventing.subscriber }}/cloudevent/todo.completed
{{- if .Values.local }}
uri: {{ .Values.localKnativeSubscriber }}/cloudevent/todo.completed
{{- else }}
ref:
{{- if .Values.knativeDeploy }}
4 changes: 2 additions & 2 deletions helm/templates/todo.initialized.yaml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ spec:
attributes:
type: todo.initialized
subscriber:
{{- if .Values.knative.eventing.local }}
uri: {{ .Values.knative.eventing.subscriber }}/cloudevent/todo.initialized
{{- if .Values.local }}
uri: {{ .Values.localKnativeSubscriber }}/cloudevent/todo.initialized
{{- else }}
ref:
{{- if .Values.knativeDeploy }}
4 changes: 2 additions & 2 deletions helm/templates/todo.removed.yaml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ spec:
attributes:
type: todo.removed
subscriber:
{{- if .Values.knative.eventing.local }}
uri: {{ .Values.knative.eventing.subscriber }}/cloudevent/todo.removed
{{- if .Values.local }}
uri: {{ .Values.localKnativeSubscriber }}/cloudevent/todo.removed
{{- else }}
ref:
{{- if .Values.knativeDeploy }}
4 changes: 2 additions & 2 deletions helm/templates/todo.reopened.yaml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ spec:
attributes:
type: todo.reopened
subscriber:
{{- if .Values.knative.eventing.local }}
uri: {{ .Values.knative.eventing.subscriber }}/cloudevent/todo.reopened
{{- if .Values.local }}
uri: {{ .Values.localKnativeSubscriber }}/cloudevent/todo.reopened
{{- else }}
ref:
{{- if .Values.knativeDeploy }}
4 changes: 2 additions & 2 deletions helm/templates/web3auth.user-created.yaml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ spec:
attributes:
type: web3auth.user-created
subscriber:
{{- if .Values.knative.eventing.local }}
uri: {{ .Values.knative.eventing.subscriber }}/cloudevent/web3auth.user-created
{{- if .Values.local }}
uri: {{ .Values.localKnativeSubscriber }}/cloudevent/web3auth.user-created
{{- else }}
ref:
{{- if .Values.knativeDeploy }}
4 changes: 2 additions & 2 deletions helm/templates/web3auth.user-updated.yaml
Original file line number Diff line number Diff line change
@@ -10,8 +10,8 @@ spec:
attributes:
type: web3auth.user-updated
subscriber:
{{- if .Values.knative.eventing.local }}
uri: {{ .Values.knative.eventing.subscriber }}/cloudevent/web3auth.user-updated
{{- if .Values.local }}
uri: {{ .Values.localKnativeSubscriber }}/cloudevent/web3auth.user-updated
{{- else }}
ref:
{{- if .Values.knativeDeploy }}
5 changes: 2 additions & 3 deletions helm/values.yaml
Original file line number Diff line number Diff line change
@@ -40,7 +40,6 @@ knativeDeploy: true
knative:
minScale: 1
maxScale: 3
eventing:
local:
subsciber:

local: true
localKnativeSubscriber: http://host.docker.internal:5010