Apurva Bakshi
2de37ce5df
add convergence attribute to awxkit
2020-02-05 14:28:35 -05:00
Rebeccah
a419547731
redid some formatting and syntax per personal preferences, comments on PR, and suggestions from @jrb
2020-02-05 14:28:35 -05:00
Jake McDermott
04844aa44f
Add 'ALL' indicator to 'ALL' nodes
2020-02-05 14:28:35 -05:00
Rebeccah
1b3fbee38d
workflow convergence toggle migration
2020-02-05 14:28:35 -05:00
Rebeccah
6d2a2ab714
drastically improved performance by removing unnecessary iteration over children of parent nodes, additionally added an extra check that the node didn't already have a job so that it wasn't cycling over nodes that had already run when running through all_nodes
2020-02-05 14:28:35 -05:00
Rebeccah
82dd4a3884
remove node_object comparison and use the full dict to eliminate issues comparing obj and compare instead the whole node object with the node objects in the list
2020-02-05 14:28:35 -05:00
Jake McDermott
4fe9e5da14
Use select for any/all convergence choice
2020-02-05 14:28:35 -05:00
Jake McDermott
bbb4701fa9
Don't show any/all convergence option on root node
2020-02-05 14:28:35 -05:00
Rebeccah
86a39938fe
fixed issue where successful convergence wasn't being met due to the not quite correct leveraging of get_children
2020-02-05 14:28:35 -05:00
Jake McDermott
987fc26537
Add any/all option for workflow node convergence
2020-02-05 14:28:34 -05:00
Rebeccah
70cf4cf5d4
added in handling for a parent being DNR so status is only checked if the parent isn't a DNR parent (in which case the parent has no status, which was breaking the logic) also edited a comment and added in a DNR check that @alancoding suggested to cut out duplicates in the DAG list
2020-02-05 14:28:34 -05:00
Rebeccah
2d3172f648
added in support for existing workflow unit tests
2020-02-05 14:28:34 -05:00
Rebeccah
b2c33e3204
redid migration dependency
2020-02-05 14:28:34 -05:00
Rebeccah
f7f648b956
included all_parents_must_converge in the get_workflow_job_fieldnames so that the true/false is copied into the job node and not just in the template node. Also added in the migration for the DB, also relocated logic from bfs_nodes_to_run down into mark_dnr_nodes to prevent nodes not being marked as DNR but not being marked to run, causing them to run anyways
2020-02-05 14:28:34 -05:00
Rebeccah
780f104ab2
shifted from dependants/dependencies to children/parents for clarity in function names, also added in toggle logic
2020-02-05 14:28:34 -05:00
Rebeccah
4c35adad6c
added logic to include workflow convergence nodes to nodes to run or not run based on their parents successful statuses
2020-02-05 14:28:34 -05:00
Rebeccah
cf24c81b3e
updated syntax from python2 to 3
2020-02-05 14:28:34 -05:00
softwarefactory-project-zuul[bot]
2f75b48c63
Merge pull request #5423 from AlanCoding/pycurl
...
Add pycurl to container images
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 16:21:25 +00:00
softwarefactory-project-zuul[bot]
979418620c
Merge pull request #5823 from chrismeyersfsu/fix-instance_migration2
...
fix instance migration is_isolated() issue
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 14:52:18 +00:00
softwarefactory-project-zuul[bot]
482e0ac311
Merge pull request #5768 from AlanCoding/fewer_computed_fields
...
Remove computed fields artifacts no longer valid
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 14:25:10 +00:00
chris meyers
a36bf4af64
fix instance migration is_isolated() issue
...
* Older versions of Instance model code may not contain the
is_isolated() method. This change accounts for that fact.
2020-02-05 09:16:31 -05:00
AlanCoding
3bbce18173
Remove computed fields artifacts no longer used
...
Remove deleted field from notification payload
2020-02-04 20:23:37 -05:00
softwarefactory-project-zuul[bot]
e54fd19bca
Merge pull request #5817 from chrismeyersfsu/fix-instance_migration
...
use existing version of Instance
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-05 00:00:06 +00:00
AlanCoding
d2289fe9c6
add pycurl to container images
2020-02-04 14:41:51 -05:00
softwarefactory-project-zuul[bot]
e59f3982ae
Merge pull request #5796 from rascasoft/devel
...
Make possible to not start containers on compose
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-04 13:18:30 +00:00
softwarefactory-project-zuul[bot]
5435c6ec73
Merge pull request #5806 from AlexSCorey/5777-JTTabOnProjectsAndTemplateListRefactor
...
5777 Projects JobTemplateList and template list refactor
Reviewed-by: Alex Corey <Alex.swansboro@gmail.com>
https://github.com/AlexSCorey
2020-02-04 03:11:42 +00:00
Alex Corey
5f96aee871
Fixes spelling error
2020-02-03 20:09:49 -05:00
softwarefactory-project-zuul[bot]
a1a864b27b
Merge pull request #5804 from ryanpetrello/iso-healthcheck-failure-capacity
...
properly handle import errors in the isolated capacity healthcheck
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-03 20:37:18 +00:00
chris meyers
0291c476d4
use existing version of Instance
...
* Without this change, future modifications to the Instance object may
result in migration fails (i.e. adding a field to the Instance model)
2020-02-03 14:25:06 -05:00
softwarefactory-project-zuul[bot]
6389ec50a1
Merge pull request #5812 from ryanpetrello/busted-project-update-events
...
fix broken project update secret filtering for external logging
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-03 17:37:01 +00:00
softwarefactory-project-zuul[bot]
ad53f4f5f6
Merge pull request #5815 from ryanpetrello/fix-cli-settings-py2
...
fix a py2/py3 compat bug in the settings CLI
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-03 17:24:33 +00:00
softwarefactory-project-zuul[bot]
9718aa711f
Merge pull request #5808 from marshmalien/pf-upgrade-react-core-130
...
Upgrade PatternFly dependencies
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-03 17:24:29 +00:00
softwarefactory-project-zuul[bot]
cacd2c3392
Merge pull request #5805 from fantashley/support-proxy-venv
...
Add proxy support in custom venv container fixes #5756
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-03 16:40:41 +00:00
Ryan Petrello
1800b49822
fix a py2/py3 compat bug in the settings CLI
2020-02-03 11:37:39 -05:00
Raoul Scarazzini
1e97bb71db
Make possible to not start containers on compose
...
When upgrading from releases it could happen that you need to do some
manual steps (i.e. upgrading from postgres 9.6 to 10). In these cases
you'd want to check the docker-compose.yml and then launch it by
yourself.
Today we don't have any method to get just the files that will be used
while installing via compose, without starting the containers. This
commit adds a variable named "compose_start_containers" (true by
default) that, if false, will make the playbook just generate the files
in the compose directory and not start the containers.
2020-02-03 16:46:52 +01:00
Ryan Petrello
7055460c4c
fix broken project update secret filtering for external logging
2020-02-03 10:27:31 -05:00
softwarefactory-project-zuul[bot]
864767d74a
Merge pull request #5809 from AlexSCorey/5799-TeamEditUpdate
...
Fixes update failure on TeamEdit
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-02-03 14:43:49 +00:00
Alex Corey
5170948241
Fix error naming issue
2020-01-31 15:03:13 -05:00
Alex Corey
1368835a29
Fixes update failure on TeamEdit
2020-01-31 14:07:24 -05:00
Marliana Lara
48fa5bb2cd
Upgrade PatternFly dependencies
2020-01-31 12:10:06 -05:00
Alex Corey
25105d813d
Refactors TemplateLiost into a functional component
2020-01-31 12:09:38 -05:00
Alex Corey
bbea43b1fe
Addresses needed styling changes to Card and Page Section
...
These changes were necessary to remove an additional page section
to ProjectJobTemplateList.
2020-01-31 11:28:33 -05:00
Alex Corey
5790aa9780
Adds TemplateList of Project
2020-01-31 11:20:53 -05:00
Ashley Nelson
bc97d11270
Add support for no_proxy
2020-01-31 10:05:32 -06:00
Ryan Petrello
326ed22efe
properly handle import errors in the isolated capacity healthcheck
...
if the awx_capacity module runs on an isolated node with missing
libraries (i.e., psutil) or bad permissions, then the runner status will
be "failed"
in this scenario, we *still* want to react by recording a capacity=0
2020-01-31 10:17:20 -05:00
softwarefactory-project-zuul[bot]
b942411dcc
Merge pull request #5598 from jainnikhil30/sat6_want_ssh_host
...
add ability to read ansible_want_ssh_host, rich_params and want_facts to source vars for satellite dynamic inventory
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-01-31 13:51:20 +00:00
Nikhil Jain
374c17751f
add ansible_want_ssh_host, rich_params and want_facts to be read from source vars
2020-01-31 08:18:01 -05:00
softwarefactory-project-zuul[bot]
b611164422
Merge pull request #5801 from ryanpetrello/tower-url-base-ctint
...
when a license is installed, only set TOWER_URL_BASE if necessary
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-01-30 21:55:19 +00:00
Ryan Petrello
c7c899375b
when a license is installed, only set TOWER_URL_BASE if necessary
...
it's possible for users to set this manually in /etc/tower/conf.d
prior to license application
2020-01-30 16:23:25 -05:00
Ashley Nelson
ab3a728032
Add custom venv support for proxies
2020-01-29 18:08:38 -06:00