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

Search updates #2146

Merged
merged 46 commits into from
May 31, 2021
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
0c34482
fix(helm): Improve compatiblity with EKS 1.19
nellh May 12, 2021
403ed7c
fix(helm): Correct zfs-localpv volume balancing
nellh May 18, 2021
33dcdda
updates to landing header and facet refactor
thinknoack May 25, 2021
61f0d57
pixel adjustment for hex bg
thinknoack May 25, 2021
db72edb
front hero cube adjustments
thinknoack May 25, 2021
a6fa63e
weird merge issue and some commit mess fixes
thinknoack May 25, 2021
3777f10
speed up modal exit/hide
thinknoack May 25, 2021
28c6c65
speed up modal exit/hide
thinknoack May 25, 2021
a5cb1ef
adding some placeholder search itmes
thinknoack May 26, 2021
d32399e
update to modal timing
thinknoack May 26, 2021
8763a0e
conflict updates
thinknoack May 26, 2021
0597e3a
update to search and merge master
thinknoack May 26, 2021
5692856
update to search and merge master
thinknoack May 26, 2021
150c9b3
Merge branch 'master' into landingheader
thinknoack May 26, 2021
433fe93
refactor to landing page header
thinknoack May 26, 2021
4a9dfaa
update toggleClick
thinknoack May 26, 2021
16aaf9d
Merge pull request #2142 from OpenNeuroOrg/landingheader
thinknoack May 26, 2021
62db408
merge master
thinknoack May 27, 2021
b83d259
fix(helm): Production configuration fixes for eks 1.19 update
nellh May 27, 2021
3f0e9ba
Merge branch 'helm-1.19-compatibility'
nellh May 27, 2021
fc68e1d
Add endpoints for enabling/disabling features.
david-nishi May 27, 2021
17d9f7a
Enable toggle for feature `redesign_2021`.
david-nishi May 27, 2021
eb198f9
Make feature consistent with enable/disable urls.
david-nishi May 27, 2021
2311e93
Simplify enable/disable urls.
david-nishi May 27, 2021
75b5508
Redesign endpoints redirect to homepage.
david-nishi May 27, 2021
03a60fd
add feature to FeatureToggleProps
david-nishi May 28, 2021
1d80289
Have FeatureToggle return jsx.
david-nishi May 28, 2021
dcf0312
fix(helm): Raise CPU limit for dataset worker container
nellh May 28, 2021
60a871c
Merge pull request #2144 from OpenNeuroOrg/107-feature-flag
nellh May 28, 2021
d68b7de
adding search page and results
thinknoack May 28, 2021
346df91
minor updates for PR 2146
thinknoack May 29, 2021
b7ec7ad
update in props [string] to string[]
thinknoack May 29, 2021
ec33901
update after master merge
thinknoack May 29, 2021
38b551d
adding searchpagecontainer and some other cleanup
thinknoack May 29, 2021
9d77a50
working on adding containers
thinknoack May 29, 2021
4a1415f
refactor and updates to search
thinknoack May 30, 2021
6a0956c
adding array type to children
thinknoack May 30, 2021
5db4912
update to setSeclected on Radio
thinknoack May 31, 2021
252059b
adding mock data for filters block
thinknoack May 31, 2021
99fe342
update labels for filters block
thinknoack May 31, 2021
3e07a2e
update theme variables to use css var
thinknoack May 31, 2021
562a62e
update to invalid and shared icons in result
thinknoack May 31, 2021
6a26d32
updates to radio
thinknoack May 31, 2021
38d242a
spacing for keyword and filters block
thinknoack May 31, 2021
465620d
update font weight for selected facet list item
thinknoack May 31, 2021
62cee07
adding fake load more
thinknoack May 31, 2021
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
97 changes: 12 additions & 85 deletions .pnp.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ Other values which can be overridden are found in the chart version of [values.y

Installing a chart deploys it to a cluster. This creates an initial release by generating the configuration templates and applying them to the cluster.

```bash
# Add an ssh key for GitHub remotes
kubectl create secret generic openneuro-my-dev-ssh-key --from-file=datalad-key=datalad-key
```

```bash
# Make sure you're in the helm directory and run
helm install -f values.yaml -f secrets.yaml openneuro-my-dev openneuro/
Expand Down
5 changes: 3 additions & 2 deletions helm/eksctl-cluster-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ nodeGroups:
preBootstrapCommands:
- apt update
- apt install -y nfs-common zfsutils-linux
- name: storage
- name: storage-m5
amiFamily: Ubuntu2004
instanceType: r5ad.large
instanceType: m5ad.2xlarge
desiredCapacity: 2
labels: { role: storage }
availabilityZones:
- us-west-2b
- us-west-2c
Expand Down
36 changes: 36 additions & 0 deletions helm/manual-old-indexer
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
apiVersion: batch/v1
kind: Job
metadata:
annotations:
cronjob.kubernetes.io/instantiate: manual
name: openneuro-prod-indexer-manual-1
namespace: default
spec:
backoffLimit: 6
completions: 1
parallelism: 1
template:
spec:
containers:
- envFrom:
- configMapRef:
name: openneuro-prod-configmap
- secretRef:
name: openneuro-prod-secret
image: openneuro/indexer:v3.31.1
imagePullPolicy: IfNotPresent
name: openneuro-indexer
resources:
limits:
cpu: 500m
memory: 512Mi
requests:
cpu: 100m
memory: 256Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: OnFailure
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30
2 changes: 1 addition & 1 deletion helm/openneuro/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: OpenNeuro production deployment chart
home: https://openneuro.org
sources:
- https://github.com/openNeuroOrg/openneuro
appVersion: 3.33.2
appVersion: 3.33.5
dependencies:
- name: redis
version: 10.6.17
Expand Down
2 changes: 1 addition & 1 deletion helm/openneuro/templates/api-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
cpu: "1.2"
memory: "2Gi"
requests:
cpu: ".5"
cpu: ".3"
memory: "768Mi"
ports:
- containerPort: 8111
Expand Down
10 changes: 6 additions & 4 deletions helm/openneuro/templates/dataset-worker-stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ spec:
- key: "storage"
operator: "Exists"
effect: "NoSchedule"
nodeSelector:
role: storage
volumes:
- name: ssh-key
secret:
Expand All @@ -44,11 +46,11 @@ spec:
command: ["gunicorn", "--bind", "0.0.0.0:80", "--reload", "datalad_service.app:create_app('/datasets')", "--workers", "8", "--worker-class", "gevent", "--timeout", "60", "--keep-alive", "30"]
resources:
limits:
cpu: "2"
memory: "8Gi"
cpu: "3"
memory: "10Gi"
requests:
cpu: "0.5"
memory: "1Gi"
cpu: "1"
memory: "4Gi"
ports:
- containerPort: 80
envFrom:
Expand Down
65 changes: 46 additions & 19 deletions helm/openneuro/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ .Release.Name }}
Expand All @@ -18,47 +18,74 @@ spec:
http:
paths:
- path: /*
pathType: ImplementationSpecific
backend:
serviceName: www-redirect
servicePort: use-annotation
service:
name: www-redirect
port:
name: use-annotation
- host: {{ .Values.hostname }}
http:
paths:
- path: /*
pathType: ImplementationSpecific
backend:
serviceName: ssl-redirect
servicePort: use-annotation
service:
name: ssl-redirect
port:
name: use-annotation
- path: /graphql-subscriptions
pathType: ImplementationSpecific
backend:
serviceName: {{ .Release.Name }}-api
servicePort: 8111
service:
name: {{ .Release.Name }}-api
port:
number: 8111
- path: /crn/*
pathType: ImplementationSpecific
backend:
serviceName: {{ .Release.Name }}-api
servicePort: 8111
service:
name: {{ .Release.Name }}-api
port:
number: 8111
- path: /sitemap.xml
pathType: ImplementationSpecific
backend:
serviceName: {{ .Release.Name }}-api
servicePort: 8111
service:
name: {{ .Release.Name }}-api
port:
number: 8111
{{- $relname := .Release.Name -}}
{{- range until ( .Values.dataladWorkers | int ) }}
- path: /uploads/{{ . }}/*
pathType: ImplementationSpecific
backend:
serviceName: {{ $relname }}-dataset-worker-{{ . }}
servicePort: 80
service:
name: {{ $relname }}-dataset-worker-{{ . }}
port:
number: 80
{{- end }}
{{- $relname := .Release.Name -}}
{{- range until ( .Values.dataladWorkers | int ) }}
- path: /git/{{ . }}/*
pathType: ImplementationSpecific
backend:
serviceName: {{ $relname }}-dataset-worker-{{ . }}
servicePort: 80
service:
name: {{ $relname }}-dataset-worker-{{ . }}
port:
number: 80
{{- end }}
- path: /intake/*
pathType: ImplementationSpecific
backend:
serviceName: {{ .Release.Name }}-apm-server
servicePort: 8200
service:
name: {{ .Release.Name }}-apm-server
port:
number: 8200
- path: /*
pathType: ImplementationSpecific
backend:
serviceName: {{ .Release.Name }}-web
servicePort: 80
service:
name: {{ .Release.Name }}-web
port:
number: 80
Loading