Hao Liu
f62bf6a4c3
Fix supervisor conf file inconsistancy
2023-04-05 10:32:02 -04:00
John Westcott IV
b5c052b2e6
Adding import of centos repo key for dnf
2023-04-05 09:38:02 -04:00
Hao Liu
17f5c4b8e6
Modify dev make target name to clarify intention
...
these make targets are for starting the different daemons within the kube/docker development environment updating the name to make it better reflect their intention
also added comments above the make target to describe what they do
note: these comments show up when run `make help`
2023-03-30 08:47:18 -04:00
Hao Liu
6c0c1f6853
Rename launch script for launch awx web
...
launch_awx.sh that this PR rename is also now only use for launching awx web container renaming to reflect it's purpose
also remove the no longer needed creation of rsyslog conf as rsyslog is no longer in the web container
Update Dockerfile.j2
2023-03-29 22:09:19 -04:00
Hao Liu
0cc02d311f
Rename supervisor.conf.j2 to be descriptive
...
supervisor.conf.j2 file is the template for supervisor.conf file for the web container rename to supervisor_web.conf make it more clear that it is use for the web container
2023-03-29 22:09:19 -04:00
Lila
ac2f2039f5
Fix cache-clear for kube dev env
...
Missing conditional for when running in kube development environment
2023-03-29 22:09:19 -04:00
Lila
a1e39f71fc
Removed errant comments.
2023-03-29 22:09:19 -04:00
Hao Liu
4b0acaf7a1
Add back missing rsyslog.conf file
2023-03-29 22:09:19 -04:00
Hao Liu
7cb890b603
minor fix-up due to merge conflict
2023-03-29 22:09:18 -04:00
Rick Elrod
704759d29a
add wsrelay to tower-processes
...
Signed-off-by: Rick Elrod <rick@elrod.me >
2023-03-29 22:09:18 -04:00
Shane McDonald
ab6d56c24e
initial PoC for wsrelay
...
Checkpoint
2023-03-29 22:04:43 -04:00
Jessica Mack
026b8f05d7
added launch file, docker, and supervisor changes
...
Signed-off-by: Jessica Mack <jmack@redhat.com >
2023-03-29 22:04:43 -04:00
Lila Yasin
65b3e0226d
Created new rsyslog launch file. ( #13327 )
...
* Created new rsyslog launch file.
* Rsyslog conf work.
* Refining how we're calling rsyslog conf.
* Removed rsyslog so it no longer launches in the web container.
* Added the new launch_awx_rsyslog.sh to the /usr/bin
2023-03-29 22:04:43 -04:00
jainnikhil30
64b0e09e87
dont user githubusercontent for containers.conf and podman-containers.conf
2023-03-16 18:04:20 +05:30
Shane McDonald
2fca07ee4c
Allow serving app from non-root path in dev env
...
Usage:
$ EXTRA_SOURCES_ANSIBLE_OPTS='-e ingress_path=/awx' make docker-compose
$ curl http://localhost:8013/awx/api/v2/ping/
2023-02-24 09:29:17 -05:00
Shane McDonald
6cee99a9f9
Pin rsyslog to prevent crash
...
With the latest version of rsyslog we had a test failing with:
AssertionError: Response data: {'error': "b'rsyslog internal message (3,-2455): could not transfer the specified internal posix capabilities settings to the kernel, capng_apply=-5\\n [v8.2102.0-107.el9 try https://www.rsyslog.com/e/2455 ]\\n'"}
Downgrading fixes it
2023-01-04 08:19:20 -05:00
Jeff Bradberry
8054c6aedc
Make sure that the psql pager does not clear the screen afterwards
...
Also, avoid paging if there is a single page.
2022-12-06 10:46:47 -05:00
Jeff Bradberry
57430afc55
Configure dbshell to use the 'less' pager
2022-12-02 12:31:49 -05:00
Shane McDonald
63fd18edcb
Merge pull request #12736 from Sunidhi-Gaonkar1/devel
...
Adding ppc64le support parameters
2022-10-04 08:37:38 -04:00
Sunidhi-Gaonkar1
d0b95c063b
Adding ppc64le support parameters
2022-09-22 15:28:01 +05:30
Hao Liu
73f808dee7
remove helm from dockerfile template
...
Signed-off-by: Hao Liu <haoli@redhat.com >
2022-08-31 13:48:30 -04:00
Shane McDonald
609c67d85e
Prevent openldap from getting downgraded during build
...
We noticed here that openldap was getting downgraded and caused our test suite to blow up https://github.com/ansible/awx/runs/8118323342?check_suite_focus=true
2022-08-31 13:09:29 -04:00
Shane McDonald
6d11003975
Remove need for settings.py during image build
2022-08-22 13:46:42 -04:00
Shane McDonald
37d9c9eb1b
Consolidate and refactor logging configuration code
2022-08-19 17:16:27 -04:00
Shane McDonald
fcebd188a6
Fix Kubernetes dev environment + update docs
2022-08-01 10:45:10 -04:00
Shane McDonald
0d097964be
Automatically install setuptools-scm in script called from Makefile
2022-07-22 12:59:39 -04:00
Shane McDonald
cbea36745e
Transition from setup.py to setup.cfg
2022-06-27 13:30:01 -04:00
Shane McDonald
89c2a4c6ed
Alternative code reloader for dev env
...
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.
2022-04-14 09:42:17 -04:00
nixocio
28f25d5aba
Downgrade min required node LTS
...
Downgrade min required node LTS
2022-04-07 14:56:52 -04:00
Shane McDonald
39905b33cd
Replace tini with dumb-init
...
dumb-init is more actively maintained, available on pypi, and already used for both upstream and downstream EEs
2022-03-29 14:08:09 -04:00
Shane McDonald
0cbc802cf4
Use the same settings on each supervisor entry
...
I didnt see a reason for the weird inconsistencies here.
2022-03-29 14:07:54 -04:00
Shane McDonald
270497eda1
Kill all control plane processes if one of them fails to boot
2022-03-23 18:40:23 -04:00
Shane McDonald
dbcdb825b0
Remove awx-config-watcher from kube dev env
2022-03-23 18:37:16 -04:00
nixocio
87b1f0d0de
Bump node to LTS version
...
Bump node to LTS version
2022-02-14 12:41:11 -05:00
Shane McDonald
4ded4afb7d
Move production UWSGI config to a file
2022-02-03 19:00:07 -05:00
Marcelo Moreira de Mello
e3b44c3950
Includes gettext on build-deps for multi-stage builds
2022-02-02 14:12:27 -05:00
Seth Foster
b3c20ee0ae
Install ps in dev image
2022-01-26 18:12:52 -05:00
Shane McDonald
675d4c5f2b
Install hostname in dev image
2022-01-26 14:39:57 -05:00
Shane McDonald
5660f9ac59
Merge pull request #11514 from shanemcd/python39
...
Upgrade to Python 3.9
2022-01-26 10:59:14 -05:00
Shane McDonald
35ba321546
Unpin virtualenv version
2022-01-25 17:41:38 -05:00
Shane McDonald
2fe7fe30f8
Remove epel
...
This doesnt seem to be needed anymore
2022-01-25 17:39:42 -05:00
Shane McDonald
44968cc01e
Upgrade to Python 3.9
2022-01-24 12:21:20 -05:00
Shane McDonald
eb33b95083
Merge pull request #11548 from shanemcd/revert-11428
...
Revert "Make awx-python script available in k8s app images"
2022-01-24 12:10:01 -05:00
nixocio
b1e9537499
Bump node and npm versions inside container
...
Bump node and npm versions inside container
Prepating to bump react scripts to 5.0.
See: https://github.com/ansible/awx/issues/11543
2022-01-17 20:33:47 -05:00
Shane McDonald
9d636cad29
Revert "Make awx-python script available in k8s app images"
...
This reverts commit 88bbd43314 .
2022-01-15 10:38:50 -05:00
Marcelo Moreira de Mello
69ec49d0e9
Disable awx-config-watcher on OCP
2022-01-05 17:02:14 -05:00
Christian M. Adams
88bbd43314
Make awx-python script available in k8s app images
2021-12-07 13:48:32 -05:00
Alan Rominger
099efb883d
Allow customizing the receptor image in the development environment ( #11374 )
...
* 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
2021-11-19 14:00:23 -05:00
Shane McDonald
f6e63d0917
Fix official image builds
...
I broke everything in https://github.com/ansible/awx/pull/11242 .
These changes were necessary in order to run `awx-manage collectstatic` without a running database.
2021-11-13 06:07:37 +00:00
Bryan Havenstein
3a636c29ab
Fix dev build (docker-compose) problems
...
Prevent deletion of nginx user by entrypoint.sh
- Fixes: https://github.com/ansible/awx/issues/9552
Enable fuse-overlayfs in all images - native overlay not supported until kernel 5.13+
- Fixes: https://github.com/ansible/awx/issues/10099
Refs:
https://www.redhat.com/sysadmin/podman-rootless-overlay
https://www.redhat.com/en/blog/working-container-storage-library-and-tools-red-hat-enterprise-linux
2021-10-27 15:55:57 -06:00