-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #941 from OpenSourceBrain/feature/biomodels
Feature/biomodels
- Loading branch information
Showing
42 changed files
with
2,183 additions
and
280 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name: Build and Deploy OSBv2 to Dev | ||
on: | ||
push: | ||
branches: [ develop, release/* ] | ||
|
||
jobs: | ||
prepare: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: actions/checkout@v2 | ||
name: Post main clone | ||
with: | ||
name: MetaCell/cloud-harness | ||
ref: ${{ vars.CLOUDHARNESS_BRANCH || 'master' }} | ||
|
||
- uses: actions/setup-python@v5 | ||
with: | ||
python-version: '3.9' | ||
- name: Prepare helm chart | ||
run: | | ||
bash cloud-harness/install.sh | ||
harness-deployment cloud-harness . -d ${{vars.DOMAIN}} -r ${{vars.REGISTRY}} -rs ${{secrets.REGISTRY_SECRET}} | ||
-n ${{vars.NAMESPACE}} --write-env -e dev -i osb-portal | ||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: env_vars_to_export | ||
path: deployment/.env | ||
build-base-images: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Build the Docker image | ||
run: | | ||
cd applications/nwb-explorer | ||
docker build -t mynwbexplorer -f Dockerfile --no-cache . | ||
- name: Deploy to Dev | ||
uses: MetaCell/deploy-osbv2@v1 | ||
with: | ||
environment: dev | ||
service: nwbexplorer | ||
port: 80 | ||
dependencies: jupyterhub | ||
git: | ||
|
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,3 @@ | ||
harness: | ||
deployment: | ||
image: gcr.io/metacellllc/osb/netpyne:0.7.6.2 |
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,3 @@ | ||
harness: | ||
deployment: | ||
image: gcr.io/metacellllc/osb/netpyne:0.7.6.2 |
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,5 @@ | ||
harness: | ||
deployment: | ||
image: gcr.io/metacellllc/osb/nwb-explorer:0.7.6.2 | ||
dependencies: {} | ||
|
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
96 changes: 96 additions & 0 deletions
96
applications/osb-portal/src/apiclient/workspaces/models/BiomodelsRepositoryResource.ts
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,96 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* OSB Workspaces manager API | ||
* Opensource Brain Platform - Reference Workspaces manager API | ||
* | ||
* The version of the OpenAPI document: 0.2.0 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { exists, mapValues } from '../runtime'; | ||
import { | ||
RepositoryResourceBase, | ||
RepositoryResourceBaseFromJSON, | ||
RepositoryResourceBaseFromJSONTyped, | ||
RepositoryResourceBaseToJSON, | ||
} from './'; | ||
|
||
/** | ||
* figshare repository resource | ||
* @export | ||
* @interface BiomodelsRepositoryResource | ||
*/ | ||
export interface BiomodelsRepositoryResource { | ||
/** | ||
* file name | ||
* @type {string} | ||
* @memberof BiomodelsRepositoryResource | ||
*/ | ||
name?: string; | ||
/** | ||
* Download URL of the Resource | ||
* @type {string} | ||
* @memberof BiomodelsRepositoryResource | ||
*/ | ||
path?: string; | ||
/** | ||
* OSB Repository id | ||
* @type {number} | ||
* @memberof BiomodelsRepositoryResource | ||
*/ | ||
osbrepositoryId?: number; | ||
/** | ||
* File size in bytes of the RepositoryResource | ||
* @type {number} | ||
* @memberof BiomodelsRepositoryResource | ||
*/ | ||
size?: number; | ||
/** | ||
* Date/time the ReposityResource is last modified | ||
* @type {Date} | ||
* @memberof BiomodelsRepositoryResource | ||
*/ | ||
timestampModified?: Date; | ||
} | ||
|
||
export function BiomodelsRepositoryResourceFromJSON(json: any): BiomodelsRepositoryResource { | ||
return BiomodelsRepositoryResourceFromJSONTyped(json, false); | ||
} | ||
|
||
export function BiomodelsRepositoryResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): BiomodelsRepositoryResource { | ||
if ((json === undefined) || (json === null)) { | ||
return json; | ||
} | ||
return { | ||
|
||
'name': !exists(json, 'name') ? undefined : json['name'], | ||
'path': !exists(json, 'path') ? undefined : json['path'], | ||
'osbrepositoryId': !exists(json, 'osbrepository_id') ? undefined : json['osbrepository_id'], | ||
'size': !exists(json, 'size') ? undefined : json['size'], | ||
'timestampModified': !exists(json, 'timestamp_modified') ? undefined : (new Date(json['timestamp_modified'])), | ||
}; | ||
} | ||
|
||
export function BiomodelsRepositoryResourceToJSON(value?: BiomodelsRepositoryResource | null): any { | ||
if (value === undefined) { | ||
return undefined; | ||
} | ||
if (value === null) { | ||
return null; | ||
} | ||
return { | ||
|
||
'name': value.name, | ||
'path': value.path, | ||
'osbrepository_id': value.osbrepositoryId, | ||
'size': value.size, | ||
'timestamp_modified': value.timestampModified === undefined ? undefined : (value.timestampModified.toISOString()), | ||
}; | ||
} | ||
|
||
|
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
1 change: 1 addition & 0 deletions
1
applications/osb-portal/src/apiclient/workspaces/models/index.ts
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
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
6.2.1 | ||
5.1.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
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ | |
"flask_cors", | ||
"sentry-sdk", | ||
"responses==0.22.0", | ||
"jinja2<3.1.0" | ||
"jinja2<3.2.0" | ||
] | ||
|
||
setup( | ||
|
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
Oops, something went wrong.