Shane McDonald
0184a7c267
Create receptor mesh in cluster development environment
2021-03-03 18:52:54 -05:00
Shane McDonald
81f6d36a3a
Set SDB_NOTIFY_HOST for all processes
2021-03-03 18:52:54 -05:00
Shane McDonald
f1df4c54f8
Begin integrating receptor
2021-03-03 18:52:54 -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
Alan Rominger
90b9c7861c
Allow jobs to run in the base ansible-runner image ( #8949 )
2021-03-03 18:52:54 -05:00
Alan Rominger
eb5bf599e3
Fix raw archive project updates
...
Several squashed commits
Fix git bug introduced by setting remote tmp in project path
change shebang back to py3 again
Revert shebang change
2021-03-03 18:52:54 -05:00
Alan Rominger
10e68c6fb3
Fix unit test fallout
2021-03-03 18:52:54 -05:00
Alan Rominger
49bdadcdbf
Fix yet another host vs container path bug
2021-03-03 18:52:54 -05:00
Alan Rominger
015fc29c1c
Fix another svn issue due to pre-existing folder
2021-03-03 18:52:54 -05:00
Alan Rominger
0dfb183cb6
Fix another credential path-in-container bug
2021-03-03 18:52:54 -05:00
Alan Rominger
ba14634318
Fix collection pep8 failure
2021-03-03 18:52:54 -05:00
Alan Rominger
b953478225
Change the default EE location
2021-03-03 18:52:54 -05:00
Jeff Bradberry
9964ba7c9a
Improve the behavior of EE resolution for ad hoc commands
...
- call resolve_execution_environment during AdHocCommand.save()
- wrap the fallback call of the resolver in tasks.py in disable_activity_stream()
2021-03-03 18:52:54 -05:00
Shane McDonald
12b8349e88
Show EE images that are managed by tower in UI
2021-03-03 18:52:54 -05:00
Jeff Bradberry
c74d60f3f3
Make sure that the new credential type is in the choices list
2021-03-03 18:52:54 -05:00
Jeff Bradberry
44ad6bfdce
Insert a default EE into the development environment
2021-03-03 18:52:54 -05:00
Jeff Bradberry
fde7a1e3e5
Ensure that the updated job instance is used
...
when attaching an EE.
2021-03-03 18:52:54 -05:00
Jeff Bradberry
4a0fc3e1af
Ensure that a fallback EE is available to be found
...
for the failing tests.
2021-03-03 18:52:54 -05:00
Jeff Bradberry
5f1da2b923
Adjust ExecutionEnvironmentAccess to account for the new EE admin role
2021-03-03 18:52:54 -05:00
Jeff Bradberry
e7bf81883b
Populate the EE name field in awxkit
2021-03-03 18:52:54 -05:00
Jeff Bradberry
4993a9e6ec
Move the resolve_execution_environment method to the mixin class
...
so that it can be used with AdHocCommands as well.
2021-03-03 18:52:54 -05:00
Jeff Bradberry
8562c378c0
Make use of the EE resolver code when launching jobs
2021-03-03 18:52:54 -05:00
Jeff Bradberry
6d935f740c
Fill in the new execution environment collection module
...
as well as changes to other ones that need to be able to attach EEs.
2021-03-03 18:52:54 -05:00
Jeff Bradberry
c1133b3f6d
Add in more model changes around execution environments
...
- a new unique name field to EE
- a new configure-Tower-in-Tower setting DEFAULT_EXECUTION_ENVIRONMENT
- an Org-level execution_environment_admin_role
- a default_environment field on Project
- a new Container Registry credential type
- order EEs by reverse of the created timestamp
- a method to resolve which EE to use on jobs
2021-03-03 18:52:54 -05:00
Alan Rominger
c0faa39b53
Remove files moved to the ansible/awx-ee repo
...
These have been moved to:
https://github.com/ansible/awx-ee
that will be the home for the processes needed to
build this execution environment.
2021-03-03 18:52:54 -05:00
Alan Rominger
7a433f4e8f
Change the shebang back to just python
2021-03-03 18:52:54 -05:00
Alan Rominger
2302496724
Add back in the subversion requirement
2021-03-03 18:52:54 -05:00
Alan Rominger
54681eb055
Add utility method to get controller private_data_dir
2021-03-03 18:52:54 -05:00
Alan Rominger
b716e2b099
Make insights integration tests pass again
2021-03-03 18:52:54 -05:00
Alan Rominger
69dcbe0865
More inventory update containerization fixes
2021-03-03 18:52:54 -05:00
Shane McDonald
14a8e3da5e
WIP: containerized inventory updates. Thanks ALAN!!
2021-03-03 18:52:54 -05:00
Shane McDonald
6ff1424e8c
Fix tests after rebasing in inventory update refactor
2021-03-03 18:52:54 -05:00
nixocio
9786dc08d3
Add organization as part of creating/editing an execution environments
...
Add organization as part of creating/editing an execution environments
If one is a `system admin` the Organization is an optional field. Not
providing an Organization makes the execution environment globally
available.
If one is a `org admin` the Organization is a required field.
See: https://github.com/ansible/awx/issues/7887
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
Alan Rominger
7c6975baec
Collections volume permission fix, and container group fix
...
Use same image for both types of container isolation
Inventory move fix related to container groups
2021-03-03 18:52:54 -05:00
Kersom
6e6cd51b4d
Update usage of summary_fields for execution environments ( #8217 )
...
Update usage of summary_fields for execution environments. Also, update
unit-tests to cover this change.
See: https://github.com/ansible/awx/issues/8216
2021-03-03 18:52:54 -05:00
Jeff Bradberry
3d233faed8
Expose the user capabilities dict for EEs ( #8208 )
2021-03-03 18:52:54 -05:00