-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into segmentation-data-loading-fix
- Loading branch information
Showing
5 changed files
with
10 additions
and
13 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 |
---|---|---|
|
@@ -9,6 +9,8 @@ jobs: | |
DJANGO_SUPERUSER_PASSWORD: django-password | ||
DJANGO_SUPERUSER_USERNAME: admin | ||
DJANGO_SUPERUSER_EMAIL: [email protected] | ||
CICD_PUBLIC_USER: ${{ secrets.CICD_PUBLIC_USER }} | ||
CICD_PUBLIC_PASSWORD: ${{ secrets.CICD_PUBLIC_PASSWORD }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
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 |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
"DJANGO_CORS_ORIGIN_REGEX_WHITELIST": "", | ||
"DJANGO_CORS_ORIGIN_WHITELIST": "https://www.shapeworks-cloud.org", | ||
"DJANGO_HOMEPAGE_REDIRECT_URL": "https://www.shapeworks-cloud.org", | ||
"DJANGO_DEFAULT_FROM_EMAIL": "admin@app.shapeworks-cloud.org", | ||
"DJANGO_DEFAULT_FROM_EMAIL": "[email protected]", | ||
"DJANGO_STORAGE_BUCKET_NAME": "shapeworks-cloud-storage", | ||
"SSL_CERT_DIR": "/etc/ssl/certs" | ||
} |
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 |
---|---|---|
|
@@ -49,18 +49,11 @@ def is_same(dir1, dir2): | |
|
||
def public_server_download(download_dir): | ||
with swcc_session() as public_server_session: | ||
public_server_session.login('[email protected]', 'cicdtest') | ||
username = os.getenv('CICD_PUBLIC_USER') | ||
password = os.getenv('CICD_PUBLIC_PASSWORD') | ||
public_server_session.login(username, password) | ||
all_datasets = list(models.Dataset.list()) | ||
dataset_subset = [ | ||
d | ||
for d in all_datasets | ||
if d.name | ||
in [ | ||
'deep_ssm_femur_tiny_test', | ||
'ellipsoid_multiple_domain_tiny_test', | ||
'left_atrium_tiny_test', | ||
] | ||
] | ||
dataset_subset = [d for d in all_datasets if 'CI/CD' in d.keywords] | ||
project_subset = [next(d.projects, None) for d in dataset_subset] | ||
for project in project_subset: | ||
if project is not None: | ||
|
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