<reponame>andrsd/civet<filename>client/settings.py

# Copyright 2016 Battelle Energy Alliance, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""
This file will be sourced by the INL client.
Separated out for easier upgrades of the client.
Besides the required settings, you can do any valid ptyhon
to setup the required environment.
REQUIRED:
  SERVERS: a list of servers
  CONFIG_MODULES: A dict of build targets
  ENVIRONMENT: A dict of name value pairs that will be put into the environment
"""

"""
A list of servers to poll.
Each server is tuple:
  url: URL to the server, eg https://localhost
  build_key: Build key assigned by the CIVET server for a user
  certificate: Path to the certificate of the server. If False
              then SSL cert verification is not done.
"""
SERVERS = [('server0', 'build_key', False), ]

"""
dict of build conigs this client polls for.
Each entry conforms to the following:
  key: name of build config. This is assigned to the recipe on the CIVET server.
  value: list of modules to load before running the job.
"""
CONFIG_MODULES = {'linux-gnu': ['moose-dev-gcc'],
#    'linux-clang': ['moose-dev-clang'],
#    'linux-valgrind': ['moose-dev-gcc'],
#    'linux-gnu-coverage': ['moose-dev-gcc'],
#    'linux-intel': ['moose-dev-intel'],
#    'linux-gnu-timing': ['moose-dev-gcc'],
    }

ENVIRONMENT = {
    "MAKE_JOBS": "16",
    "MAX_MAKE_LOAD": "16",
    "TEST_JOBS": "16",
    "MAX_TEST_LOAD": "16",
    "NUM_JOBS": "8",
    "MOOSE_JOBS": "8",
    }

NUM_CLIENTS = 1

# Copyright 2016 Battelle Energy Alliance, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""
This file will be sourced by the INL client.
Separated out for easier upgrades of the client.
Besides the required settings, you can do any valid ptyhon
to setup the required environment.
REQUIRED:
  SERVERS: a list of servers
  CONFIG_MODULES: A dict of build targets
  ENVIRONMENT: A dict of name value pairs that will be put into the environment
"""

"""
A list of servers to poll.
Each server is tuple:
  url: URL to the server, eg https://localhost
  build_key: Build key assigned by the CIVET server for a user
  certificate: Path to the certificate of the server. If False
              then SSL cert verification is not done.
"""
SERVERS = [('server0', 'build_key', False), ]

"""
dict of build conigs this client polls for.
Each entry conforms to the following:
  key: name of build config. This is assigned to the recipe on the CIVET server.
  value: list of modules to load before running the job.
"""
CONFIG_MODULES = {'linux-gnu': ['moose-dev-gcc'],
#    'linux-clang': ['moose-dev-clang'],
#    'linux-valgrind': ['moose-dev-gcc'],
#    'linux-gnu-coverage': ['moose-dev-gcc'],
#    'linux-intel': ['moose-dev-intel'],
#    'linux-gnu-timing': ['moose-dev-gcc'],
    }

ENVIRONMENT = {
    "MAKE_JOBS": "16",
    "MAX_MAKE_LOAD": "16",
    "TEST_JOBS": "16",
    "MAX_TEST_LOAD": "16",
    "NUM_JOBS": "8",
    "MOOSE_JOBS": "8",
    }

NUM_CLIENTS = 1
# Copyright 2016 Battelle Energy Alliance, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # #     http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. This file will be sourced by the INL client. Separated out for easier upgrades of the client. Besides the required settings, you can do any valid ptyhon to setup the required environment. REQUIRED:   SERVERS: a list of servers   CONFIG_MODULES: A dict of build targets   ENVIRONMENT: A dict of name value pairs that will be put into the environment A list of servers to poll. Each server is tuple:   url: URL to the server, eg https://localhost   build_key: Build key assigned by the CIVET server for a user   certificate: Path to the certificate of the server. If False               then SSL cert verification is not done. dict of build conigs this client polls for. Each entry conforms to the following:   key: name of build config. This is assigned to the recipe on the CIVET server.   value: list of modules to load before running the job. #    'linux-clang': ['moose-dev-clang'], #    'linux-valgrind': ['moose-dev-gcc'], #    'linux-gnu-coverage': ['moose-dev-gcc'], #    'linux-intel': ['moose-dev-intel'], #    'linux-gnu-timing': ['moose-dev-gcc'],