Commit Graph
1860 Commits
Author SHA1 Message Date
John Chilton 887edb647b Remove no longer valid sample references in scripts/functional_tests.py. 2016-03-29 08:04:21 -04:00
John Chilton e0a9d6b67f De-duplicate code for setting up Galaxy database. 2016-03-29 08:04:21 -04:00
John Chilton 8c857694f3 Synchronize locale handling for test drivers. 2016-03-29 08:04:21 -04:00
John Chilton 34f154d92e Rework upload tool. 2016-03-29 08:04:20 -04:00
John Chilton d0ee53f801 Simplify ignore_files logic in scripts/functional_tests.py.
These details are taken care of by run_tests.sh.
2016-03-29 08:04:20 -04:00
John Chilton 103098c7e4 De-duplicate and simplify launching a webapp for functional tests. 2016-03-29 08:04:20 -04:00
John Chilton b7c75f20a5 Eliminate duplication in waiting for HTTP servers in test drivers. 2016-03-29 08:04:20 -04:00
John Chilton d60fe9f5aa Synchronize static configuration stuff. 2016-03-29 08:04:20 -04:00
John Chilton 173d98484b Eliminate always True variable to simplify test driver logic.
For now, always serve static content with these tests.
2016-03-29 08:04:20 -04:00
John Chilton 55297b75e1 Sync code for retrieving prepopulated databases. 2016-03-29 08:04:20 -04:00
John Chilton 3369dfafa0 Synchronize a bunch of test launch and nose configure stuff. 2016-03-29 08:04:20 -04:00
John Chilton 3cb2bb1c35 Start work on synchronizing functional test drivers.
- Tweak paths in same way.
 - Don't write tool shed temp files to GALAXY_ROOT - respect /tmp.
 - Build identical loggers.
2016-03-29 08:04:19 -04:00
Martin Cech c093c793b7 Merge pull request #1958 from jmchilton/workflow_scheduling_testing
Improvements to workflow scaling performance testing scripts.
2016-03-25 22:32:28 -04:00
John Chilton 85ef86ab2e Improvements to workflow scaling performance testing scripts.
- Implement a wrapper script for launching a docker-galaxy-stable setup a many ways for this task including:
    - Configure container's Galaxy with outer Galaxy's lib and test directory.
    - Collect log files.
    - Log a statement for interacting with the container easily while the test is running.
    - Disable unneeded services.
 - Implement a fan-in-fan-out style workflow for performance testing.
 - Add an option to test performance of scheduling workflows without actually running jobs.
 - Sample tool for creating large collections easily at beginning of tests (much faster than uploads).
 - Sample tool for splitting a file into a collection for fan in and out workflow test.
 - Assume Python 2.7 in scripts to simplify things.
 - Add documentation.
