Commit Graph
100 Commits
Author SHA1 Message Date
Shane McDonald f985376d64 Remove invocation of Ansible from launch script
This was missed in the initial EE PR. Ansible is no longer installed inside of
the web & task containers, causing this to show up in the container logs:

```
/usr/bin/launch_awx.sh: line 18: ansible: command not found
/usr/bin/launch_awx.sh: line 19: ansible: command not found
```
2021-04-03 11:53:41 -04:00
Shane McDonald 5180fccd12 Update receptor version used in dev environment 2021-03-31 16:20:26 -04:00
Shane McDonald c39a4051d7 Use receptorctl from pypi 2021-03-31 15:10:25 -04:00
Shane McDonald 4a726b7f6f Fix race condition that causes InvalidGitRepositoryError 2021-03-30 13:33:17 -04:00
Shane McDonald 54308c5fa1 Use Ansible Runner 2.0 alpha 1 2021-03-30 09:08:39 -04:00
Shane McDonald 4beeeae9f1 Fix k8s credentials that use a custom ca cert 2021-03-29 17:49:50 -04:00
Shane McDonald b73759e380 Fix collection test 2021-03-29 15:03:28 -04:00
Shane McDonald a5b29201a4 Update tests to use ee fixture 2021-03-29 14:45:21 -04:00
Shane McDonald f80c2cbfc3 Delete test for unused code 2021-03-29 14:45:03 -04:00
Shane McDonald 3d533e5661 Fix container group OPTIONS request 2021-03-29 13:26:59 -04:00
Shane McDonald 91351f7e3b Fix default setting for KEEP_POD 2021-03-29 13:13:05 -04:00
Shane McDonald 9bc0bf0ee7 Fix inventory updates when running inside of k8s 2021-03-29 13:09:56 -04:00
Shane McDonald 9d17d40b86 Add setting for keeping container group pod after job run
Helpful for debugging
2021-03-29 13:09:31 -04:00
Shane McDonald eeb6aaaea9 Always use EE resolving logic 2021-03-29 13:09:13 -04:00
Shane McDonald 1e9b221486 Use revolved EE for Container Group tasks 2021-03-29 13:05:57 -04:00
Shane McDonald 8fb393c0a1 Fix awxkit function that detects private data directories in job args 2021-03-29 09:11:56 -04:00
Shane McDonald eac7c409d1 Hide commands that are being run for make black 2021-03-26 17:11:04 -04:00
Shane McDonald f8a698d127 Update minikube.md 2021-03-25 15:21:01 -04:00
Shane McDonald 8bb90dde33 Devel images are now on Quay 2021-03-25 13:27:19 -04:00
Shane McDonald 14f42af700 Update CHANGELOG.md 2021-03-23 10:30:59 -04:00
Shane McDonald ff00239c09 Update CHANGELOG.md 2021-03-22 13:05:52 -04:00
Shane McDonald fc7b2212e6 Merge pull request #9652 from shanemcd/fix-changelog-dates
Fix changelog dates
2021-03-22 12:53:36 -04:00
Shane McDonald ade0734af7 Fix changelog dates 2021-03-22 12:42:40 -04:00
Shane McDonald 1efd189d52 Revert "Remove search filtering from changelog"
This reverts commit f6fb3e0b41.
2021-03-22 12:40:11 -04:00
Shane McDonald fd63937fa2 Create a wrapper directory for the private data dir 2021-03-22 09:24:48 -04:00
Shane McDonald f6fb3e0b41 Remove search filtering from changelog
This has not landed yet
2021-03-19 09:01:33 -04:00
Shane McDonald 9f91190f4b Add changelog entries for installer directory and custom venv removals 2021-03-18 18:56:47 -04:00
Shane McDonald d7b8a20a75 Use correct image for awx-manage inventory_import 2021-03-18 15:18:47 -04:00
Shane McDonald d98e4c304f Fix paths used for detecting and copying awx-logos 2021-03-18 15:09:45 -04:00
Shane McDonald 19d0524461 Dont require is_container_group in payload when creating InstanceGroups 2021-03-16 16:46:24 -04:00
Shane McDonald 876d4316e1 Fix collection tests 2021-03-15 14:14:03 -04:00
Shane McDonald 4a4d25329b Update instance_group module with is_container_group 2021-03-15 13:34:45 -04:00
Shane McDonald e6f06a95da Remove unnecessary code from launch script
- Ansible is no longer installed on the control plane
- We register the instance / instance group at dispatcher startup
2021-03-15 13:30:31 -04:00
Shane McDonald b15a75676d Fix container group tests 2021-03-15 13:28:40 -04:00
Shane McDonald 1c4a376758 Explicit db field for is_container_group
We now have Container Groups that dont require a credential.
2021-03-15 13:28:39 -04:00
Shane McDonald 836335b4c5 Update inventory_import to run inside of an EE 2021-03-15 12:17:19 -04:00
Shane McDonald afe8dc6ad9 Fix sdb in dev env 2021-03-05 17:41:25 -05:00
Shane McDonald 6df65c95a7 Update INSTALL.md 2021-03-04 18:34:39 -05:00
Shane McDonald 119e80c717 Delete the old installer directory 2021-03-04 18:28:49 -05:00
Shane McDonald 69edef430c Get clustered dev env working 2021-03-04 14:56:22 -05:00
Shane McDonald a3a47834fd Create admin user / run create_preload_data when dev env boots 2021-03-04 11:26:43 -05:00
Shane McDonald aab58f5ae7 Dont require credential for Container Groups
Might want to follow up and make this only apply to Tower on Kubernetes
2021-03-03 18:56:07 -05:00
Shane McDonald 29ff69a774 For container group pods, use namespace Tower is deployed into by default 2021-03-03 18:56:07 -05:00
Shane McDonald 609b17aa20 Use receptor 0.9.6 2021-03-03 18:56:07 -05:00
Shane McDonald e23a2b4506 Use var instead of set_fact 2021-03-03 18:56:07 -05:00
Shane McDonald eba12a6207 Add ui_next to .dockerignore 2021-03-03 18:56:07 -05:00
Shane McDonald 03c5cc779b Only install podman in local dev env 2021-03-03 18:56:07 -05:00
Shane McDonald 065b943870 Fix mode for k8s launch scripts 2021-03-03 18:56:07 -05:00
Shane McDonald adf708366a Add "copy" to EE related links 2021-03-03 18:52:55 -05:00
Shane McDonald befc658042 Wire up --pull option for EEs 2021-03-03 18:52:55 -05:00
Shane McDonald 883fa4906a Fix receptor.conf path in dev env 2021-03-03 18:52:55 -05:00
Shane McDonald ae5a1117d4 Use official Receptor 0.9.5 release 2021-03-03 18:52:55 -05:00
Shane McDonald 05ef51f710 Add migration to reset custom pod specs 2021-03-03 18:52:55 -05:00
Shane McDonaldandJake McDermott 0381a3ac8c Container Pull Option -> Pull
Co-authored-by: Jake McDermott <yo@jakemcdermott.me>
2021-03-03 18:52:55 -05:00
Shane McDonald 6a7520d10f Handle quota exceeded in Container Groups v2 2021-03-03 18:52:55 -05:00
Shane McDonald f2dfa132a7 Install Ansible only for collection tests 2021-03-03 18:52:55 -05:00
Shane McDonald ddcbc408b9 Remove Ansible from control plane
Execution Environments or bust!
2021-03-03 18:52:55 -05:00
Shane McDonald ea39cbce73 Update receptor.conf in dev env 2021-03-03 18:52:55 -05:00
Shane McDonald 44d7d68322 Update default ee image 2021-03-03 18:52:55 -05:00
Shane McDonald 9f39bab2b8 Quick fix for jobs failing in dev environment / VMs
The other alternative here is to go all the way with
https://github.com/ansible/ansible-runner/pull/617, which is proving to be
difficult if not impossible.
2021-03-03 18:52:55 -05:00
Shane McDonald 8eb4dafb17 Fix missing postgresql module 2021-03-03 18:52:55 -05:00
Shane McDonald 428f8addf8 Create default EE as a part of create_preload_data 2021-03-03 18:52:55 -05:00
Shane McDonald 57b317d440 Get system jobs working under new deployment model (#9221) 2021-03-03 18:52:55 -05:00
Shane McDonald 9f97efece8 Stop and kill dispatcher and callback reciever as group 2021-03-03 18:52:55 -05:00
Shane McDonald 1a68df275c Set correct SDB_NOTIFY_HOST in minikube env 2021-03-03 18:52:55 -05:00
Shane McDonald 86363e260e Provide new default pod defintion in CG metadata (#9181) 2021-03-03 18:52:55 -05:00
Shane McDonald fd0c4ec869 Pin to latest version of PyYAML
Fixes https://github.com/yaml/pyyaml/issues/478
2021-03-03 18:52:55 -05:00
Shane McDonald e63383bde6 Add PATH to blocked inventory source vars
This used to be skiped because PATH was already present in the env we
constructed for runner.
2021-03-03 18:52:55 -05:00
Shane McDonald c6be92cdf6 Create awx group in container 2021-03-03 18:52:55 -05:00
Shane McDonald 341e1e34e3 Dont zip/unzip private data dir for local jobs 2021-03-03 18:52:55 -05:00
Shane McDonald 70755a395b Make receptorctl easier to use in dev env 2021-03-03 18:52:55 -05:00
Shane McDonald fe9b24cde2 flake8 2021-03-03 18:52:55 -05:00
Shane McDonald 70f7a082bb Minimally functional container group v2 w/ receptor 2021-03-03 18:52:55 -05:00
Shane McDonald 9df29e8fc4 Use official awx-ee by default 2021-03-03 18:52:55 -05:00
Shane McDonald d37cb64aaf Delete some old container group v1 code 2021-03-03 18:52:55 -05:00
Shane McDonald 1d9f01a201 Deleted unused build_params_process_isolation method 2021-03-03 18:52:55 -05:00
Shane McDonald 373bb443aa UnifiedJob#is_containerized -> UnifiedJob#is_container_group_task 2021-03-03 18:52:55 -05:00
Shane McDonald 286b1d4e25 InstanceGroup#is_containerized -> InstanceGroup#is_container_group 2021-03-03 18:52:55 -05:00
Shane McDonald 7b7465f168 Update receptor config to allow for runtime options 2021-03-03 18:52:55 -05:00
Shane McDonald 521d3d5edb Initial EE integration 2021-03-03 18:52:54 -05:00
Shane McDonald acee22435b Update ExecutionEnvironments.jsx with breadcrumb replacement 2021-03-03 18:52:54 -05:00
Shane McDonald 0c497fa682 Get podman-in-docker working under cgroups v2 2021-03-03 18:52:54 -05:00
Shane McDonald ecaa66c13b Fix linter 2021-03-03 18:52:54 -05:00
Shane McDonald ee1d322336 WIP: Module for EEs 2021-03-03 18:52:54 -05:00
Shane McDonald 1f4a45a698 Remove "pull" field from EE mixin
I think this should go on the EE definition itself
2021-03-03 18:52:54 -05:00
Shane McDonald 966bb6fc74 Back to green 2021-03-03 18:52:54 -05:00
Shane McDonald f554f45288 Add license for receptor 2021-03-03 18:52:54 -05:00
Shane McDonald 5c2b2dea0c REVERT ME: Install community.general in image
This is needed for the wait_fors in the launch scripts to work
2021-03-03 18:52:54 -05:00
Shane McDonald fd9373a9ec Use official receptor image 2021-03-03 18:52:54 -05:00
Shane McDonald 82a641e173 Add AWX EE definition 2021-03-03 18:52:54 -05:00
Shane McDonald 490f719fd9 Add new ee container 2021-03-03 18:52:54 -05:00
Shane McDonald 46f5cb6b7a Install receptorctl in awx venv 2021-03-03 18:52:54 -05:00
Shane McDonald efb25b7b9e Use WIP version of collections_requirements.yml
Pulled from ansible-builder/test/data/awx
2021-03-03 18:52:54 -05:00
Shane McDonald 87b13ead12 REVERT ME: Install ansible/devel for now 2021-03-03 18:52:54 -05:00
Shane McDonald 06d7a61ca1 Initial EE integration 2021-03-03 18:52:54 -05:00
Shane McDonald 7ae19a8ba3 Fix tests 2021-02-23 14:50:27 -05:00
Shane McDonald 7394535022 Remove default SECRET_KEY
We should never be using default values for sensitive information
2021-02-23 08:46:42 -05:00
Shane McDonald 70325fd249 Remove nodejs from list of required dependencies to install 2021-02-22 13:44:22 -05:00
Shane McDonald e935b06c39 Fix docker-compose-clean 2021-02-22 13:44:22 -05:00
Shane McDonald 8f9758803e Set compose project dir for backwards compatibility 2021-02-22 13:44:22 -05:00