diff --git a/.dockerignore b/.dockerignore index 3fb31d39..ea826de9 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,3 +7,16 @@ .gitignore renovate.json pytest-tests.log +.flake8 +.gitlab-ci.yml +.markdownlint.yaml +.markdownlintignore +.pre-commit-config.yaml +sonar-project.properties +.github +.ruff_cache +include +lib +.gitlint +.dockerignore +.pytest_cache diff --git a/Dockerfile b/Dockerfile index f45fc4eb..9c8f0e0b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ RUN dnf -y install epel-release dnf-plugins-core && \ dnf clean all && \ rm -rf /var/cache/yum -COPY / managed-services-integration-tests/ -WORKDIR managed-services-integration-tests +COPY . /managed-services-integration-tests/ +WORKDIR /managed-services-integration-tests RUN ln -s /usr/bin/python3 /usr/bin/python # GH_HOST is needed as a workaround to access the repository in GitHub diff --git a/pyproject.toml b/pyproject.toml index 8d6757cd..8f1a4a95 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,6 +12,9 @@ name = "managed-services-integration-tests" version = "1.0" description = "managed-services-integration-tests" authors = ["managed-services-integration-tests"] +packages = [ + { include = "*" } +] [tool.poetry.dependencies] python = "^3.9" diff --git a/setup.py b/setup.py deleted file mode 100644 index a3cb3337..00000000 --- a/setup.py +++ /dev/null @@ -1,12 +0,0 @@ -#! /usr/bin/python -from setuptools import find_packages, setup - - -setup( - name="managed-services-integration-tests", - version="1.0", - packages=find_packages(include=["utilities"]), - include_package_data=True, - install_requires=["openshift", "xmltodict", "urllib3"], - python_requires=">=3.6", -)