Skip to content

Commit

Permalink
Removed SLC deployer and tests
Browse files Browse the repository at this point in the history
- language_container_deployer_cli.py
- language_container_deployer.py
- test_language_container_deployer_cli.py
- test_language_container_deployer.py
  • Loading branch information
ckunki committed Sep 24, 2024
1 parent 2790467 commit 695e46c
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 341 deletions.
25 changes: 19 additions & 6 deletions exasol_advanced_analytics_framework/deploy.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
import logging
import click
from exasol_advanced_analytics_framework.deployment. \
language_container_deployer_cli import language_container_deployer_main
from exasol_advanced_analytics_framework.deployment. \
scripts_deployer_cli import scripts_deployer_main
from exasol_advanced_analytics_framework.slc import (
SLC_NAME,
SLC_URL_FORMATTER,
)
from exasol_advanced_analytics_framework.deployment import (
scripts_deployer_cli,
language_container_deployer_cli,
)
from exasol.python_extension_common.deployment.language_container_deployer_cli import (
language_container_deployer_main,
slc_parameter_formatters,
CustomizableParameters,
)


@click.group()
def main():
pass


main.add_command(scripts_deployer_main)
main.add_command(language_container_deployer_main)
slc_parameter_formatters.set_formatter(CustomizableParameters.container_url, SLC_URL_FORMATTER)
slc_parameter_formatters.set_formatter(CustomizableParameters.container_name, SLC_NAME)

main.add_command(scripts_deployer_cli.scripts_deployer_main)
main.add_command(language_container_deployer_cli.language_container_deployer_main)


if __name__ == '__main__':
logging.basicConfig(
Expand Down

This file was deleted.

This file was deleted.

2 changes: 2 additions & 0 deletions exasol_advanced_analytics_framework/slc.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
import subprocess

LANGUAGE_ALIAS = "PYTHON3_AAF"
SLC_NAME = "exasol_advanced_analytics_framework_container.tar.gz"
SLC_URL_FORMATTER = "https://github.com/exasol/advanced_analytics_framework/releases/download/{version}/" + SLC_NAME


# Can be removed as soon as new version of PEC is available
Expand Down
11 changes: 0 additions & 11 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,3 @@ def run_python_integration_tests_with_db(session: Session):
str(integration_test_directory),
*session.posargs,
)


# @nox.session(python=False)
# def x(session: Session):
# session.run(
# "poetry",
# "run",
# "pytest",
# "tests/unit_tests/test_x.py",
# *session.posargs,
# )
59 changes: 0 additions & 59 deletions tests/deployment/test_language_container_deployer.py

This file was deleted.

72 changes: 0 additions & 72 deletions tests/deployment/test_language_container_deployer_cli.py

This file was deleted.

Loading

0 comments on commit 695e46c

Please sign in to comment.