summaryrefslogtreecommitdiffstats
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Migrate all development image builds to GHAShane McDonald2022-03-231-3/+4
| | | | | - This also moves the development image from quay.io to ghcr.io. - These changes will need to be backported to all of our supported branches.
* Adding option to enable and configure an OpenLDAP server next to AWX (#11843)John Westcott IV2022-03-101-1/+4
|
* Split UI test runnixocio2022-03-031-1/+10
| | | | | | Split UI test run See: https://github.com/ansible/awx/issues/10678
* Publish to galaxy and pypi in promote workflowShane McDonald2022-03-011-1/+6
|
* Bump node to LTS versionnixocio2022-02-141-1/+1
| | | | Bump node to LTS version
* Consume control capacity (#11665)Elijah DeLee2022-02-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Select control node before start task Consume capacity on control nodes for controlling tasks and consider remainging capacity on control nodes before selecting them. This depends on the requirement that control and hybrid nodes should all be in the instance group named 'controlplane'. Many tests do not satisfy that requirement. I'll update the tests in another commit. * update tests to use controlplane We don't start any tasks if we don't have a controlplane instance group Due to updates to fixtures, update tests to set node type and capacity explicitly so they get expected result. * Fixes for accounting of control capacity consumed Update method is used to account for currently consumed capacity for instance groups in the in-memory capacity tracking data structure we initialize in after_lock_init and then update via calculate_capacity_consumed (both in task_manager.py) Also update fit_task_to_instance to consider control impact on instances Trust that these functions do the right thing looking for a node with capacity, and cut out redundant check for the whole group's capacity per Alan's reccomendation. * Refactor now redundant code Deal with control type tasks before we loop over the preferred instance groups, which cuts out the need for some redundant logic. Also, fix a bug where I was missing assigning the execution node in one case! * set job explanation on tasks that need capacity move the job explanation for jobs that need capacity to a function so we can re-use it in the three places we need it. * project updates always run on the controlplane Instance group ordering makes no sense on project updates because they always need to run on the control plane. Also, since hybrid nodes should always run the control processes for the jobs running on them as execution nodes, account for this when looking for a execution node. * fix misleading message the variables and wording were both misleading, fix to be more accurate description in the two different cases where this log may be emitted. * use settings correctly use settings.DEFAULT_CONTROL_PLANE_QUEUE_NAME instead of a hardcoded name cache the controlplane_ig object during the after lock init to avoid an uneccesary query eliminate mistakenly duplicated AWX_CONTROL_PLANE_TASK_IMPACT and use only AWX_CONTROL_NODE_TASK_IMPACT * add test for control capacity consumption add test to verify that when there are 2 jobs and only capacity for one that one will move into waiting and the other stays in pending * add test for hybrid node capacity consumption assert that the hybrid node is used for both control and execution and capacity is deducted correctly * add test for task.capacity_type = control Test that control type tasks have the right capacity consumed and get assigned to the right instance group Also fix lint in the tests * jobs_running not accurate for control nodes We can either NOT use "idle instances" for control nodes, or we need to update the jobs_running property on the Instance model to count jobs where the node is the controller_node. I didn't do that because it may be an expensive query, and it would be hard to make it match with jobs_running on the InstanceGroup which filters on tasks assigned to the instance group. This change chooses to stop considering "idle" control nodes an option, since we can't acurrately identify them. The way things are without any change, is we are continuing to over consume capacity on control nodes because this method sees all control nodes as "idle" at the beginning of the task manager run, and then only counts jobs started in that run in the in-memory tracking. So jobs which last over a number of task manager runs build up consuming capacity, which is accurately reported via Instance.consumed_capacity * Reduce default task impact for control nodes This is something we can experiment with as far as what users want at install time, but start with just 1 for now. * update capacity docs Describe usage of the new setting and the concept of control impact. Co-authored-by: Alan Rominger <arominge@redhat.com> Co-authored-by: Rebeccah <rhunter@redhat.com>
* Scope api schema.json to target branchShane McDonald2022-02-071-1/+2
|
* Workflow changes (#11692)John Westcott IV2022-02-071-3/+5
| | | | | | Modifying workflows to install python for make commands Squashing CI tasks to remove repeated steps Modifying pre-commit.sh to not fail if there are no python file changes
* Upgrade to Python 3.9Shane McDonald2022-01-241-1/+1
|
* Merge pull request #11431 from jbradberry/receptor-mesh-modelsJeff Bradberry2022-01-111-19/+0
|\ | | | | Modify Instance and introduce InstanceLink
| * Remove the make init targetJeff Bradberry2022-01-101-19/+0
| | | | | | | | we want to fold that in to bootstrap_environment.sh.
* | SAML user attribute flags issue #5303 (PR #11430)John Westcott IV2022-01-101-1/+4
|/ | | | * Adding SAML option in SAML configuration to specify system auditor and system superusers by role or attribute * Adding keycloak container and documentation on how to start keycloak alongside AWX (including configuration of both)
* Update how ui tests are invoked on CInixocio2021-12-071-1/+1
| | | | | Update how ui tests are invoked on CI as an attempt to speed up test run.
* Allow customizing the receptor image in the development environment (#11374)Alan Rominger2021-11-191-3/+7
| | | | | | | | | * Allow for customizing the receptor image * Hook in receptor image to docker-compose template * Fix missing -e to pass into Dockerfile playbook * Add some docs
* Fix `make install_collection`Shane McDonald2021-10-191-2/+7
| | | | The version obtained from setuptools_scm is not compatible with ansible-galaxy collection install.
* Merge pull request #11242 from shanemcd/awx-operator-ci-checkShane McDonald2021-10-131-3/+12
|\ | | | | Add awx-operator CI check
| * Allow for building headless modeShane McDonald2021-10-131-3/+12
| | | | | | | | This will only be used in CI and maybe other places where we dont need a UI
* | Fix Makefile conditional used for docker-refresh (#11238)Alan Rominger2021-10-121-2/+2
|/
* Remove old test comparing VERSION filesShane McDonald2021-10-061-1/+0
|
* Remove VERSION files, obtain version from git tags.Shane McDonald2021-10-061-1/+1
|
* Update pip and setuptoolsShane McDonald2021-10-041-1/+1
|
* Fix docker-compose targetsShane McDonald2021-10-031-5/+5
|
* Clean up unused parts of MakefileShane McDonald2021-10-021-44/+1
|
* Make some needed updates to docker-refresh target (#11089)Alan Rominger2021-09-171-4/+6
|
* Allow manually running a health check, and make other adjustments to the ↵Alan Rominger2021-09-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | health check trigger (#11002) * Full finalize the planned work for health checks of execution nodes * Implementation of instance health_check endpoint * Also do version conditional to node_type * Do not use receptor mesh to check main cluster nodes health * Fix bugs from testing health check of cluster nodes, add doc * Add a few fields to health check serializer missed before * Light refactoring of error field processing * Fix errors clearing error, write more unit tests * Update health check info in docs * Bump migration of health check after rebase * Mark string for translation * Add related health_check link for system auditors too * Handle health_check cluster node timeout, add errors for peer judgement
* Delete images by id instead of tag in docker-refresh (#10957)Alan Rominger2021-08-271-1/+1
|
* create default IG when bringing up dev envJim Ladd2021-08-261-0/+1
|
* Add an option to create a cluster with control-only nodes (#10946)Alan Rominger2021-08-261-1/+2
|
* Minor tweaks for the mesh_code branch from review (#10902)Alan Rominger2021-08-241-1/+1
|
* Allow for dynamically scaling automation mesh in dev envShane McDonald2021-08-241-5/+4
|
* Template docker receptor yaml file, update Makefile to reflect this changebeeankha2021-08-241-1/+1
|
* Remove some diff that we dont want from PoCAlan Rominger2021-08-241-5/+0
|
* implement an initial development environment for receptor-based clustersRyan Petrello2021-08-241-1/+17
|
* Add new COMPOSE_OPTS variable to docker-compose up targetChristian M. Adams2021-08-191-1/+2
| | | | Signed-off-by: Christian M. Adams <chadams@redhat.com>
* Merge ui and ui_next in one dirnixocio2021-08-021-24/+24
| | | | | | | | | | | | Merge ui and ui_next in one dir See: https://github.com/ansible/awx/issues/10676 Update django .po files Update django .po files Run `awx-manage makemessages`.
* Fix docker-clean-volumes target when not using minikubeShane McDonald2021-07-231-1/+3
| | | | | | | | | Without this patch, you get: ``` tools/docker-compose-minikube/_sources/minikube delete make: tools/docker-compose-minikube/_sources/minikube: No such file or directory ```
* Merge pull request #10481 from brigzzy/compose_up_fixShane McDonald2021-07-221-1/+1
|\ | | | | Reorder docker compose up options
| * Reorder docker compose up optionsBrigzzy2021-06-201-1/+1
| |
* | Set maxworkers to 4Jake McDermott2021-07-201-1/+1
| |
* | Split out UI test and linters into different GHA jobsShane McDonald2021-07-201-1/+4
| |
* | Properly compile translated API stringsChristian M. Adams2021-07-191-1/+2
| |
* | Fix conditional to check that minikube should startSeth Foster2021-07-191-1/+1
| |
* | Incorporates Minikube to devel environmentMarcelo Moreira de Mello2021-07-151-2/+16
|/
* Create make target for api linter tasksShane McDonald2021-06-161-0/+5
|
* Only install ansible-core for collection testsShane McDonald2021-06-091-1/+1
| | | | Faster!
* Merge pull request #10390 from rooftopcellist/update-translationssoftwarefactory-project-zuul[bot]2021-06-081-3/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update translation make target for ui_next SUMMARY This adds the --clean flag to the extract-strings command (cleans up obsolete strings) and separates out the extract-template command. ISSUE TYPE Feature Pull Request COMPONENT NAME Translation Automation AWX VERSION 19.2.0 Reviewed-by: Jake McDermott <yo@jakemcdermott.me> Reviewed-by: Christian Adams <rooftopcellist@gmail.com> Reviewed-by: Alex Corey <Alex.swansboro@gmail.com>
| * Update translation make target for ui_nextChristian M. Adams2021-06-081-3/+6
| |
* | Introduce distinct controlplane instance groupShane McDonald2021-06-071-1/+1
|/
* Remove code and settings no longer usedAlan Rominger2021-05-241-2/+1
|
* Add a check for the existence of pre-commit.shJeff Bradberry2021-05-181-1/+3
| | | | so that you don't get stuck when working on branches that don't have this yet.