Commit Graph
100 Commits
Author SHA1 Message Date
Chris Meyers 8caf355857 handle reload when deleting org card under edit 2017-01-10 09:50:54 -05:00
Chris Meyers 86a9a921eb remove deepcopy, not sure how that slipped in 2017-01-06 11:47:45 -05:00
Chris Meyers a1267a3dee update artifacts to work with ansible set_stats 2017-01-06 10:04:57 -05:00
Chris Meyers 03734015c5 set_stats support 2017-01-05 13:42:29 -05:00
Chris Meyers 55047a5643 letters, they matter 2017-01-04 11:25:39 -05:00
Chris Meyers 57cbf536dd unit test update for network cred changes
* Ensure network ssh key file set as env variable and remove tests that
checked for ssh key being added to the keyring
* Ensure that network credentials are set in the job run environment as
well as saved to the job model.
2017-01-04 10:48:09 -05:00
Chris Meyers 721de9f10a pass network ssh key via an env var, not ssh-agent 2017-01-03 16:17:52 -05:00
Chris Meyers f794b1eb1f prevent click-jacking 2017-01-03 10:46:42 -05:00
Chris Meyers 6fe6917029 fix passive agressive comments 2016-12-20 15:40:43 -05:00
Chris Meyers f5ccdde508 pip prefers - not _ 2016-12-20 15:15:10 -05:00
Chris Meyers 8b06d9a571 change wording from Host to URL 2016-12-20 15:12:50 -05:00
Chris Meyers 12397ce610 bump pkg info tower version to 3.1.0 2016-12-20 14:42:00 -05:00
Chris Meyers 97fccd32d8 organization pattern differs from other views through the use of
partials. Stick with this one-off and just patch up the wrongly nested
smart-search / List-well divs.
2016-12-20 14:30:58 -05:00
Chris Meyers 6373642a67 explicitly install ssl backport for gce libcloud 2016-12-20 11:08:51 -05:00
Chris Meyers d985f07838 use vmware uuid that is most unique 2016-12-19 17:12:52 -05:00
Chris Meyers dbef3b7571 update vmware inv sync unique instance id 2016-12-19 17:10:56 -05:00
Chris Meyers 2f9a5409c3 code logic fix and vmware active var updated 2016-12-19 17:08:27 -05:00
Chris Meyers 139d80bcbb deps for new vmware inv script 2016-12-19 17:03:18 -05:00
Chris Meyers 4e71690bf3 only print dep warn for rax 2016-12-19 16:55:57 -05:00
Chris Meyers b72a148cbc vmware_inventory dyn inv script support 2016-12-19 16:39:10 -05:00
Chris Meyers 1c4e6c55f5 bump foreman and expose new grouping features
related to #3467
related to #5226
related to #4373
2016-12-19 11:26:43 -05:00
Chris Meyers a95880b60a fix license not found err msg 2016-12-19 10:39:28 -05:00
Chris Meyers afe7293118 remove uneeded print 2016-12-16 15:52:25 -05:00
Chris Meyers d550f6153a more jenkins removal fixes 2016-12-16 14:43:20 -05:00
Chris Meyers 304fcbe945 requirements jenkins is no longer a thing 2016-12-16 14:29:57 -05:00
Chris Meyers fc5b13f413 update notification sending tests 2016-12-16 11:40:35 -05:00
Chris Meyers bf23f6a52c associate notifications with job before sending notifications
related to #3391
2016-12-16 11:26:16 -05:00
Chris Meyers 5d9d332792 rackspace deprecation warning on inv update 2016-12-16 10:36:38 -05:00
Chris Meyers a566cec5db rectifiy arch name in fact scans 2016-12-16 10:06:34 -05:00
Chris Meyers 25ee37fd3a change session limit message 2016-12-16 09:30:23 -05:00
Chris Meyers 4509f402a8 send notification when recifiying celery jobs 2016-12-15 16:31:39 -05:00
Chris Meyers ef1f77bf8e fix what I broke with the job through cancel proj update 2016-12-15 16:13:09 -05:00
Chris Meyers 55827611b6 filter out ansible_* facts from provision callback extra_vars
related to #4358
2016-12-15 15:37:56 -05:00
Chris Meyers e69f6726d0 fix unit test 2016-12-15 09:31:58 -05:00
Chris Meyers 2ec47737bb another flake8 fix 2016-12-15 09:29:31 -05:00
Chris Meyers f026a96d94 flake8 fix 2016-12-15 08:59:24 -05:00
Chris Meyers bdfac35f3f cancel job also cancels project update
related to #4225
2016-12-14 16:26:18 -05:00
Chris Meyers b533a9eb7b purge make requirements_jenkins 2016-12-14 10:30:28 -05:00
Chris Meyers 6348ed97dd uninstall certifi if installed in venv's 2016-12-14 09:53:24 -05:00
Chris Meyers 248f030744 bump dyn inv sync scripts 2016-12-13 17:14:43 -05:00
Chris Meyers 732eb6c632 fix gce and maybe azure cert issues 2016-12-13 17:13:14 -05:00
Chris Meyers 44c6127a48 fix gce and maybe azure cert issues 2016-12-13 17:11:44 -05:00
Chris Meyers 35fe4c8448 remove pyzmq 2016-12-09 14:34:32 -05:00
Chris Meyers 40d5142d11 remove more mongo things 2016-12-09 14:19:41 -05:00
Chris Meyers 812b7c5f5f fix two inv updates created from 1 jt run 2016-12-09 14:09:58 -05:00
Chris Meyers cc7c2957cf always chain failures
* When inv and proj updates trigger from a JT run, if either update
fails then the job template should get marked failed. Before this
commit, the job template would get marked failed ONLY if there was
enough capacity to run all the associated updates within the same
schedule() call. If, instead, the associated updates were ran in another
schedule() call, the failure chain was lost. This changeset fixes that
by saving the necessary data in the dependent_jobs relationship so that
the failure is always chained.
2016-12-09 14:09:54 -05:00
Chris Meyers 514839938b fix two inv updates created from 1 jt run 2016-12-09 13:39:12 -05:00
Chris Meyers 49a5c136dd add vmware deps to ansible venv 2016-12-06 13:29:53 -05:00
Chris Meyers a5b1c7b579 use more precise exception 2016-12-05 13:54:33 -05:00
Chris Meyers f47f8abe42 finished fixing job through workflow node
related to #4182
2016-12-05 13:35:34 -05:00
Chris Meyers 88d6552b86 artifact data comes in as a dict 2016-11-30 16:25:27 -05:00
Chris Meyers 6c0b97675a handle special case pkg_name[pkg_subname] 2016-11-29 10:17:07 -05:00
Chris Meyers bd78ff0a42 bump ansible requirements 2016-11-21 17:33:36 -05:00
Chris Meyers 1049b0bfd5 removed, seemingly, uneeded base packages 2016-11-21 17:33:36 -05:00
Chris Meyers f2fac1fa91 factored out base python requirements
* use pip-tools to programatically build requirements.txt
2016-11-21 17:33:35 -05:00
Chris Meyers 4ec8a2f429 selectively bump base requirements 2016-11-21 17:33:14 -05:00
Chris Meyers 9f56d39644 factored out base requirements
* bumped all dependent packages that are not base
2016-11-21 17:33:14 -05:00
Chris Meyers ddd41e77be fixes fact jsonbfield for unit tests 2016-11-21 17:25:18 -05:00
Chris Meyers 1a96b66f00 update inventory field, name, not unique 2016-11-21 14:42:11 -05:00
Chris Meyers 01ec443380 inventory is unique on <name, org>
* was unique on name because we were inheriting from a Model that had it
defined as such. Thus our expression of uniqueness in the Inventory
Model was meaningless.
2016-11-21 14:34:17 -05:00
Chris Meyers b6b1f4205c flake8 fixes 2016-11-18 14:49:31 -05:00
Chris Meyers ba6ab6f746 forgot to add new fixtures for jsonbfield fact 2016-11-18 11:37:06 -05:00
Chris Meyers 4a1a3bd1e8 do not coerce jsonbfield to string in db
* functional tests do coerce because they assume they are running on
sqlite
2016-11-18 11:29:42 -05:00
Chris Meyers ef0df1fefd more j -> workflow_job renaming 2016-11-17 10:51:06 -05:00
Chris Meyers 07996abf64 in the api, finish renaming wfjt -> job relation
related to #4052
related to #3976
2016-11-17 10:40:28 -05:00
Chris Meyers df5e3288c4 Revert "in the api, finish renaming wfjt -> job relation"
This reverts commit 8ee469ceeb0d9e7514f930c6325d1577bf5505c8.
2016-11-17 10:39:17 -05:00
Chris Meyers d9821dbb6c in the api, finish renaming wfjt -> job relation
related to #4052
related to #3976
2016-11-17 10:29:34 -05:00
Chris Meyers edaf018f2c Revert "factored out base requirements"
This reverts commit c5129a054c272a5e59008b3dc4d8a2f287f310a6.
2016-11-16 13:39:44 -05:00
Chris Meyers 827b4e1537 factored out base requirements
* bumped all dependent packages that are not base
2016-11-16 13:35:35 -05:00
Chris Meyers e7b9410361 fix up python requirements test 2016-11-15 09:19:29 -05:00
Chris Meyers 1883485724 towards virtualenv being exactly requirements.txt
* Ignore already installed (usually global) packages when installing
requirements.txt into the virtualenv.
2016-11-15 09:19:29 -05:00
Chris Meyers 81720a6a2a bump cellery billiard requirement 2016-11-15 08:43:51 -05:00
Chris Meyers 9f40e7ef70 fix notification unit test mock 2016-11-14 16:29:34 -05:00
Chris Meyers f1f92deb1f bump up django-jsonfield 2016-11-14 14:34:46 -05:00
Chris Meyers 0c2d9e09b9 use known working django-jsonfield 2016-11-14 13:26:24 -05:00
Chris Meyers ec83a1cb47 use django-jsonfield not jsonfield 2016-11-14 12:18:29 -05:00
Chris Meyers 356b0af3cd bump channels version 2016-11-14 11:11:29 -05:00
Chris Meyers 1d513252e4 fix up requirements 2016-11-14 09:16:26 -05:00
Chris Meyers 545412a6b5 remove inline requirements comment 2016-11-14 08:46:46 -05:00
Chris Meyers c95ef4dc07 add requirements unit test 2016-11-11 17:19:52 -05:00
Chris Meyers 3d4f359cbc Revert "Read the branch name"
This reverts commit e38bfbce6adc0e94a72bd3eda908263aa6cc651a.
2016-11-11 16:01:45 -05:00
Chris Meyers 5f10c849fa Read the branch name 2016-11-11 16:00:53 -05:00
Chris Meyers 241019568c use jsonfield instead of django-jsonfield 2016-11-11 15:47:41 -05:00
Chris Meyers 5b4892250d fix partial test
* We shouldn't care what order the inventory updates for the inventory
sources are returned in.
2016-11-11 15:13:28 -05:00
Chris Meyers 0efe8e9cfb fix license test
so that the license file on dev machines isn't accidentally picked up
2016-11-11 14:43:00 -05:00
Chris Meyers 9aaf694acf always allow running at least 1 job
* Regardless of capacity
* Add unit tests around this logic
2016-11-10 11:07:05 -05:00
Chris Meyers 697ff11e3b move python dep git repos to ansible org 2016-11-10 09:27:44 -05:00
Chris Meyers b9462bfad6 remove, not used, gevent-socketio 2016-11-10 09:10:26 -05:00
Chris Meyers 5d205f1e1b remove deprecated mongo fact code and deps
* We have the requirements that users with Tower < 3.0.x must upgrade to
3.0.x before > 3.0.x. Thus, we are save to delete all mongo migration
code and deps.
2016-11-09 16:25:27 -05:00
Chris Meyers 766e4af38e low hanging fruit requirements spring cleaning
* django-jsonfield PR accepted upstream
* django-rest-framework-mongoengine legacy system tracking dep
* python-social-auth PR accepted upstream
2016-11-09 16:12:27 -05:00
Chris Meyers adcf0af2a0 on host callback, upate dynamic inv only once
* During a job template launch via the host callback launch feature,
when the host launching the job template is not found; we try to launch
associated dyn inv updates to pick up the host. Then the inv is searched
again for the host. If the host is found, then the jt is launched. This
fix carries forward the feature that prevents the dyn inv update with
cache timeout of 0 from being re-launched with the new task manager.
2016-11-08 15:06:47 -05:00
Chris Meyers b66256eb98 fixes test_settings unit tests 2016-11-08 11:10:52 -05:00
Chris Meyers dcb8789fd9 fix job blocking job with allow simultaneous
related to #3911
2016-11-08 11:00:52 -05:00
Chris Meyers 1fc34a9f41 mock capacity 2016-11-08 10:19:14 -05:00
Chris Meyers 1aa6ab72d6 fixes multiple proj updates running for single job
related to #3906
2016-11-08 09:07:27 -05:00
Chris Meyers 5c71f1d6f7 allow all hosts during development 2016-11-02 10:45:42 -05:00
Chris Meyers cc7949f040 update docs 2016-11-02 10:00:05 -05:00
Chris Meyers 250a71907d update for commit hook 2016-11-02 08:25:51 -05:00
Chris Meyers 25b85c4a0b rename scheduler config singleton 2016-11-01 14:07:00 -05:00
Chris Meyers e1a84f4c85 bump migrations 2016-11-01 13:55:37 -05:00