Christian M. Adams
36466b9694
Upgrade PostgreSQL from 10 to 12
2021-01-08 10:54:00 -05:00
Shane McDonald
ab6430e50d
Dramatically simplify image_build role
...
This does a few things:
- Removes need for awx_sdist_builder image
- Reorders Dockerfile steps to optimize image cache between prod and dev builds
- Unifies VENV_BASE and COLLECTION_BASE in prod and dev builds
2020-12-26 13:16:42 -05:00
Shane McDonald
8ceb505977
Add standalone target for rendering official Dockerfile
...
With the next commit it will be possible to run:
```
$ make Dockerfile
$ docker build .
```
2020-12-26 13:16:40 -05:00
Shane McDonald
f951aa24bf
More sane way of building the official AWX image
2020-12-22 14:27:47 -05:00
Shane McDonald
106d90aeb3
Remove launch scripts from configmaps
...
The duplication of these scripts has been bothering me for a while. They dont
get enough usage to justify their existence.
2020-12-22 09:12:03 -05:00
Yanis Guenane
14685b9157
NodeJS: Bump to actively maintained LTS 14.15.1
2020-12-07 18:14:35 +01:00
Christian M. Adams
8795d860d6
Fix image build - powertools repo ref changed
2020-12-07 11:08:00 -05:00
JAKUBIS Peter H50R8VA
a5f676c3e1
make preload data optional again
...
Signed-off-by: JAKUBIS Peter H50R8VA <peter.jakubis@erstegroup.com >
2020-12-02 16:17:25 +01:00
Alan Rominger
44e6e9344b
Remove mercurial support
2020-12-01 14:06:34 -05:00
jerosa
7e0d2aabbd
Add Git-LFS to build image
2020-11-28 14:13:59 +01:00
Nicolas G
b4a45e4cf4
Add helm installation ( #8551 )
...
Update to address https://github.com/ansible/awx/issues/8551
Install `helm` binaries along with `kubectl`
2020-11-05 17:49:04 -05:00
Bill Nottingham
7a9eff7e65
Don't write a tower_version file in awx
2020-11-02 12:54:51 -05:00
odroid
8a325d40e4
create_preload_data | bool in launch_awx_task.sh.j2
2020-10-26 15:22:29 -04:00
Christian M. Adams
e7b5f311b5
Include Gettext in dev container image for translation automation
2020-09-29 08:53:18 -04:00
softwarefactory-project-zuul[bot]
0c7bfa543b
Merge pull request #8001 from velzend/allow_skipping_provision_instance_and_register_queue
...
allow skipping provision instance and register queue
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-09-28 15:20:35 +00:00
soomsoom
014a38682d
Adding unzip dnf package
...
Adding unzip DNF package to resolve an issue with the unarchive module when run locally
2020-09-10 06:26:07 -04:00
tp48cf
d9e09f482d
allow skipping provision instance and register queue
2020-08-26 15:56:01 +02:00
Andrew Gaffney
02252f3f97
ARM image build support
...
* upgrade `chromedriver` for ARM support
* upgrade `pynacl` to fix `libsodium` build issue on ARM
* remove unnecessary i686-specific `libstdc++.so.6` package
* install `kubectl` and `tini` from upstream binaries for ARM support
* use upstream `postgres` and `alpine` docker images for `postgresql` helm chart
Fixes #7051
2020-07-31 14:22:35 -04:00
Ryan Petrello
31ab386591
move tmux to dev dependencies
2020-06-19 08:47:11 -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
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
softwarefactory-project-zuul[bot]
4a5edf7b88
Merge pull request #7184 from wenottingham/a-preview-of-whats-to-come
...
Remove dev env futzing of supervisord.conf permissions
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-06-04 21:47:02 +00:00
Bill Nottingham
64e3135754
Only build one awx image instead of separate web and task images
2020-06-03 10:48:48 -04:00
Bill Nottingham
559d917184
Make supervisor more consistent
...
Configs go in /etc, sockets in /var/run/supervisor for all invocations.
2020-06-02 19:51:16 -04:00
Bill Nottingham
131f5ff018
Remove dev env futzing of supervisord.conf permissions
...
If we just link it into the dev env, we don't need to copy it at
startup, and we don't need write permissions on it.
2020-05-28 13:12:57 -04:00
Jake McDermott
17efb34c6a
Retry chromium download in zuul
2020-05-19 10:19:38 -04:00
Ryan Petrello
54178a1982
stop pre-generating awx.egg-info
2020-05-15 11:47:53 -04:00
Shane McDonald
c370cb4d93
Get OpenShift / arbitrary user ids working again
2020-05-15 08:32:43 -04:00
Bill Nottingham
6924466c0b
Also precreate /venv in /dev with modifiable permissions.
2020-05-14 15:33:21 -04:00
Bill Nottingham
1808bed2e8
Add nss for the chrome UI unit tests
2020-05-14 15:32:06 -04:00
Bill Nottingham
8b51e8eb82
Stage rsyslog.conf from existing version so we don't have two copies.
2020-05-14 15:02:32 -04:00
Bill Nottingham
66245d3094
Reorganize both dev and prod container builds
...
Use only one (templated) docker file for both builds.
Move to two-stage container builds in order to save space in the
final image.
2020-05-14 15:02:32 -04:00
Seth Foster
4da0e0dd80
Vendor collections for isolated jobs to work in ansible 2.10
...
kubectl and synchronize are now part of community.kubernetes
and ansible.posix collections, respectively. This change installs
these collections to a local directory to be used in inventory and
isolated management playbooks.
awx issue #6930
2020-05-13 10:41:01 -04:00
Yanis Guenane
541b9607f5
Collections: Adding a requirements.yml file
2020-04-16 20:55:59 -04:00
softwarefactory-project-zuul[bot]
e19194b883
Merge pull request #6721 from shanemcd/dockerfile-cleanup
...
Dockerfile organization
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2020-04-16 14:48:58 +00:00
Shane McDonald
29a582f869
Dockerfile organization
2020-04-15 14:43:59 -04:00
Christian Adams
c8ceb62269
Rename awx rsyslog socket and PID dir
2020-04-15 14:11:15 -04:00
Ryan Petrello
9440785bdd
properly set the group on the rsyslog config
2020-04-13 19:46:34 -04:00
Christian Adams
5d54877183
Add action to default rsyslog.conf so supervisor starts correctly the first time
2020-04-13 11:44:00 -04:00
Christian Adams
b942fde59a
Ensure log messages have valid json
...
- Fix messages getting contatenated at 8k
- Fix rsyslog cutting off the opening brace of log messages
- Make valid default conf and emit logs based on prescence of .sock and
settings
2020-04-13 11:44:00 -04:00
Christian Adams
2329c1b797
Add rsyslog config to container from file for consistency
2020-04-13 11:43:59 -04:00
Christian Adams
4d5507d344
Add default rsyslog.conf without including /etc/rsyslog.conf
2020-04-13 11:43:59 -04:00
Shane McDonald
c0af3c537b
Configure rsyslog to listen over a unix domain socket instead of a port
...
- Add a placeholder rsyslog.conf so it doesn't fail on start
- Create access restricted directory for unix socket to be created in
- Create RSyslogHandler to exit early when logging socket doesn't exist
- Write updated logging settings when dispatcher comes up and restart rsyslog so they take effect
- Move rsyslogd to the web container and create rpc supervisor.sock
- Add env var for supervisor.conf path
2020-04-13 11:43:59 -04:00
Christian Adams
955d57bce6
Upstream rsyslog packaging changes
...
- add rsyslog repo to Dockerfile for AWX installation
- Update Library Notes for requests-futures removal
2020-04-13 11:43:59 -04:00
Shane McDonald
bb319136e4
Merge pull request #6585 from shanemcd/cleanup-cleanup
...
Tidy up the dev environment a bit
2020-04-06 13:09:39 -04:00
Shane McDonald
6fc815937b
Tidy up the dev environment a bit
2020-04-06 11:13:51 -04:00
chris meyers
37a715c680
use memcached unix domain socket rather than tcp
2020-04-06 08:35:12 -04:00
chris meyers
770b457430
redis socket support
2020-03-18 16:10:19 -04:00
chris meyers
e94bb44082
replace rabbitmq with redis
...
* local awx docker-compose and image build only.
2020-03-18 16:10:17 -04:00