Skip to content

Commit

Permalink
fix: flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
xgui3783 committed Nov 23, 2023
1 parent 7e0a915 commit fab6700
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 14 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/dockerimage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,3 @@ jobs:
echo Pushing image
docker push $FULL_TAG
echo Pushing image successful
5 changes: 1 addition & 4 deletions .helm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ pod_name=$(kubectl get pod -l app=busy-box -o jsonpath="{.items[0].metadata.name

for f in $(find /volatile/hbp-spatial-transformations-data/)
do

kubectl cp $f $pod_name:/static-data/${f#/volatile/hbp-spatial-transformations-data/}
done
```

3/ Start application with `helm install prod .helm/hbp_spatial_backend`



2 changes: 1 addition & 1 deletion .helm/adhoc/certificate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ spec:
renewBefore: 120h
secretName: siibra-spatial-backend-secret
usages:
- server auth
- server auth
3 changes: 0 additions & 3 deletions .helm/adhoc/deployment-busybox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,3 @@ spec:
volumeMounts:
- mountPath: /static-data
name: data-volume



2 changes: 1 addition & 1 deletion .helm/adhoc/pvc-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ spec:
requests:
storage: 40Gi
accessModes:
- ReadWriteMany
- ReadWriteMany
4 changes: 2 additions & 2 deletions .helm/hbp_spatial_backend/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ ingress:
paths:
- path: /
pathType: ImplementationSpecific
tls:
tls:
- secretName: siibra-spatial-backend-secret
hosts:
- siibra-spatial-backend.apps.tc.humanbrainproject.eu
Expand Down Expand Up @@ -89,7 +89,7 @@ volumes:
name: siibra-spatial-backend

# Additional volumeMounts on the output Deployment definition.
volumeMounts:
volumeMounts:
- mountPath: /static-data
name: data-volume
- mountPath: /instance
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def find_source_url(*file_paths):
# see https://github.com/yaml/pyyaml/issues/723
# see https://github.com/yaml/pyyaml/issues/724
"PyYAML ~= 6.0.1",
# see https://stackoverflow.com/questions/72191560/importerror-cannot-import-name-soft-unicode-from-markupsafe
# see https://stackoverflow.com/questions/72191560/importerror-cannot-import-name-soft-unicode-from-markupsafe # noqa: E501
"markupsafe==2.0.1",
],
python_requires="~= 3.5",
Expand Down

0 comments on commit fab6700

Please sign in to comment.