Commit Graph
100 Commits
Author SHA1 Message Date
AlanCoding b0722311e8 dDo not apply distinct for series of only static fields 2020-01-16 14:36:38 -05:00
AlanCoding 9a420820eb Remove event hosts relationship
and parent event-event ForeignKey relationship
2020-01-16 08:44:36 -05:00
AlanCoding b9b6dad0b3 Add test for deprecated vault_credential 2020-01-15 09:44:28 -05:00
AlanCoding eec08fdcca Log case of duplicate UUIDs 2020-01-09 07:31:32 -05:00
AlanCoding 18bb910e33 Fallback to globals for these tests 2020-01-07 17:14:34 -06:00
AlanCoding ca8dcced8b update paramiko source 2020-01-07 17:14:34 -06:00
AlanCoding 0b9b8832a8 Get rid of hacks to simplify process
Remove poetry and wheel from bootstrap installs

Cleanup some docs around them
2020-01-07 17:14:34 -06:00
AlanCoding 271b3f00b7 Attempts to simplify build environment
Remove build isolation flag

Do not use --ignore-installed for any pip install commands

Add Makefile comments

do not use system site packages for awx venv

Consolidate bootstrap pins

Do another upgrade, properly document wheel
2020-01-07 17:14:33 -06:00
AlanCoding 477f566da0 Bump Django version which recently updated 2020-01-07 17:14:33 -06:00
AlanCoding a2acf4d61f Back off setuptools version due to allow_hosts option error 2020-01-07 17:14:33 -06:00
AlanCoding 3dc8c789fb Avoid system site packages and add more setup things 2020-01-07 17:14:33 -06:00
AlanCoding 807f4ea757 Remove incorrect activity stream entries related to managed types 2020-01-02 11:37:33 -05:00
AlanCoding 8d4425f056 Revert "Reduce API response times by caching migration flag"
This reverts commit 5433af6716.
2020-01-02 09:08:51 -05:00
AlanCoding 1f46878652 Revert "Apply migration flag check to task manager"
This reverts commit a0910eb6de.
2020-01-02 09:08:17 -05:00
AlanCoding a0910eb6de Apply migration flag check to task manager 2019-12-15 22:56:57 -05:00
AlanCoding 5433af6716 Reduce API response times by caching migration flag 2019-12-15 22:56:57 -05:00
Alan Rominger 266a4e71c5 Merge pull request #4027 from AlanCoding/ryan_hosts_36
[alan] use a computed inventory field for task impact math
2019-12-09 14:51:02 -05:00
AlanCoding be5a12a318 Compute fields in smart task_impact tests 2019-12-09 11:46:12 -05:00
AlanCoding dfc4a0c0e0 Compute fields in smart task_impact tests 2019-12-09 10:59:59 -05:00
AlanCoding 55a19ffe6a Fix project sync errors when project branch is commit 2019-12-06 13:04:04 -05:00
AlanCoding 419d32d3e3 Fix project sync errors when project branch is commit 2019-12-05 14:26:24 -05:00
AlanCoding 922ea67541 Fix situation were error happened before lock was released 2019-12-05 10:41:23 -05:00
AlanCoding 695eab1fdd fix duplicate exception sanity error 2019-11-26 09:47:07 -05:00
AlanCoding 081a0fc04e fix other assorted sanity failures 2019-11-26 09:45:54 -05:00
AlanCoding 48f10669d6 fix duplicate exception sanity error 2019-11-26 09:39:05 -05:00
AlanCoding 1a85874964 Raise specific exception if migration in progress 2019-11-25 21:48:05 -05:00
AlanCoding 9c86f521e9 Add notes for ./upgrade.sh 2019-11-21 15:52:47 -05:00
AlanCoding 5e24cee0ae Add custom_virtualenv param to inventory source and tests 2019-11-20 22:39:12 -05:00
Alan Rominger 8e7d607a47 Only turn off Galaxy cert verification via toggle (#3933) 2019-11-19 08:54:40 -05:00
AlanCoding 7b1b656455 Remove forks no longer needed from dependencies 2019-11-18 15:39:39 -05:00
AlanCoding ddf9fd581e Run and fix all sanity tests 2019-11-14 20:56:06 -05:00
AlanCoding 35a565d09f In tower_job_wait intentionally fail module for failure 2019-11-14 20:56:05 -05:00
AlanCoding b878aed400 Add test coverage for launch with multiple prompted creds 2019-11-14 20:56:04 -05:00
AlanCoding 1961a8ba15 Fix and test for warning when creating project 2019-11-14 20:56:04 -05:00
AlanCoding a40398e6a1 Remove sanity exceptions no longer needed 2019-11-14 20:56:03 -05:00
AlanCoding 97e2fbbe27 Add collection test coverage for creating vault credential 2019-11-14 20:56:03 -05:00
AlanCoding 1c74773eac Delay inputs comparision to after field validation 2019-11-14 20:28:33 -05:00
AlanCoding 1402a2c8a5 Run and fix all sanity tests 2019-11-14 14:45:16 -05:00
AlanCoding f64d0dde5a Use tags to reduce project update output
Handle folder deletion as tag

remove -v use by default

Change meaning of roles_enabled playbook var to
 value of AWX global setting
2019-11-12 12:52:39 -05:00
AlanCoding c96e88877f Add ignore list for Ansible 2.10 2019-11-11 22:07:22 -05:00
AlanCoding c4b4a4c21a Remove venv symlink hack no longer needed 2019-11-01 09:46:27 -04:00
Alan Rominger 871d87374b Only turn off Galaxy cert verification via toggle (#3933) 2019-10-31 22:56:48 -04:00
AlanCoding 5095816762 In tower_job_wait intentionally fail module for failure 2019-10-31 12:41:53 -04:00
AlanCoding 24eae09ed9 Make tower_inventory_source org optional, add tests 2019-10-31 09:46:49 -04:00
AlanCoding da1e43dc12 Make tower_group idempotent 2019-10-31 07:53:43 -04:00
AlanCoding db33c0e4fa Add test coverage for launch with multiple prompted creds 2019-10-30 20:41:14 -04:00
AlanCoding f8b64f2222 Fix and test for warning when creating project 2019-10-30 15:40:49 -04:00
AlanCoding 0160dbe8bc Remove sanity exceptions no longer needed 2019-10-30 12:56:36 -04:00
AlanCoding 59e1c6d492 Add collection test coverage for creating vault credential 2019-10-29 15:34:32 -04:00
AlanCoding cf168b27d2 apply username ordering to more views 2019-10-29 14:20:33 -04:00
Alan Rominger 98d3f3dc8a Add tests for AWX collection credential fixes (#3893) 2019-10-29 11:24:16 -04:00
AlanCoding 1bdae2d1f7 Fully rely on error ignoring for sanity rel imports 2019-10-29 11:24:16 -04:00
AlanCoding 2bc2e26cc7 Ignore import errors due to bugs in Ansible core 2019-10-29 11:24:16 -04:00
AlanCoding 5010602e6b add release note 2019-10-29 11:24:16 -04:00
AlanCoding c103a813bf declare types in Ansible Tower module options 2019-10-29 11:24:16 -04:00
AlanCoding e097bc61c8 New target for sanity testing of the collection
Do not run in Zuul
2019-10-29 11:24:15 -04:00
Alan Rominger acba5306c6 Fix bug where SCM inventory did not have a collections destination (#3795)
* update inventory path to be in tmp project clone

* copy project folder for inventory scm launch type

* Optionally accept inventory collection paths from ansible.cfg
2019-10-29 11:24:14 -04:00
Alan Rominger 3f49d2c455 RBAC relaunch 403 updates (#3835)
* RBAC relaunch 403 updates

Addresses 2 things

1. If WFJ relaunch is attempted, and relaunch is denied
  because the WFJ had encrypted survey answers,
  a generic message was shown, this changes it to show
  a specific error message

2. Org admins are banned from relaunching a job
  if the job has encrypted survey answers

* update tests to raises access pattern

* catch PermissionDenied for user_capabilities
2019-10-29 11:24:12 -04:00
Alan Rominger a0fb9bef3a Disable activity stream and speed up host group bulk deletion (#3817) 2019-10-29 11:24:12 -04:00
Alan Rominger 70269d9a0d Add support for credential_type in tower_credential module (#3820)
* Add support for credential_type

* Finish up credential_type parameter with tests

* make inputs mutually exclusive with other params

* Test credential type with dict input
2019-10-29 11:24:12 -04:00
Alan Rominger 3cab73c574 Add tests for AWX collection credential fixes (#3893) 2019-10-28 09:58:00 -04:00
AlanCoding a6404bdd0d Move development PROJECTS_ROOT 2019-10-25 15:48:07 -04:00
AlanCoding 609528e8a3 Fix bug: WFJT-type node YAML vars broke task manager 2019-10-25 11:41:58 -04:00
AlanCoding e40f29092b Fully rely on error ignoring for sanity rel imports 2019-10-24 15:10:38 -04:00
AlanCoding b394862210 Ignore import errors due to bugs in Ansible core 2019-10-24 14:58:55 -04:00
AlanCoding 0434c611f0 add release note 2019-10-24 14:50:45 -04:00
AlanCoding 201ae5f948 declare types in Ansible Tower module options 2019-10-24 14:50:45 -04:00
AlanCoding 9d93b78296 New target for sanity testing of the collection
Do not run in Zuul
2019-10-24 14:50:44 -04:00
Alan Rominger 8f5d25a5df Fix bug where SCM inventory did not have a collections destination (#3795)
* update inventory path to be in tmp project clone

* copy project folder for inventory scm launch type

* Optionally accept inventory collection paths from ansible.cfg
2019-10-23 19:26:10 -04:00
Alan Rominger 653ec0ffab RBAC relaunch 403 updates (#3835)
* RBAC relaunch 403 updates

Addresses 2 things

1. If WFJ relaunch is attempted, and relaunch is denied
  because the WFJ had encrypted survey answers,
  a generic message was shown, this changes it to show
  a specific error message

2. Org admins are banned from relaunching a job
  if the job has encrypted survey answers

* update tests to raises access pattern

* catch PermissionDenied for user_capabilities
2019-10-23 10:59:35 -04:00
Alan Rominger 28228a3b57 Disable activity stream and speed up host group bulk deletion (#3817) 2019-10-23 08:25:00 -04:00
Alan Rominger fb67b8edf9 Add support for credential_type in tower_credential module (#3820)
* Add support for credential_type

* Finish up credential_type parameter with tests

* make inputs mutually exclusive with other params

* Test credential type with dict input
2019-10-22 14:39:27 -04:00
AlanCoding 86ef81cebf API deprecation of inventory script views 2019-10-16 09:34:21 -04:00
AlanCoding 2123092bdc Avoid unnecessary OPTIONS redirect 2019-10-16 09:08:22 -04:00
Alan Rominger 8e296bbf8c Merge pull request #3796 from AlanCoding/inventory_fq_36
use fully qualified inventory plugin name
2019-10-11 06:56:13 -04:00
AlanCoding 16ebfe3a63 use fully qualified inventory plugin name 2019-10-10 08:51:18 -04:00
AlanCoding d40ab38745 Get rid of warning in collections install 2019-10-08 14:19:52 -04:00
AlanCoding f10296b1b7 Revert "bump required version to 2.10"
This reverts commit e0e9c8321b.
2019-10-08 11:20:57 -04:00
AlanCoding e0e9c8321b bump required version to 2.10 2019-10-08 11:00:57 -04:00
AlanCoding 0594bdf650 Add more galaxy server param validation 2019-10-07 20:03:40 -04:00
AlanCoding 06c62c4861 update docs for galaxy auth URL material 2019-10-07 14:52:10 -04:00
AlanCoding c09039e963 Add setting for auth_url
Also adjust public galaxy URL setting to
allow using only the primary Galaxy server

Include auth_url in token exclusivity validation
2019-10-07 14:02:43 -04:00
AlanCoding 85c99cc38a Redact env vars for Galaxy token or password 2019-10-07 14:02:43 -04:00
AlanCoding 576ff1007e Describe usage of primary galaxy server in docs 2019-10-07 14:02:43 -04:00
AlanCoding 922e779a86 Rename private to primary in galaxy settings
use a setting for the public galaxy URL
2019-10-07 14:02:43 -04:00
AlanCoding 8bda048e6d validate galaxy server settings
involves some changes to the redact code
2019-10-07 14:02:42 -04:00
AlanCoding 093bf6877b Finish adding settings to UI 2019-10-07 14:02:42 -04:00
AlanCoding d59d8562db Avoid redacting Galaxy URLs 2019-10-07 14:02:42 -04:00
AlanCoding c566c332f9 Initial env var implementation of private galaxy server 2019-10-07 14:02:42 -04:00
AlanCoding db0bd471c3 rename playbook vars to have collection_ 2019-10-01 13:45:07 -04:00
AlanCoding 7dd8e35e8c Use namespaced doc fragment, cleanup
doc fragment will now be at awx.awx.auth
changed from just tower, which source from core

remove Makefile things no longer needed
2019-09-27 23:09:39 -04:00
AlanCoding 75bb7aae14 update references to collection folder 2019-09-27 14:29:04 -04:00
AlanCoding 98619c5e23 rename awx modules folder to collection 2019-09-27 14:29:04 -04:00
AlanCoding 35afa37417 Rename to collection, add license, galaxy build 2019-09-27 14:29:03 -04:00
AlanCoding 2f0f692f4a Integrate Ansible core tower modules content into AWX
This commit includes all the changes involved in
converting the old Ansible Tower modules from commits
in Ansible core into the AWX collection that replaces it.
Also includes work needed to integrate it into the
AWX processes like tests, docs, and the Makefile.

Apply changes from content_collector tool

Add integrated module tests
  operate via run_module fixture
  add makefile target for them

Add flake8 target and fix flake8 errors

Update README

Make consolidated target for testing modules
2019-09-27 14:29:03 -04:00
AlanCoding 5271c993ac Move commit for migration of Ansible core tower modules 2019-09-27 14:29:03 -04:00
AlanCoding 38112bae22 Use to_native for error messages, fix docs typo 2019-09-27 14:29:03 -04:00
Alan Rominger bffc1bfdd4 Allow tower inventory plugin to accept integer inventory_id (#61338) 2019-09-27 14:29:02 -04:00
Alan Rominger 91d0c47120 Add option for tower inventory to give general metadata (#52747) 2019-09-27 14:28:59 -04:00
AlanCoding 454f76c066 Copy git submodules as-is to avoid auth and path errors 2019-09-27 09:03:47 -04:00