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 McDonald and Jake 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
Shane McDonald
0e2fb02185
Fix test notifications
2021-02-08 17:49:20 -05:00
Shane McDonald
47740f62f4
Add ingress variable to minikube doc
2021-01-26 15:18:37 -05:00
Shane McDonald
fb7b36cfbd
Add note about needing openshift python lib
2021-01-26 15:14:06 -05:00
Shane McDonald
ba8c44f8a6
Add note on how to access AWX in minikube
2021-01-26 15:07:04 -05:00
Shane McDonald
bda4db462f
Enable inline caching for image builds
2021-01-26 10:24:35 -05:00
Shane McDonald
7c8bd47198
Minikube-based development environment
...
Works in conjunction with https://github.com/ansible/awx-operator/pull/71
See docs/development/minikube.md
2021-01-25 18:03:17 -05:00
Shane McDonald
54e1a802c5
Dont fail imagee builds because of debuginfo repo problems
2021-01-20 15:34:38 -05:00
Shane McDonald
aabb55810b
Do not set default admin_password
2021-01-19 11:32:06 -05:00
Shane McDonald
66bdcee854
Address rebase fallout
2020-11-30 11:35:31 -05:00
Shane McDonald
e61f79c8c3
Fix tests
2020-11-30 11:35:30 -05:00
Shane McDonald
df43221c24
Makefile logic to retry failed galaxy installs
2020-10-15 10:43:48 -04:00
Shane McDonald
8ae328e427
Switch back to built-in kubectl connection plugin
...
There's a bug in the upstream community.kubernetes plugin. We can open up a
follow-up PR once that has been patched.
2020-08-20 21:42:07 -04:00
Shane McDonald
54e87378d5
Pin pytest-xdist
2020-08-17 20:43:02 -04:00
Shane McDonald
00ea453ccd
Fix isolated dev env
2020-08-04 17:25:57 -04:00
Shane McDonald
606296f68b
Fix broken offline builds
2020-07-21 18:19:51 -04:00
Shane McDonald
e26387cdf3
Remove references to old images
2020-07-01 14:57:48 -04:00
Shane McDonald
7f81f530fa
Copy over downstream change
...
Allows users to specify pg_username that has uppercase letters to restore succesfully
2020-07-01 14:40:38 -04:00
Shane McDonald
43bf2989af
Support PVCs that were created w/ WaitForFirstConsumer
2020-06-17 16:40:33 -04:00
Shane McDonald
51b0c51605
Remove local port binding for postgres in dev env
...
I dont think we need to bind this port at the host level. This will allow us to
run the galaxy_ng dev tooling side-by-side with AWX.
2020-06-17 13:34:55 -04:00
Shane McDonald
de82c613fc
Make tests pass with current versions of things
2020-06-15 23:13:44 -04:00
Shane McDonald
e035eea95a
Merge pull request #7188 from mo-saeed/devel
...
Reshape security context for AWX containers
2020-06-11 15:26:58 -04:00
Shane McDonald
85deb8711c
Add queue / instance group registration to heartbeat for k8s installs
...
There is some history here.
https://github.com/ansible/awx/pull/7190 <- This PR was an attempt at fixing a
bug notting ran into where some jobs on k8s installs would get stuck in Waiting
forever.
The PR mentioned above introduced a bug where there are no instance groups on a
fresh k8s-based install. This is because this process currently happens in the
launch scripts, before the database is up.
With this patch, queue / instance group registration happens in the heartbeat,
right after auto-registering the instance.
2020-06-10 16:55:27 -04:00
Shane McDonald
423df6618d
Force containers in k8s to run under root group
...
Normally containers belong to the 'root' group, but for some reason the
downstream red hat scl redis image only belongs to the 'redis' group by default. This fixes that.
2020-06-10 13:40:15 -04:00
Shane McDonald
2bbbb04499
Bump version to 12.0.0
2020-06-09 12:19:17 -04:00
Shane McDonald
460f31a05d
Fix up test that was only failing in dev env
...
I'm not sure how this one slipped by. The default config is built into the
image, but we were bind-mounting an empty directory on top of it.
2020-06-06 08:58:43 -04:00
Shane McDonald
91dbc2de30
Add queue / instance group registration to heartbeat for k8s installs
...
There is some history here.
https://github.com/ansible/awx/pull/7190 <- This PR was an attempt at fixing a
bug notting ran into where some jobs on k8s installs would get stuck in Waiting
forever.
The PR mentioned above introduced a bug where there are no instance groups on a
fresh k8s-based install. This is because this process currently happens in the
launch scripts, before the database is up.
With this patch, queue / instance group registration happens in the heartbeat,
right after auto-registering the instance.
2020-06-06 08:58:35 -04:00
Shane McDonald
747fdf38d8
Stop bouncing k8s deployment post-install
...
We shouldnt need to do this now that RabbitMQ autoclustering is gone.
2020-05-29 13:47:33 -04:00
Shane McDonald
cdfc9e05d4
Fix offline RHEL 8 builds
...
This was causing our EL8 Brew builds to break, because it wasn't being
vendored. This is in fact required for python3. It was being resolved as a
dependency of other things (see list at end of line), so it was being downloaded
on-the-fly since our normal builds have internet access. It only broke when it
wasn't vendored for offline builds.
2020-05-15 17:52:08 -04:00
Shane McDonald
c370cb4d93
Get OpenShift / arbitrary user ids working again
2020-05-15 08:32:43 -04:00
Shane McDonald
c3ff7ab247
Do not start services when generating swagger docs
2020-05-12 16:35:09 -04:00
Shane McDonald
a461df0e4d
Fix installer for oc 4.3
2020-05-06 11:40:07 -04:00
Shane McDonald
e9cda0c819
Merge pull request #4292 from shanemcd/fix-inventory-plugin-permissions
...
Fix permissions for vendored collections in dev env
2020-05-04 15:38:17 -04:00
Shane McDonald
a98887deb0
Update INVENTORY_COLLECTIONS_ROOT in dev env settings
2020-05-04 14:23:05 -04:00
Shane McDonald
b12c0def7d
Fix permissions for vendored collections in dev env
2020-05-04 12:44:04 -04:00
Shane McDonald
9be1fd56d2
Remove problematic variable
...
This is already here: https://github.com/ansible/awx/blob/devel/installer/roles/kubernetes/defaults/main.yml#L58
Was also causing downstream stuff to break.
2020-04-30 11:09:06 -04:00