Ryan Petrello
ad5d0b92db
pin virtualenv < 20 for ansible venv builds
...
virtualenv version 20 just got released and broken a bunch of stuff
(like the --system-site-packages flag)
2020-02-10 16:31:34 -05:00
Shane McDonald
3f57061509
Add packages missing from base images
...
Related:
- https://github.com/ansible/awx/issues/5770
- https://github.com/ansible/awx/issues/5724
2020-02-07 13:06:42 -05:00
AlanCoding
d2289fe9c6
add pycurl to container images
2020-02-04 14:41:51 -05:00
Ryan Petrello
d8d1ccf810
add a script for quickly inserting lots of events
2020-01-22 11:57:47 -05:00
Christian Adams
d41322c63c
Remove outdated Zanata translation script as part of migration to Memsource
...
- adds requirement for gettext to dev container for use by Memsource automation
2019-12-05 09:29:33 -05:00
Shane McDonald
c439a1ec8f
Fix permissions on projects directory by pre-creating it
...
This broke after
f78c9f357d
but people seem to like this functionality so instead of reverting it we can do this.
2019-12-04 17:39:38 -05:00
Bill Nottingham
02fd26520d
Move to using systemd for service management.
2019-12-04 13:40:21 -05:00
softwarefactory-project-zuul[bot]
02c3e1c32f
Merge pull request #5420 from Spredzy/yamllint
...
yamllint: Make all files in awx pass yamllint
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-12-04 13:42:56 +00:00
chris meyers
129374a1c2
keep *-devel package in the dev container
...
* requirements/updater.sh does pip magic. In doing this magic, devel
system packages are required to download/install/build. This change
ensures those dev packages are available.
2019-12-03 14:31:09 -05:00
Yanis Guenane
ca247182df
yamllint: Make all files in awx pass yamllint
...
This commit updates all files that weren't passing yamllint for them to
pass.
A new yamllint target has been added. One can run `tox -e yamllint` or
`yamllint -s .` locally to ensure yaml files are still passing.
This check will be enabled in the CI so it can get on every new
contributions, and prevent merging non-compliant code.
Signed-off-by: Yanis Guenane <yguenane@redhat.com>
2019-12-02 15:12:51 +01:00
Shane McDonald
eaac54040c
Merge pull request #5192 from shanemcd/local-projects
...
Mount local projects directory inside of dev container.
2019-11-07 07:35:45 -05:00
Shane McDonald
fa61aef194
Install missing locales in dev container image.
2019-11-01 08:29:11 -04:00
Shane McDonald
4d4ae84e32
Fix docker cache
...
This was causing the cache to miss on some docker versions, in addition to
throwing a warning that says it will break soon.
2019-10-31 16:57:17 -04:00
Bill Nottingham
6057921e34
chmod the nginx cert/key/etc
...
EL8 OpenSSL defaults to 0600 for the key, which will not work in the
dev environment.
2019-10-31 13:53:13 -04:00
Shane McDonald
f78c9f357d
Mount local projects directory inside of dev container.
...
Yesterday I noticed that we have awx/projects in our .gitignore. I am assuming
this pre-dates our containerized development environment. With this commit, any
project under awx/projects/ will be made available in the dev environment for
selection when creating a Manual project. This comes in super handy when
testing changes to playbooks locally.
2019-10-31 08:01:54 -04:00
softwarefactory-project-zuul[bot]
f2b4d87152
Merge pull request #5184 from shanemcd/remove-dead-code
...
Deleting unused unit-tests directory
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-30 22:38:00 +00:00
Shane McDonald
288fea8960
Deleting unused unit-tests directory
...
Same as https://github.com/ansible/awx/pull/5179 except I wont accidentally
close it.
2019-10-30 17:35:19 -04:00
Shane McDonald
c019d873b9
Update AWX images to CentOS 8
2019-10-30 16:43:23 -04:00
Bill Nottingham
452c1b53f7
Re-add psycopg2 for bootstrap_development.sh
2019-10-30 14:23:33 -04:00
Bill Nottingham
36996584f9
Re-add dependencies needed by UI tests to the dev env
2019-10-30 13:06:48 -04:00
Bill Nottingham
84ba383199
Trim the list of things installed during build
...
Swap git & vim for more minimal installs.
2019-10-29 23:19:00 -04:00
Shane McDonald
6c877a15e3
Update dev env to centos:8
2019-10-29 17:09:45 -04:00
Ryan Petrello
b45b9333e1
Merge pull request #4716 from jladdjr/perf_stats
...
Enable collection of performance stats
2019-10-04 17:09:30 -04:00
softwarefactory-project-zuul[bot]
62659aefc2
Merge pull request #4189 from shanemcd/toc
...
Container Groups
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-10-04 20:19:12 +00:00
Jim Ladd
2c1c2f452d
Add libcgroup-tools to dev env (provides cgcreate, cgexec, etc)
2019-10-04 12:48:29 -07:00
Shane McDonald
bd5003ca98
Task manager / scheduler Kubernetes integration
2019-10-04 13:21:21 -04:00
Ryan Petrello
34d02011db
remove jupyter from supervisor in the dev env
...
if you use this tool, just run `make jupyter`
2019-10-04 11:53:26 -04:00
Ryan Petrello
4b62f4845a
fix broken docker-compose-cluster
config
2019-09-27 00:37:29 -04:00
Ryan Petrello
955bb4a44c
allow *.pendo.io as an img-src in our Content Security Policy
2019-09-26 13:12:54 -04:00
Ryan Petrello
d52aa11422
correct CSP header to allow all pendo.io traffic
2019-09-23 09:15:55 -04:00
Shane McDonald
22441d280e
Fix pg password in cluster dev env
2019-09-17 08:45:19 -04:00
Christian Adams
54d50d71ab
pass correct awx-dev password on startup
2019-09-16 17:25:15 -04:00
softwarefactory-project-zuul[bot]
d3b413c125
Merge pull request #4752 from shanemcd/drop-pg-scl
...
Stop using PG SCL in dev env
Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
2019-09-16 16:40:11 +00:00
Shane McDonald
3b89e894db
Stop using PG SCL in dev env
2019-09-16 11:41:13 -04:00
Christian Adams
bdbbb2a4a2
Fix authentication bug with container installs
...
- update awx-dev db password where needed
2019-09-15 19:52:41 -04:00
Ryan Petrello
5ed97e0f65
change the default port range for the sdb debugging tool
...
the current range conflicts w/ a port used by the pycharm editor
2019-09-13 11:55:43 -04:00
Shane McDonald
fe0db4e329
Consolidate scl enable calls
2019-09-12 15:43:09 -04:00
Shane McDonald
3c0a0e1f4a
Fix arg parsing in entrypoint
2019-09-12 15:12:04 -04:00
Shane McDonald
b2e8e3cc3d
Add scl enable back to start_tests script
...
I think we need to specify the entrypoint in the pod definition too
2019-09-12 14:03:08 -04:00
Shane McDonald
804ec0dde9
Handle SCL enable in one place
2019-09-12 13:54:32 -04:00
Shane McDonald
e7bb5ac3e4
Fix tests
2019-09-12 13:41:41 -04:00
Christian Adams
ec1e93cc69
Upgrade to postgres 10.6
...
- use awx-python in shebang in dev env
- scl enable where needed for rhel7 & container installs
- use scram-sha-256 pg user hashing by default
- ensure psycopg2 is using the correct PG_CONFIG at build time for the right libpq version
2019-09-12 12:52:43 -04:00
Jose OrPa
04ab736f09
#3778 Upgrading postgresql to v10
2019-09-12 12:52:42 -04:00
Ryan Petrello
7a8234bb09
include license data/state in the sosreport
2019-09-03 13:56:02 -04:00
Ryan Petrello
b82030b025
hide nginx server version headers
2019-08-20 14:34:04 -04:00
chris meyers
cc6413c44c
use ansible nightly
...
* ansible:devel now has ansible-galaxy collection support
2019-08-12 22:14:31 -04:00
Jeff Bradberry
10200fced0
Add patch to the list of system packages installed into the container
...
since it is a requirement of the new updater.sh Python requirements script.
2019-08-01 10:41:49 -04:00
softwarefactory-project-zuul[bot]
815823adc0
Merge pull request #4363 from jomach/feature/updateGitVersion
...
[4362] git version is old and does not work with x509 certificates
Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
2019-07-30 21:07:24 +00:00
Jorge Machado
76933ed889
* upgrade from git on containers
...
* agreed with terms of DCO 1.1
Signed-off-by: Jorge Machado <jorge@jmachado.me>
2019-07-30 07:04:04 +02:00
chris meyers
9236fd2a53
fake it till you make it!
...
* The user awx is passed to the launch of our dev docker container. The
docker system automagically creates that user for us and sets the home
dir to /tmp in /etc/passwd. Many methods of detecting the user home dir
don't use that. Instead, they use the HOME env var. This is a half-way
solution that solves the problem of python expanding the ~ dir.
* If other things break because they determine the users home dir via
/etc/passwd entry then a more in-depth fix will be needed.
2019-07-29 09:58:47 -04:00