Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Commits
2910dac3
Commit
2910dac3
authored
4 years ago
by
Jörn Künsemöller
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/
TMSS-190
' into
TMSS-259
parents
ac7a2529
bddd5374
No related branches found
No related tags found
1 merge request
!284
Resolve TMSS-259
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Docker/lofar-ci/Dockerfile_ci_mac
+1
-1
1 addition, 1 deletion
Docker/lofar-ci/Dockerfile_ci_mac
SAS/TMSS/client/lib/populate.py
+8
-2
8 additions, 2 deletions
SAS/TMSS/client/lib/populate.py
with
9 additions
and
3 deletions
Docker/lofar-ci/Dockerfile_ci_mac
+
1
−
1
View file @
2910dac3
...
...
@@ -11,7 +11,7 @@ ARG BASE_VERSION=latest
FROM ci_base:$BASE_VERSION
RUN echo "Installing packages for MAC..." && \
yum -y install readline-devel boost-python36-devel hdf5-devel blas-devel lapack-devel cfitsio-devel wcslib-devel autogen postgresql-devel cmake3 libpqxx-devel qpid-cpp-server qpid-cpp-client-devel
qpid-tools
unittest-cpp-devel jsoncpp-devel jsoncpp libcurl-devel libcurl && \
yum -y install readline-devel boost-python36-devel hdf5-devel blas-devel lapack-devel cfitsio-devel wcslib-devel autogen postgresql-devel cmake3 libpqxx-devel qpid-cpp-server qpid-cpp-client-devel unittest-cpp-devel jsoncpp-devel jsoncpp libcurl-devel libcurl && \
pip3 install psycopg2 testing.postgresql lxml mock numpy kombu requests python-dateutil fabric
RUN echo "Installing WinCC3.14 build and Demo App from Nexus repo..." && \
...
...
This diff is collapsed.
Click to expand it.
SAS/TMSS/client/lib/populate.py
+
8
−
2
View file @
2910dac3
...
...
@@ -84,7 +84,13 @@ def populate_schemas(schema_dir: str=None, templates_filename: str=None):
except
Exception
as
e
:
logger
.
error
(
e
)
# TODO: make parallel upload work. Right now it fails sometimes do to interdependencies and non-determistic upload order.
# do parallel upload
with
ThreadPoolExecutor
()
as
executor
:
executor
.
map
(
upload_template
,
templates
)
# with ThreadPoolExecutor() as executor:
# executor.map(upload_template, templates)
# for now, do sequeltial upload
for
template
in
templates
:
upload_template
(
template
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment