diff --git a/.coveragerc b/.coveragerc deleted file mode 100644 index 5e5569220..000000000 --- a/.coveragerc +++ /dev/null @@ -1,9 +0,0 @@ -[run] -source = muranodashboard -omit = - .tox/* - muranodashboard/tests/* - muranodashboard/local/* - -[report] -ignore_errors = True diff --git a/.eslintrc b/.eslintrc deleted file mode 100644 index 80f501cc1..000000000 --- a/.eslintrc +++ /dev/null @@ -1,62 +0,0 @@ -# For a detailed list of all options please see here: -# http://eslint.org/docs/configuring/ - -extends: openstack - -env: -# Use jquery global variables - jquery: true - browser: true - -globals: - # allow accessing horizon - horizon: false - - # allow passing TENANT_ID from django templates - TENANT_ID: false - -# Below we adjust rules specific to horizon's usage of openstack's linting -# rules, and its own plugin inclusions. -rules: - ############################################################################# - # Disabled Rules from eslint-config-openstack - ############################################################################# - valid-jsdoc: [1, { - requireParamDescription: false - }] - no-undefined: 1 - brace-style: 1 - no-extra-parens: 1 - callback-return: 1 - block-scoped-var: 1 - quote-props: 0 - space-in-parens: 1 - no-use-before-define: 1 - no-unneeded-ternary: 1 - -# Only support ECMA5, disable everything else. -# NOTE(kzaitsev): blatantly copied from horizon -ecmaFeatures: - arrowFunctions: false - binaryLiterals: false - blockBindings: false - classes: false - defaultParams: false - destructuring: false - forOf: false - generators: false - modules: false - objectLiteralComputedProperties: false - objectLiteralDuplicateProperties: false - objectLiteralShorthandMethods: false - objectLiteralShorthandProperties: false - octalLiterals: false - regexUFlag: false - regexYFlag: false - restParams: false - spread: false - superInFunctions: false - templateStrings: false - unicodeCodePointEscapes: false - globalReturn: false - jsx: false diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 134e3d170..000000000 --- a/.gitignore +++ /dev/null @@ -1,41 +0,0 @@ -eggs/ -.eggs/ -develop-eggs/ -*.egg-info/ -*.egg -*~ -*.orig -*.pyc -*.swp -.environment_version -.selenium_log -.coverage* -.noseids -.idea -.tox -coverage.xml -pep8.txt -pylint.txt -reports -muranodashboard/local/local_settings.py -muranodashboard/settings.py -/static/ -doc/build/ -doc/source/sourcecode -build -dist -cover - -# Ignore i18n compiled files -*.mo - -# Autogenerated Documentation -doc/source/api - -# Tests -muranodashboard/tests/functional/config/config.conf -node_modules -npm-debug.log - -# RElease NOtes -releasenotes/build diff --git a/.zuul.yaml b/.zuul.yaml deleted file mode 100644 index 80e3f49d3..000000000 --- a/.zuul.yaml +++ /dev/null @@ -1,37 +0,0 @@ -- project: - templates: - - check-requirements - - horizon-non-primary-django-jobs - - horizon-nodejs-jobs - - openstack-cover-jobs-horizon - - openstack-python3-jobs-horizon - - release-notes-jobs-python3 - check: - jobs: - - murano-dashboard-sanity-check - -- job: - name: murano-dashboard-sanity-check - parent: legacy-dsvm-base - run: playbooks/legacy/murano-dashboard-sanity-check/run.yaml - post-run: playbooks/legacy/murano-dashboard-sanity-check/post.yaml - irrelevant-files: - - ^(test-|)requirements.txt$ - - ^setup.cfg$ - - ^doc/.*$ - - ^.*\.rst$ - - ^releasenotes/.*$ - - ^tools/.*$ - - ^muranodashboard/locale/.*$ - - ^muranodashboard/tests/unit/.*$ - voting: false - timeout: 10800 - required-projects: - - openstack/devstack-gate - - openstack/heat - - openstack/murano - - openstack/murano-dashboard - - openstack/python-heatclient - - openstack/python-muranoclient - - openstack/horizon - - openstack/heat-dashboard diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst deleted file mode 100644 index f019a9ddc..000000000 --- a/CONTRIBUTING.rst +++ /dev/null @@ -1,19 +0,0 @@ -The source repository for this project can be found at: - - https://opendev.org/openstack/murano-dashboard - -Pull requests submitted through GitHub are not monitored. - -To start contributing to OpenStack, follow the steps in the contribution guide -to set up and use Gerrit: - - https://docs.openstack.org/contributors/code-and-documentation/quick-start.html - -Bugs should be filed on Launchpad: - - https://bugs.launchpad.net/murano - -For more specific information about contributing to this repository, see the -murano dashbaord contributor guide: - - https://docs.openstack.org/murano/latest/contributor/contributing.html diff --git a/HACKING.rst b/HACKING.rst deleted file mode 100644 index f95796ffc..000000000 --- a/HACKING.rst +++ /dev/null @@ -1,11 +0,0 @@ -Murano Dashboard Style Commandments -=================================== - -*- Step 1: Read the OpenStack Style Commandments - https://docs.openstack.org/hacking/latest/ - -* Step 2: Read [hacking] section in tox.ini to find the list of names which - can be imported directly without triggering the "H302: import only modules" - flake8 warning - -* Step 3: Read on diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 68c771a09..000000000 --- a/LICENSE +++ /dev/null @@ -1,176 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - diff --git a/README.rst b/README.rst index 6c58942ce..4ee2c5f13 100644 --- a/README.rst +++ b/README.rst @@ -1,45 +1,10 @@ -======================== -Team and repository tags -======================== +This project is no longer maintained. -.. image:: https://governance.openstack.org/tc/badges/murano-dashboard.svg - :target: https://governance.openstack.org/tc/reference/tags/index.html +The contents of this repository are still available in the Git +source code management system. To see the contents of this +repository before it reached its end of life, please check out the +previous commit with "git checkout HEAD^1". -.. Change things from this point on - -Murano -====== - -Murano Project introduces an application catalog, which allows application -developers and cloud administrators to publish various cloud-ready -applications in a browsable categorised catalog. Cloud users, -including inexperienced ones, can then use the catalog to -compose reliable application environments with the push of a button. - -Murano Dashboard ----------------- -Murano Dashboard is an extension for OpenStack Dashboard that provides a UI for -Murano. With murano-dashboard, a user is able to easily manage and control -an application catalog, running applications and created environments alongside -with all other OpenStack resources. - -For developer purposes, please symlink the following OpenStack Dashboard plugin -files: - -* ``muranodashboard/local/enabled/*.py`` into - ``horizon/openstack_dashboard/local/enabled/`` -* ``muranodashboard/local/local_settings.d/_50_murano.py`` into - ``horizon/openstack_dashboard/local/local_settings.d/_50_murano.py`` -* ``muranodashboard/conf/murano_policy.json`` into - ``horizon/openstack_dashboard/conf/`` - -re-compress static assets and restart Horizon web-server as usual. - -Project Resources ------------------ - -* `Murano at Launchpad `_ -* `Wiki `_ -* `Code Review `_ -* `Sources `_ -* `Documentation `_ +For any further questions, please email +openstack-discuss@lists.openstack.org or join #openstack-dev on +OFTC. diff --git a/babel-django.cfg b/babel-django.cfg deleted file mode 100644 index 9a8ac3b83..000000000 --- a/babel-django.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[python: **.py] -[django: **/templates/**.html] diff --git a/babel-djangojs.cfg b/babel-djangojs.cfg deleted file mode 100644 index b92caf627..000000000 --- a/babel-djangojs.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[javascript: **.js] -[angular: **/static/**.html] diff --git a/doc/requirements.txt b/doc/requirements.txt deleted file mode 100644 index 0b2e1c634..000000000 --- a/doc/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -openstackdocstheme>=2.2.1 # Apache-2.0 -sphinx>=2.0.0,!=2.1.0 # BSD -reno>=3.1.0 # Apache-2.0 diff --git a/doc/source/_static/.placeholder b/doc/source/_static/.placeholder deleted file mode 100755 index e69de29bb..000000000 diff --git a/doc/source/_theme/theme.conf b/doc/source/_theme/theme.conf deleted file mode 100755 index e87486999..000000000 --- a/doc/source/_theme/theme.conf +++ /dev/null @@ -1,2 +0,0 @@ -[theme] -inherit = default diff --git a/doc/source/conf.py b/doc/source/conf.py deleted file mode 100644 index 2d221a917..000000000 --- a/doc/source/conf.py +++ /dev/null @@ -1,220 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2010 OpenStack Foundation. -# -# 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. - -# -# Portas documentation build configuration file, created by -# sphinx-quickstart on Tue February 28 13:50:15 2013. -# -# This file is execfile()'d with the current directory set to its containing -# dir. -# -# Note that not all possible configuration values are present in this -# autogenerated file. -# -# All configuration values have a default; values that are commented out -# serve to show the default. - -import os -import sys - -# If extensions (or modules to document with autodoc) are in another directory, -# add these directories to sys.path here. If the directory is relative to the -# documentation root, use os.path.abspath to make it absolute, like shown here. -sys.path = [os.path.abspath('../../muranodashboard'), - os.path.abspath('../..')] + sys.path - -# -- General configuration --------------------------------------------------- - -# Add any Sphinx extension module names here, as strings. They can be -# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['sphinx.ext.autodoc', - 'sphinx.ext.intersphinx', - 'sphinx.ext.coverage', - 'sphinx.ext.ifconfig', - 'sphinx.ext.graphviz', - 'openstackdocstheme'] - -# Add any paths that contain templates here, relative to this directory. -templates_path = [] - -# The suffix of source filenames. -source_suffix = '.rst' - -# The encoding of source files. -#source_encoding = 'utf-8' - -# The master toctree document. -master_doc = 'index' - -# General information about the project. -copyright = u'OpenStack Foundation' - -# The language for content autogenerated by Sphinx. Refer to documentation -# for a list of supported languages. -#language = None - -# There are two options for replacing |today|: either, you set today to some -# non-false value, then it is used: -#today = '' -# Else, today_fmt is used as the format for a strftime call. -#today_fmt = '%B %d, %Y' - -# List of documents that shouldn't be included in the build. -#unused_docs = [] - -# List of directories, relative to source directory, that shouldn't be searched -# for source files. -exclude_trees = ['api'] - -# The reST default role (for this markup: `text`) to use for all documents. -#default_role = None - -# If true, '()' will be appended to :func: etc. cross-reference text. -#add_function_parentheses = True - -# If true, the current module name will be prepended to all description -# unit titles (such as .. function::). -#add_module_names = True - -# If true, sectionauthor and moduleauthor directives will be shown in the -# output. They are ignored by default. -show_authors = True - -# The name of the Pygments (syntax highlighting) style to use. -pygments_style = 'native' - -# A list of ignored prefixes for module index sorting. -modindex_common_prefix = ['muranodashboard.'] - -# -- Options for man page output -------------------------------------------- - -# Grouping the document tree for man pages. -# List of tuples 'sourcefile', 'target', u'title', u'Authors name', 'manual' - -man_pages = [] - - -# -- Options for HTML output ------------------------------------------------- - -# The theme to use for HTML and HTML Help pages. Major themes that come with -# Sphinx are currently 'default' and 'sphinxdoc'. -html_theme_path = ["."] -html_theme = 'openstackdocs' - -# openstackdocstheme options -openstackdocs_repo_name = 'openstack/murano-dashboard' -openstackdocs_bug_project = 'murano' -openstackdocs_bug_tag = '' - -# Theme options are theme-specific and customize the look and feel of a theme -# further. For a list of options available for each theme, see the -# documentation. -#html_theme_options = {} - -# Add any paths that contain custom themes here, relative to this directory. -#html_theme_path = ['_theme'] - -# The name for this set of Sphinx documents. If None, it defaults to -# " v documentation". -#html_title = None - -# A shorter title for the navigation bar. Default is the same as html_title. -#html_short_title = None - -# The name of an image file (relative to this directory) to place at the top -# of the sidebar. -#html_logo = None - -# The name of an image file (within the static path) to use as favicon of the -# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 -# pixels large. -#html_favicon = None - -# Add any paths that contain custom static files (such as style sheets) here, -# relative to this directory. They are copied after the builtin static files, -# so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] - -# If true, SmartyPants will be used to convert quotes and dashes to -# typographically correct entities. -#html_use_smartypants = True - -# Custom sidebar templates, maps document names to template names. -#html_sidebars = {} - -# Additional templates that should be rendered to pages, maps page names to -# template names. -#html_additional_pages = {} - -# If false, no module index is generated. -html_use_modindex = False - -# If false, no index is generated. -html_use_index = False - -# If true, the index is split into individual pages for each letter. -#html_split_index = False - -# If true, links to the reST sources are added to the pages. -#html_show_sourcelink = True - -# If true, an OpenSearch description file will be output, and all pages will -# contain a tag referring to it. The value of this option must be the -# base URL from which the finished HTML is served. -#html_use_opensearch = '' - -# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = '' - -# Output file base name for HTML help builder. -htmlhelp_basename = 'muranodashboarddoc' - - -# -- Options for LaTeX output ------------------------------------------------ - -# The paper size ('letter' or 'a4'). -#latex_paper_size = 'letter' - -# The font size ('10pt', '11pt' or '12pt'). -#latex_font_size = '10pt' - -# Grouping the document tree into LaTeX files. List of tuples -# (source start file, target name, title, author, -# documentclass [howto/manual]). -latex_documents = [ - ('index', 'Dashboard.tex', u'Dashboard Documentation', - u'Murano Team', 'manual'), -] - -# The name of an image file (relative to this directory) to place at the top of -# the title page. -#latex_logo = None - -# For "manual" documents, if this is true, then toplevel headings are parts, -# not chapters. -#latex_use_parts = False - -# Additional stuff for the LaTeX preamble. -#latex_preamble = '' - -# Documents to append as an appendix to all manuals. -#latex_appendices = [] - -# If false, no module index is generated. -#latex_use_modindex = True - -# Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'python': ('http://docs.python.org/', None)} diff --git a/doc/source/index.rst b/doc/source/index.rst deleted file mode 100644 index f63be4e0f..000000000 --- a/doc/source/index.rst +++ /dev/null @@ -1,65 +0,0 @@ -.. - Copyright 2010 OpenStack Foundation - All Rights Reserved. - - 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. - -================================================ -Welcome to Dashboard, the Murano Project Web UI! -================================================ - -Dashboard is a project that provides Web UI to Murano Project. - -This document describes Murano Dashboard for contributors of the project, and assumes -that you are already familiar with Murano from an `end-user perspective`_. - -.. _`end-user perspective`: http://murano.readthedocs.org/ - -This documentation is generated by the Sphinx toolkit and lives in the source -tree. - -Installation Guide -================== -Install -------- -1. Check out sources to some directory (*/murano-dashboard*):: - - user@work:~/$ git clone https://opendev.org/openstack/murano-dashboard - -2. Install virtualenv:: - - user@work:~/$ cd murano-dashboard && tox -evenv - -Configure ---------- -1. Copy configuration file from template:: - - user@work:~/$ cp murano-dashboard/muranodashboard/local/local_settings.py.example murano-dashboard/muranodashboard/local/local_settings.py - -2. Open configuration file for editing:: - - user@work:~/$ cd murano-dashboard/muranodashboard/local/ && nano local_settings.py - -2. Configure according to you environment:: - - ... - SECRET_KEY = 'some_random_value' - ... - OPENSTACK_HOST = "localhost" - ... - -Run ----- -Run Dashboard in virtualenv:: - - user@work:~/$ cd murano-dashboard && source .tox/bin/activate && python manage.py runserver 0.0.0.0:8080 diff --git a/functional_tests/collect_results.sh b/functional_tests/collect_results.sh deleted file mode 100755 index 26cb7428e..000000000 --- a/functional_tests/collect_results.sh +++ /dev/null @@ -1,31 +0,0 @@ -DEST=${DEST:-/opt/stack/new} -DASHBOARD_DIR=$DEST/murano-dashboard - -function create_artifacts_dir() { - dst="${WORKSPACE}/logs/artifacts" - mkdir -p "${dst}" -} - -function collect_screenshots() { - # Copy screenshots for failed tests - if [[ -d "$DASHBOARD_DIR/muranodashboard/tests/functional/screenshots/" ]]; then - mkdir -p "${WORKSPACE}/logs/artifacts/screenshots" - cp -Rv $DASHBOARD_DIR/muranodashboard/tests/functional/screenshots/* "${WORKSPACE}/logs/artifacts/screenshots/" - fi -} - -function generate_html_report() { - local xml_report="${WORKSPACE}/logs/test_report.xml" - local html_report="${WORKSPACE}/logs/test_report.html" - - if [[ -f "${WORKSPACE}/logs/test_report.xml" ]]; then - $(which python3) "$DASHBOARD_DIR/functional_tests/generate_html_report.py" "${xml_report}" "${html_report}" - cp "${html_report}" "${WORKSPACE}/index.html" - fi -} - -function do_collect_results() { - create_artifacts_dir - collect_screenshots - generate_html_report -} diff --git a/functional_tests/env_pkg_prepare.sh b/functional_tests/env_pkg_prepare.sh deleted file mode 100755 index f1013db33..000000000 --- a/functional_tests/env_pkg_prepare.sh +++ /dev/null @@ -1,24 +0,0 @@ -function prepare_packages() { - - sudo wget https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_46.0.1-0ubuntu1_amd64.deb/download -O firefox46.deb - sudo dpkg -i firefox46.deb - sudo rm -f firefox46.deb - - sudo apt-get update - sudo apt-get install -y \ - libpq-dev \ - python-dev \ - libxml2-dev \ - libxslt1-dev \ - libffi-dev \ - make \ - gcc \ - ntpdate \ - xvfb \ - zip \ - python-openssl \ - python-crypto \ - libgtk-3-0 \ - libasound2 \ - libdbus-glib-1-2 -} diff --git a/functional_tests/generate_html_report.py b/functional_tests/generate_html_report.py deleted file mode 100644 index 0411db952..000000000 --- a/functional_tests/generate_html_report.py +++ /dev/null @@ -1,162 +0,0 @@ -#!/usr/bin/python -# Copyright (c) 2015 Mirantis, Inc. -# -# 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. -# -import jinja2 -import lxml.etree as et -import uuid -import sys -import os -import re - -if not __name__ == "__main__": - sys.exit(1) -if not len(sys.argv) >= 3: - sys.exit(1) -if not os.path.exists(sys.argv[1]): - sys.exit(1) - -LOG_LINE_PATTERN = "^(?P20[0-9]{2}\-[0-9]{2}\-[0-9]{2}) (?P