2016-03-21 01:39:45 +00:00
John Chilton eee044aa70 Work toward automating deployment.
Create new makefile targets for release management.

 - ``release-create-issue``: Automates creating a release checklist - https://github.com/jmchilton/galaxy/issues/41)
   Check list contains actual tailored ``make`` commands and links (for PRs and issues).
 - ``release-check-metadata``: Checks milestone PRs for required metadata needed for generating bootstrapped release notes.
 ` ``release-bootstrap-history``: Bootstrap release notes from PRs and metadata.
 - ``release-check-blocking-prs``: Check for PRs blocking release, should happen before branching release and before tagging release.
 - ``release-check-blocking-issues``: Check for Issues blocking release, should happen before tagging release. (Only allowed issue is the release creation issue.)

The issue created with ``release-create-issue`` documents how and when to execute subsequent ``make`` targets (including the target to create the issue for the next release).

This PR contains a bunch of other enhancements to the bootstrap_history.py script to enable these targets and renames ``create_release_rc`` Makefile target so all release related targets start with the prefix ``release-``.

Conflicts:
	Makefile
2016-03-16 15:02:02 +00:00
peterjc 7e5d99ebb2 Update check_python.py now dropping Python 2.6
Closes #1596
2016-03-07 15:50:05 +00:00
Nicola Soranzo 501a10c3f1 Do not import dumps and loads from galaxy.util.json . 2016-03-02 19:04:24 +00:00
John Chilton 94f847b3b2 Merge pull request #1755 from nsoranzo/flake8_fixes
Fix the remaining 1334 flake8 errors in scripts/ .
2016-02-25 08:11:55 -05:00
Nate Coraor 8943a0f86b Add the script I used to create security patches 2016-02-24 16:54:30 -05:00
Nicola Soranzo d85db9daa6 Use __file__ when adding paths to sys.path instead of os.getcwd() .
Also insert additional paths in position 1 unless strictly necessary.
2016-02-18 15:45:15 +00:00
Nicola Soranzo 196d174716 Python 3 support for 3 files. 2016-02-18 15:45:15 +00:00
Nicola Soranzo 93348e7199 Fix the remaining 1334 flake8 errors in scripts/ . Close #391. 2016-02-18 15:45:15 +00:00
Martin Cech db1bb2f191 Merge pull request #1556 from jmchilton/datatype_imports
Code design and legacy cleanup of datatypes and metadata.
2016-02-09 12:44:59 -05:00
Nate Coraor 9551fc07b4 Add the scientific platform (Scientific Linux) as binary compatible
with RHEL.
2016-02-03 13:33:42 -05:00
Nate Coraor 04af1ae1c6 Always use the python hashlib for verifying the virtualenv download in
common_startup.sh rather than attempting to use sha256sum. Older
versions of coreutils (such as in RHEL 6) did not include the --strict
argument to sha256sum.
2016-02-03 13:16:27 -05:00
Dannon Baker 6635e91170 Bump gx pip version to fix OSX platform issues. 2016-02-02 10:45:14 -05:00
Mark Einon 50ea4694af Change python print() format to be backward compatible with older versions
In python versions prior to 3.1, the print("{}", .format(x)) form throws
an error, use the more compatible print("{0}", .format(x)) form
instead.
2016-02-02 10:25:16 +00:00
Nicola Soranzo 685fd1560e Merge pull request #1595 from natefoo/fix-pip-wheel-version
[16.01] Always install a specific version of Galaxy pip in common_startup.sh.
2016-01-28 19:56:14 +00:00
Nate Coraor 60062b020d pip 1.6 -> 6.0, thanks @nsoranzo 2016-01-28 12:46:14 -05:00
Nate Coraor 46471d61e4 pip < 1.6 cannot parse requirement specifiers to the install command
that contain a `+` in the version. For these older versions, directly
install the wheel or install from the sdist. Technically 1.4 and later
can install wheels, but in testing, only 1.5+ was able to install them
properly with their scripts.

The new heredoc execute and redirect syntax is Bourne-compatible.

pip --pre is no longer necessary since the Galaxy pip version is no
longer a development version of pip.
2016-01-28 10:45:54 -05:00
Nate Coraor 390c1fc275 Always install a specific version of Galaxy pip in common_startup.sh. 2016-01-27 09:57:41 -05:00
John Chilton bc9f9b9bf1 Adapt release notes boot strap to new issues. 2016-01-26 10:03:08 +00:00
Nate Coraor 8ceb4d8ee4 Force --skip-venv if we can detect that Python is Conda Python. 2016-01-21 11:49:51 -05:00
John Chilton df5a3a6da7 Eliminate legacy set metadata entry points. 2016-01-21 14:31:41 +00:00
Mark Einon efa1334d45 Change python print() format to be backward compatible with older versions
In python versions prior to 3.1, the print("{}", .format(x)) form throws
an error, use the more compatible print("{0}", .format(x)) form
instead.
2016-01-15 12:58:36 +00:00
John Chilton 8fd83df665 Allow override of location of virtual env Galaxy manages. 2016-01-13 13:55:36 +00:00
John Chilton 9dc9ddf8cd Add --replace-pip option to common_startup.sh.
Needed to restore correct functionality to planemo.
2016-01-13 13:55:35 +00:00
Dannon Baker 2f1dbeee68 Address W503 and E721 errors now enforced by pep8 1.7. 2016-01-13 10:41:27 -05:00
Nate Coraor 4eefd885ec Improve startup options related to wheel/dependency/virtualenv
management. Drop hard requirement on lzo (doubt anyone other than
usegalaxy.org is using it, but it will be added as a extras option for
bxlab/bx-python for anyone who is).

Fixes #1150
2015-12-22 14:03:50 -05:00
Nate Coraor 43e38414e6 --pre does not exist on pip < 1.4, but on pip < 1.4, the default
behavior was the same as using --pre on pip >= 1.4. Therefore, detect
the version of pip and add --pre if necessary.

Fixes #1134
2015-12-18 12:27:12 -05:00
Dannon Baker f35bd9ae02 Merge pull request #1181 from souravsingh/rename_file
Renames reports_wsgi.ini
2015-11-30 11:49:41 -05:00
Sourav Singh 9fceddf8a2 Changed reports_wsgi.ini to reports.ini 2015-11-27 23:50:46 +05:30
John Chilton c408b0ec65 Do not check for tool migrations when running tests.
This is an inappropriate time for the check and causes slow down when running tests.
2015-11-25 15:19:30 +00:00
Nicola Soranzo 4f6aad473d Merge branch 'master' into dev 2015-11-25 16:18:37 +00:00
Nate Coraor dc10ac7e3e Add stub fetch_eggs.py/check_eggs.py for people whose build/test/run
pipelines may have been running these by hand. Print hopefully helpful
information and return 1. Fixes #1030
2015-11-06 11:06:11 -05:00
Nate Coraor f406cdefc7 Merge pull request #990 from nsoranzo/post_eggs_smash
Remove remaining references to galaxy.eggs . flake8 some tools.
2015-11-01 21:58:27 -05:00
Nate Coraor 7010e38b6f Merge branch 'dev' of https://github.com/galaxyproject/galaxy into smash_eggs 2015-10-27 17:07:28 -04:00
Nate Coraor 9563f121e8 binary_compatibility.py shouldn't fail on platforms that don't return
anything for get_specific_platform() (e.g. things other than Linux).
2015-10-27 16:41:27 -04:00
Nate Coraor b7c8a6d334 Rename lib/galaxy/main.py to scripts/galaxy-main since that makes more
sense and doesn't result in lib/galaxy/ being added to sys.path.

Create a symlink at lib/galaxy/main.py for backward compatibility.
2015-10-27 16:03:33 -04:00
Nate Coraor 1a3a594d4e Allow CentOS to install RHEL wheels. 2015-10-26 15:47:51 -04:00