Skip to content
Snippets Groups Projects
Commit 05056b30 authored by Adrian Ciu's avatar Adrian Ciu
Browse files

esd-spack-installation: package renaming to dedal

parent e44a5fab
No related branches found
No related tags found
No related merge requests found
Pipeline #59310 passed with stages
in 24 minutes and 34 seconds
Showing
with 26 additions and 28 deletions
...@@ -6,7 +6,6 @@ variables: ...@@ -6,7 +6,6 @@ variables:
BUILD_ENV_DOCKER_IMAGE: docker-registry.ebrains.eu/esd/tmp:latest BUILD_ENV_DOCKER_IMAGE: docker-registry.ebrains.eu/esd/tmp:latest
build-wheel: build-wheel:
stage: build stage: build
tags: tags:
...@@ -40,6 +39,5 @@ testing-pytest: ...@@ -40,6 +39,5 @@ testing-pytest:
paths: paths:
- test-results.xml - test-results.xml
- .dedal.log - .dedal.log
- .generate_cache.log
expire_in: 1 week expire_in: 1 week
File moved
import os import os
from pathlib import Path from pathlib import Path
from esd.configuration.GpgConfig import GpgConfig from dedal.configuration.GpgConfig import GpgConfig
from esd.model import SpackDescriptor from dedal.model import SpackDescriptor
class SpackConfig: class SpackConfig:
......
File moved
File moved
File moved
File moved
...@@ -2,13 +2,13 @@ import os ...@@ -2,13 +2,13 @@ import os
import re import re
import subprocess import subprocess
from pathlib import Path from pathlib import Path
from esd.error_handling.exceptions import BashCommandException, NoSpackEnvironmentException, \ from dedal.error_handling.exceptions import BashCommandException, NoSpackEnvironmentException, \
SpackInstallPackagesException, SpackConcertizeException, SpackMirrorException, SpackGpgException SpackInstallPackagesException, SpackConcertizeException, SpackMirrorException, SpackGpgException
from esd.logger.logger_builder import get_logger from dedal.logger.logger_builder import get_logger
from esd.configuration.SpackConfig import SpackConfig from dedal.configuration.SpackConfig import SpackConfig
from esd.tests.testing_variables import SPACK_VERSION from dedal.tests.testing_variables import SPACK_VERSION
from esd.wrapper.spack_wrapper import check_spack_env from dedal.wrapper.spack_wrapper import check_spack_env
from esd.utils.utils import run_command, git_clone_repo, log_command, set_bashrc_variable from dedal.utils.utils import run_command, git_clone_repo, log_command, set_bashrc_variable
class SpackOperation: class SpackOperation:
......
from esd.configuration.SpackConfig import SpackConfig from dedal.configuration.SpackConfig import SpackConfig
from esd.spack_factory.SpackOperation import SpackOperation from dedal.spack_factory.SpackOperation import SpackOperation
from esd.spack_factory.SpackOperationUseCache import SpackOperationUseCache from dedal.spack_factory.SpackOperationUseCache import SpackOperationUseCache
class SpackOperationCreator: class SpackOperationCreator:
......
import os import os
from esd.build_cache.BuildCacheManager import BuildCacheManager from dedal.build_cache.BuildCacheManager import BuildCacheManager
from esd.logger.logger_builder import get_logger from dedal.logger.logger_builder import get_logger
from esd.spack_factory.SpackOperation import SpackOperation from dedal.spack_factory.SpackOperation import SpackOperation
from esd.configuration.SpackConfig import SpackConfig from dedal.configuration.SpackConfig import SpackConfig
class SpackOperationUseCache(SpackOperation): class SpackOperationUseCache(SpackOperation):
......
File moved
from pathlib import Path from pathlib import Path
import pytest import pytest
from esd.configuration.SpackConfig import SpackConfig from dedal.configuration.SpackConfig import SpackConfig
from esd.error_handling.exceptions import BashCommandException, NoSpackEnvironmentException from dedal.error_handling.exceptions import BashCommandException, NoSpackEnvironmentException
from esd.spack_factory.SpackOperationCreator import SpackOperationCreator from dedal.spack_factory.SpackOperationCreator import SpackOperationCreator
from esd.model.SpackDescriptor import SpackDescriptor from dedal.model.SpackDescriptor import SpackDescriptor
from esd.tests.testing_variables import test_spack_env_git, ebrains_spack_builds_git from dedal.tests.testing_variables import test_spack_env_git, ebrains_spack_builds_git
from esd.utils.utils import file_exists_and_not_empty from dedal.utils.utils import file_exists_and_not_empty
def test_spack_repo_exists_1(): def test_spack_repo_exists_1():
......
import pytest import pytest
from esd.spack_factory.SpackOperation import SpackOperation from dedal.spack_factory.SpackOperation import SpackOperation
from esd.tests.testing_variables import SPACK_VERSION from dedal.tests.testing_variables import SPACK_VERSION
# run this test first so that spack is installed only once for all the tests # run this test first so that spack is installed only once for all the tests
......
import pytest import pytest
from pathlib import Path from pathlib import Path
from dedal.utils.utils import clean_up from dedal.utils.utils import clean_up, file_exists_and_not_empty
@pytest.fixture @pytest.fixture
......
...@@ -4,7 +4,7 @@ import shutil ...@@ -4,7 +4,7 @@ import shutil
import subprocess import subprocess
from pathlib import Path from pathlib import Path
from esd.error_handling.exceptions import BashCommandException from dedal.error_handling.exceptions import BashCommandException
import re import re
......
File moved
import functools import functools
from esd.error_handling.exceptions import NoSpackEnvironmentException from dedal.error_handling.exceptions import NoSpackEnvironmentException
def check_spack_env(method): def check_spack_env(method):
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment