Commit Graph

278 Commits

Author SHA1 Message Date
Matthew Jones 93b0054190 Remove the dumb-init deb that gets left behind in the container image 2016-05-03 12:01:58 -04:00
Akita Noek 569f61ed30 Fixed swapped transaction/rebuild statements 2016-04-22 10:17:21 -04:00
Akita Noek 41553c39bf Moved dummy data generator out to tools directory 2016-04-18 16:56:29 -04:00
Matthew Jones 0a6df40066 Improvements to docker compose workflow with new packaging changes 2016-04-06 12:24:19 -04:00
Graham Mainwaring a6acb5181a Merge pull request #1417 from ansible/python27_el6
EL6 Python 2.7 and Tower virtualenvs
2016-04-06 10:57:18 -04:00
Leigh Johnson 25f6200dd5 remove old docker build instructions 2016-04-01 10:50:51 -04:00
Leigh Johnson 097fba690b update docker-compose build, resolves #1377 2016-04-01 10:35:07 -04:00
James Laska e1ee5d396d Don't manage mongo in ansible-tower-service script
Connect #1290
2016-03-30 09:10:17 -04:00
Graham Mainwaring cd698f0ea1 Removed Munin config for Mongo 2016-03-28 14:43:27 -04:00
Graham Mainwaring 1e8e53e811 Merge branch 'devel' of github.com:ansible/ansible-tower into python27_el6
Conflicts:
	packaging/rpm/ansible-tower.spec
	tools/docker-compose/start_development.sh
2016-03-21 12:13:50 -04:00
Graham Mainwaring 1427fee442 Add script wrapper to establish Tower SCL and venv before running Python 2016-03-21 12:11:19 -04:00
Matthew Jones 46bbc83d0d Changes for Tower virtualenv support
* Break requirements down into ansible and tower reqs
* Generate separate Ansible and Tower virtual environments
* Install appropriate requirements files into each one
* Modify development tools to use these venvs instead of our old
  site-packages
* Modify settings to indicate venv enablement and location of venvs
* Modify tasks to use the proper virtual environment for its purpose
2016-03-21 12:11:19 -04:00
AlanCoding a0ce6d7a25 fix regression of development package naming 2016-03-17 22:54:12 -04:00
Matthew Jones 714d13eefd Update docker development workflow to not require make develop 2016-03-02 12:09:42 -05:00
Chris Meyers 356b9c99b3 Merge branch 'mongoectomy_implementation' into devel 2016-03-01 08:22:40 -05:00
Chris Meyers 7ffe46fc74 add postgres Fact model, update views, tests
* awx.main.models Fact added
* view host fact and timeline updated to use new Postgres Fact model instead of Mongo
* Removed license set start Mongo logic
* added View tests
* added Model tests
* Removed mongo fact unit tests
* point at modified jsonbfield that supports sqlite storage driver
* postgresify fact cache receiver
* test OPTIONS endpoint
* Note: single fact view not implemented yet.
2016-02-24 14:38:54 -05:00
Chris Meyers c2d2c57aad add newer version of proot
Use proot version that is used in production (5.1.0). Solves the ansible-playbook 2.0 symlink issue we see in our container when launching jobs.
2016-02-24 08:58:41 -05:00
Chris Meyers 62d0e8f6a5 Update Dockerfile
Add dateutils python package for `private/license_writer.py` to succeed
2016-02-24 08:52:16 -05:00
Chris Meyers 6434171977 add -y to ansible ppa adding 2016-02-16 13:51:16 -05:00
Wayne Witzel III 71a1547c3a fixing ad_hoc imports
flake8 fixes

Fix and add awx/api/tests

added fact tests

added proper xml reports for jenkins

added jenkins requirements and adjusted Makefile target
2016-02-01 18:37:56 -05:00
Wayne Witzel III 3d4580611e added pytest to requirements_dev
reworking test strucutre

reworked pytest.ini, removed functional imports, updated req_dev

remove unneeded __init__ files

add testing checker to local_settings examples

adding testing packages to system Python for docker
2016-02-01 18:37:56 -05:00
Matthew Jones 16a0d8b45d Merge pull request #710 from ansible/jag/dumb-init
Use dumb-init to manage processes in docker containers
2016-01-29 10:15:00 -05:00
Joshua "jag" Ginsberg f25b76aee9 Integrate statsd metrics into ansible playbook execution.
* Add dependencies for pystatsd and django-statsd-mozilla
* Default turned off except for development environment
* Modify docker-compose to install statsd/graphite host
2016-01-26 16:54:24 -05:00
Joshua "jag" Ginsberg 16c6f93aa2 Apply to all Dockerfiles and use the preferred ENTRYPOINT form. 2016-01-25 16:58:04 -05:00
Joshua "jag" Ginsberg df072c1a6f Initial attempt at dumb-init 2016-01-25 16:01:53 -05:00
Chris Meyers abecbb3ed1 tower api tooling
* flake8 ignore inventory plugins pulled from core
* update Dockerfile to include redis-server
2016-01-14 10:23:14 -05:00
James Laska 9bed8376ba Update AMI copy playbook 2015-11-20 14:05:22 -05:00
Chris Meyers 0b4efa3fcd added git pre commit hook to run flake8 2015-11-06 07:38:29 -05:00
Bill Nottingham 1bd6ffa3c9 Add PowerShell version of request_tower_configuration. From @nitzmahone. 2015-11-05 10:15:37 -05:00
Matthew Jones 99da0965ef Add a docker-ui container to the compose workflow 2015-10-19 12:07:09 -04:00
Matthew Jones 950a299c87 Add swig to dependencies for compose 2015-10-09 11:58:47 -04:00
Matthew Jones f85fb0551d Add libxmlsec1-dev to the docker compose workflow 2015-10-09 11:58:47 -04:00
James Laska 6da39aeac2 Fix AMI publish playbook 2015-10-06 16:20:03 -04:00
Matthew Jones 5fa0ce9d58 Include apt-get update with install
This forces the Docker apt-get update to not attempt to re-use the cache
2015-09-21 14:52:43 -04:00
Matthew Jones 519b0e8eef Merge branch 'release_2.3' into devel
* release_2.3: (54 commits)
  Upgrade changelog for 2.3
  Purge superlance
  Purge an old supervisor config
  Require chris-lea libzmq3
  Use the htpasswd command, not the module
  Fix a playbook syntax error for postgres
  Ensure postgres is started earlier in setup role
  Allow customizing npm path
  Include RPM-GPG-KEY-ansible-release for all releases
  Simplify GPG keys
  Correct broken RPM-GPG-KEY
  Use gpg --passphrase for signing CHECKSUM
  Handle rpm --addsign pasphrase prompts
  Adding docker-compose development workflow
  Fix license in spec file.
  Updates to selinux policy for some munin plugins
  ansible 1.8.4 requires sudo:true when using sudo_user
  Fix expect script timeout
  Disable timeout and correct sign.exp error
  Fix expect script hang
  ...
2015-09-11 16:03:52 -04:00
Matthew Jones a2b6ffb237 Put down a file to track make develop in compose 2015-09-10 11:03:45 -04:00
Matthew Jones f61a01b504 Switch to using ansible wait_for instead of sleep
In the startup script for docker-compose
2015-09-10 09:32:01 -04:00
James Laska 9d5d17fa70 Handle rpm --addsign pasphrase prompts 2015-09-09 18:51:41 -04:00
Matthew Jones 940910b9a3 Adding docker-compose development workflow 2015-09-09 17:17:48 -04:00
Matthew Jones 7263367c6d Adding docker-compose development workflow 2015-09-09 17:16:35 -04:00
James Laska 87d8808c2d Fix expect script timeout 2015-09-09 13:07:09 -04:00
James Laska b7ddbc48b1 Disable timeout and correct sign.exp error 2015-09-09 12:13:55 -04:00
James Laska 06e6980eaf Fix expect script hang 2015-09-09 11:18:06 -04:00
James Laska 3a914619ce Improvements to the package signing script 2015-09-09 11:01:44 -04:00
James Laska 1b6b622d70 Ignore case to handle multiple prompts
Handles the multiple prompts from debuild and reprepro, each with different
cases.
2015-09-08 22:00:27 -04:00
James Laska c02d993e73 Return exit code from spawned process 2015-09-08 15:43:04 -04:00
James Laska 3210b8c0dc Add helper script to sign using expect 2015-09-07 20:37:20 -04:00
Matthew Jones 5727d722b6 Merge remote-tracking branch 'upstream/release_2.3' into devel
* upstream/release_2.3: (91 commits)
  Include python-{paramiko,ecdsa} dependencies
  Remove extra epel testing stanzas
  Unit test for ec2 credentialless inventory
  Fix issue with ec2 iam sync with no credential.
  Use the htpasswd command instead the ansible module
  Pip is no longer needed
  check local user root or not in ./configure
  Remove unneeded when check for super user addition
  Improve distro detection in setup.sh
  Fix superuser check on upgrade
  Minor improvements to setup.sh
  Remove ansible prerequisite check from configure
  Attempt to install ansible within setup.sh
  Allow munin processes to access postgres
  Move up base package dependency install
  fixes jenkins failures
  Proper flake8 fix
  fixes executing processes with correct PYTHONPATH will pickup .pth files
  Show the repo for bundled package file dump
  Proper flake8 fix
  ...
2015-09-03 15:46:10 -04:00
Bill Nottingham cb2a0a0f69 clean up dups 2015-09-01 09:56:06 -04:00
Matthew Jones bd3faea671 Fix path check in start_development docker script 2015-08-31 15:15:49 -04:00