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
428f8addf8
Create default EE as a part of create_preload_data
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
70f7a082bb
Minimally functional container group v2 w/ receptor
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
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
Alan Rominger
b953478225
Change the default EE location
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
Shane McDonald
490f719fd9
Add new ee container
2021-03-03 18:52:54 -05:00
Shane McDonald
06d7a61ca1
Initial EE integration
2021-03-03 18:52:54 -05:00
Jeff Bradberry
3cbf384ad1
Run a receptor node in the dev environment
2021-03-03 18:52:54 -05:00
Ryan Petrello
c245abefcb
some more data migration notes
...
some things I noticed while going through an upgrade
2021-02-23 17:23:37 -05:00
Christian M. Adams
2097b014e8
fix dev env migrate.yml path in docs
2021-02-23 16:04:22 -05:00
softwarefactory-project-zuul[bot]
fb6ce4bed3
Merge pull request #9387 from rooftopcellist/secret_key_dev
...
Mount SECRET_KEY into dev env & document it
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2021-02-23 20:22:58 +00:00
Christian M. Adams
1b6976205c
Add ansible requirement for dev env docs
2021-02-23 13:03:47 -05:00
Christian M. Adams
2239c8d6e5
Add full path to data migration example in docs
2021-02-23 09:07:37 -05:00
Christian M. Adams
ec40f62c4d
Mount SECRET_KEY into dev env & document it
2021-02-22 18:46:47 -05:00
Christian M. Adams
b583aeb646
Pass docker project_name whenever docker-compose is used
...
- Also, do no explicitly name containers
2021-02-22 17:05:51 -05:00
Christian M. Adams
af6af052d0
Remove unneeded roles from the installer directory
2021-02-22 15:37:24 -05:00
Christian M. Adams
9672e72834
Consolidate the Local Docker installer and the dev env
...
- removes local_docker installer and points community users to our development environment (make docker-compose)
- provides a migration path from Local Docker Compose installations --> the dev environment
- the dev env can now be configured to use an external database
- consolidated the Local Docker and dev env docker-compose.yml files into one template file, used by the dockerfile role
- added a 'sources' role to template out config files
- the postgres data dir is no longer a bind-mount, it is a docker volume
- the redis socket is not longer a bind-mount, it is a docker volume
- the local_settings.py.docker-compose file no longer needs to be copied over in the dev env
- Create tmp rsyslog.conf in rsyslog volume to avoid cross-linking. Previously, the tmp code-generated rsyslog.conf was being written to /tmp (by default). As a result, we were attempting to shutil.move() across volumes.
- move k8s image build and push roles under tools/ansible
- See tools/docker-compose/README.md for usage of these changes
2021-02-22 13:44:19 -05:00
Ryan Petrello
3d5f28f790
Introduce a strict Content-Security-Policy
2020-12-08 13:25:46 -05:00
Jake McDermott
ddadf332cc
Create static dir during bootstrap
...
Co-authored-by: nixocio <nixocio@gmail.com>
2020-06-25 08:56:07 -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
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
Christian Adams
7e0ef6dd7b
Remove unneeded dockerfile-sync
2020-05-15 17:43:07 -04:00
Ryan Petrello
54178a1982
stop pre-generating awx.egg-info
2020-05-15 11:47:53 -04:00
Bill Nottingham
d5817fd87a
Remove repo files no longer used in build process
2020-05-14 15:02:32 -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
Bill Nottingham
caa4e90fa0
Remove extraneous re-install of rsyslog
2020-05-11 22:24:16 -04:00
Christian Adams
c565130b35
TERM rsyslogd instead of KILL for more graceful shutdown
2020-05-05 15:38:57 -04:00
Shane McDonald
b12c0def7d
Fix permissions for vendored collections in dev env
2020-05-04 12:44:04 -04:00
Christian Adams
c07b6285da
Increase stopwait time for rsyslogd service
2020-04-27 14:33:46 -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
0f74a05fea
rsyslogd: ignore /dev/log when we load imuxsock
2020-04-14 11:34:58 -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
70391f96ae
Revert rsyslog valid config to one that fails intentionally
2020-04-13 11:43:59 -04:00
Christian Adams
2329c1b797
Add rsyslog config to container from file for consistency
2020-04-13 11:43:59 -04:00
Christian Adams
470159b4d7
Enable innocuous but valid config for rsyslog if disabled
2020-04-13 11:43:59 -04:00