summaryrefslogtreecommitdiffstats
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Changes to run sanity tests locallyAlan Rominger2022-12-211-8/+12
| | | | | | | | | Use a Makefile arg for the ansible-test sanity CLI args defaults to --docker in the future we probably need to customize python versions Copy the rule exception for Ansible 2.15 this helps people who are running from Ansible devel
* Run sanity tests outside of our containerRick Elrod2022-12-211-1/+1
| | | | | | | | | | Also just ignore one sanity test for the export module, instead of ignoring all of them. Also use latest ansible-test, and make it work on GHA (by using podman instead of docker). Signed-off-by: Rick Elrod <rick@elrod.me>
* Run collection sanity tests in CI (#13356)Alan Rominger2022-12-201-4/+12
| | | | | | | | | | | | | | | * Run collection sanity tests in CI This requires adding a Makefile install of ansible-core Fake the version to make semver check happy * Fixes from ansible-test sanity failures * Exclude the export module due to awxkit requirement * Fix broken ansible-test rule exceptions remove Ansible 2.14 exclusions that make ansible-test ERROR, saying they are not needed
* Merge pull request #13274 from rooftopcellist/fix-messages-cmdShane McDonald2022-12-031-1/+1
|\ | | | | Fix make messages target by specify lang
| * Fix make messages target by specify langChristian M. Adams2022-12-021-1/+1
| |
* | Merge pull request #13268 from simaishi/fix_staticShane McDonald2022-12-031-6/+6
|\ \ | |/ |/| Copy UI static files to /var/lib/awx only for ui-devel build
| * Copy UI static files to /var/lib/awx only for ui-devel buildSatoe Imaishi2022-12-011-6/+6
| |
* | Remove LANG declaration in MakefileShane McDonald2022-12-011-1/+0
| | | | | | | | Not sure why this was there to begin with....
* | Fixing last minute version change of setuptools in the MakefileJohn Westcott IV2022-11-291-1/+1
| |
* | Fixing versions in MakefileJohn Westcott IV2022-11-281-1/+1
| |
* | General lib upgradesJohn Westcott IV2022-11-281-1/+1
|/
* Default to 0 execution nodes in dev envShane McDonald2022-11-151-2/+2
|
* Make installing minikube optional in dev setupSeth Foster2022-10-311-1/+2
|
* UI static files are now directly copied to the proper static dirJeff Bradberry2022-10-261-10/+11
| | | | | | | when running `make ui-devel`. Previously they were going to /awx_devel/awx/public/static, but that directory is no longer being served up by nginx, which forced us to have to run `make collectstatic` (or equivalent) to get the files to the right place.
* Pass --force when installing ui deps to get around dependency resolution ↵mabashian2022-09-261-1/+1
| | | | warnings
* add make target for building custom awx kube image (#12789)Hao Liu2022-08-301-0/+8
|
* Speed up image build when UI is pre-built on hostShane McDonald2022-08-301-1/+2
|
* Fix auto-generated dev env admin passwordShane McDonald2022-08-261-2/+7
| | | | Fallout from https://github.com/ansible/awx/pull/12753
* Allow for setting custom admin password in dev environmentShane McDonald2022-08-261-1/+2
|
* Fix make target for compiling api stringsChristian M. Adams2022-08-241-1/+1
|
* add help command to make (#12669)Hao Liu2022-08-171-20/+56
| | | | | | | add `make help` that prints all available make targets help text generated from comments above the make target starting with `##` Signed-off-by: Hao Liu <haoli@redhat.com>
* Merge pull request #12428 from djyasin/updating_setuppyShane McDonald2022-06-301-13/+5
|\ | | | | Updated setup.py --version to python3 -m setuptools_scm.
| * Remove setup.py entirelyShane McDonald2022-06-271-1/+1
| |
| * Transition from setup.py to setup.cfgShane McDonald2022-06-271-13/+5
| |
| * Updated setup.py --version to python3 -m setuptools_scm.Lila2022-06-241-2/+2
| |
* | Set default false valuesAlan Rominger2022-06-161-0/+4
| |
* | Remove old way of doing grafana graphsAlan Rominger2022-06-161-8/+0
| |
* | Add volumes to the clean commandAlan Rominger2022-06-161-1/+1
| |
* | Move visualization containers into docker-composeAlan Rominger2022-06-161-1/+3
|/
* Narrow down the inotifywait criteria for reloading the dev environmentJeff Bradberry2022-06-131-1/+1
| | | | | | - listen specifically within awx/awx, so that changes in awxkit or awx_collection don't trigger spurious reloads - expand the exclude pattern to ignore the test directories
* Variablizing the awx_template_version for building to allow release process ↵John Westcott IV2022-06-021-1/+2
| | | | to update the version in the module_util (#12248)
* Add make prometheus and make grafana commands to dev environmentSeth Foster2022-05-311-1/+6
|
* Adding ability to start and plumb splunk instance (#12183)John Westcott IV2022-05-091-1/+4
|
* Alternative code reloader for dev envShane McDonald2022-04-141-4/+5
| | | | I verified what Seth found in https://github.com/ansible/awx/pull/12052, but would really hate to lose this functionality. Curious if folks on the API team can try this and see if it works for them.
* Add setuptools_scm[toml] and pkgconfig, xmlsec's build depSatoe Imaishi2022-03-291-1/+1
|
* 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.