IF YOU WOULD LIKE TO GET AN ACCOUNT, please write an
email to Administrator. User accounts are meant only to access repo
and report issues and/or generate pull requests.
This is a purpose-specific Git hosting for
BaseALT
projects. Thank you for your understanding!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
Use `make ui-devel` to build a development/debug version of the UI, with source maps,
without raising any additional browser-sync or filesystem polling.
* Add a local node queue to execute targeted jobs
* Add a setting for active cluster node id (per-node)
* Base the heartbeat time on the `modified` time on the Instance table
* Add periodic task that calls save() on the instance to update the
heartbeat time if services are up
* Purge/update any ha/instance management commands
* Fix up CELERY_ROUTES settings data structure
- Added a script that allows for piping signing keys into the container’s stdin stream.
- Got sign.exp working
- I ended up getting mock to run as root, which means both RPM and DEB jobs both use —unsafe-perm now, so I added that back to the Makefile.
Don't `sudo` for me, I'll `sudo` when I need it, yo. This appears to
only affect the non-container based development workflow. For folks
that still need to `make develop` outside of a container, please use
`sudo make develop`
* ramparts_and_ha: (21 commits)
Rename database migrations for devel integration
Integrate callback receiver refactoring
Fix an issue running jobs in the cluster
Implement a more dynamic celery queue system
Purge old munin monitors and tools
Refactor Tower HA Instance logic and models
Docker compose improvements
Initial Docker Compose workflow for Tower cluster
Add memcached role for setup playbook
Removing qpid from deb packaging
Refactor rabbitmq role
Integrate memcached into setup playbook
Remove mongodb shutdown task
Remove dependency on erlang_sd_notify
Add initial rabbitmq role
Initial rabbitmq setup playbook integration
Update development environment for rabbit
Replace qpid with rabbitmq
Remove redis role from setup playbook
Update qpid packaging, remove migrations
...
* Meant to be a starting point to more efficiently manage work routing
and to balance work across all tower nodes
* Integrate flower as a dev tool that starts alongside other nodes.
Helpful for observing and monitoring the queues/exchanges
* For the moment, force the task manager to only run on one node (not
sure if this is needed)
* Define queues and routes for all task work
* Bump celery version to 3.1.23
* Expose flower through haproxy
* Gut the HA middleware
* Purge concept of primary and secondary.
* UUID is not the primary host identifier, now it's based mostly on the
username. Some work probably still left to do to make sure this is
legit. Also removed unique constraint from the uuid field. This
might become the cluster ident now... or it may just deprecate
* No more secondary -> primary redirection
* Initial revision of /api/v1/ping
* Revise and gut tower-manage register_instance
* Rename awx/main/socket.py to awx/main/socket_queue.py to prevent
conflict with the "socket" module from python base
* Revist/gut the Instance manager... not sure if this manager is really
needed anymore
* stable: (24 commits)
Updating changelogs for 3.0.2 release
fixing deprecated_team.organization credential migration
Fix issue when installing bundled ansible on el6
fixed localed date stuff
update test to check org_auditor access
ensure team organizations are assigned to credentials
temporarily pin the pytest version until the ldap error can be fixed
fixed locale
fix date locale angular scheduler
Make sure org admins can see credential after migration, comment updates on related tests add clause in test to verify automatic setting of org of new team credential
Update team admin credential migration test to current state-of-knowledge
fix ng-toast rel, resolves#3197 (#3316)
allow users to edit their first and last name
Revert "Prevent ignored task from being displayed as failing."
Revert "Modify job event save behavior"
fixing old tests for new user creation permissions
Clean venv on 'make clean'
Resolve KeyError by coercing instance_id to a str
Update cloudforms dynamic inventory
Update foreman inventory script
...
* Documentation of the developer variety
* Defaulting the COMPOSE_TAG to develop, can be overridden
* Automatic docker login assuming gcr login
* Including a manual build step as an alternative to gcr
* Make qpid container shut the f**k up when it's running
This will be branch-relative. If you are ont he `devel` branch then it
will pull that tag, it will try to pull the branch you are on and can be
overridden with the COMPOSE_TAG environment variable
* Switch base tower devel image from u14.04 to c7
* Switch container image to build python dependencies into itself
instead of forcing it to be built on startup
* Upgrade venv pip to 8.1.2
* Neuter queue.py which was heavily tied to redis and was basically
orphaned code
* Alter local_settings to override default cache settings and use
memcached
* Alter local settings to refer to qpid instead of redis for celery
broker
* Purge redis python dependencies and add qpid and memcached
* Update docker-compose to purge redis and add qpid and memcached
* release_3.0.2: (126 commits)
Disable permissions tab in Credential > Edit form if Credential is private (#3288)
Tweaked the popover text for job and skip tags on JT add/edit
Workaround a cascade setnull polymorphic issue
flake8
Fixed old test expectations
Made it so the credential organization field can't be changed
Skip some unit tests
Fixed org auditor visibility of team credentials
Fix sosreport
fix credential kind options for list
interpret any code below 300 as success
bail when status code is over 300
Make CloudForms inventory_script work
Use no_log when handling passwords
Prevent ignored task from being displayed as failing.
making ec2 cred optional on group->edit
making ec2 credential optional for ec2 inventory
Revert "Fix to ensure org auditors can see team credentials"
Fixed team credential list to work with corrected permissions
Making the username and password fields optional
...
This change adds a Makefile target to build a Vagrant .box file that uses the VMware Vagrant provider. Previously, we could only build Virtualbox .box files. The Virtualbox Makefile target is renamed from virtualbox-ovf to vagrant-virtualbox, and the new VMware target is named vagrant-vmware.
If the celerybeat database becomes corrupt then it can prevent starting
some services for Tower. This happens in an obscure way and currently
that database is stored at the top of the source tree. This moves it
into the container managed space so that failure scenario won't persist
if the container is re-created
* release_2.4.5:
Remove distribute from the setup virtualenv if installed (#1631)
Update changelogs for 2.4.5 release
Only export changed targets in reprepro
Improve the efficiency of the stdout dump database migration
Added logic to not show the loop summary events in the UI by looking at event_data.event_loop.
Handle runner items from ansible v2
bump boto
fix case of Ansible v2 _result.cmd is list for release 2.4.5
Handle both string and list hosts in our hosts->name conversion
Default play names to the hosts the play was run against
Use better isinstance(x) type checking
Backporting test fixes from PR #1020: Fix error with ad hoc command events when running in check mode.
Fix for tasks breaking when using 'yum' with ansible 1.9.4
Bump 2.4.5 version, changelogs, and reprepo
* 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
* notifications_work: (23 commits)
Updates to notification unit tests after @wwitzel3's feedback
Fix some notifications issues and write some tests
Add notification system documentation
Clean up flake8 related issues
Fixing up some unicode issues
Implement tower ui view url on models
Sanity check and force proper types in admin check
Proper type for in check
Adding migration and base notification type
Add a periodic administrative notification
Refactor message generator
Support notification password field encryption
Notification configuration type checking
Refactor NotificationTemplate to Notifier
Implement irc notification backend
Add webhook notification backend
Pagerduty and Hipchat backends plus some cleanup
Notification serializers, views, and tasks
Implement notification serializer and validations
Notification endpoints and url expositions
...
* release_2.4.4: (35 commits)
Update changelog for 2.4.4 release
Make pycompile non-fatal during deb build
Revert "Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools"
Roll back mock version due to packaging issues
Add virtualenv site-pagkages to Python path before system dist-packages, to get new setuptools
change to warning behavior
Resolve bug when building with /bin/sh on Ubuntu
Attempt to workaround pip install issue
point at packages with source on pypi
Mock requires a newer setuptools when building requirements
requests needs openssl
Properly set the shell during directory migration
pyrax bumpb new python license
Typo's are bad and should be vanquished
Conditionally install 2.6 python requirements
separate pip requirements file for python2.6
Added missing 'skipped' field for no_log
Obey no_log even more when using ansible 2.0
bump shade from 0.5.0 to 1.4
RHEL5 compatibility and handling of error scenarios
...
* release_2.4.2: (23 commits)
Updating 2.4.2 changelogs
fix the connection check fix
more robust check added to mongo db connection
Adding a body to our OPTIONS requests fixes 415 error responses in IE11 and Edge.
Don't hard-fail if default isn't defined on survey
fixed custom login info bug
Allow an org admin to delete project updates
Disable elasticache instance gathering for aws
Fix DEB builds by adding 2.4.2 to reprepro conf
When the panel lists were consolidated down the list name was changed to 'all_jobs.' When a job is clicked from the activity stream it should show the job list filtered down by ID.
Rolled back job url change
track modules on system tracking page by index
correct spelling of consisting in help text
Fixing up flake8
The "job" href links in the activity stream don't point to the job details page. This is an update to the jobs href to point to /#/jobs/(job.id).
Wrapped the SourceChange call in a function so that it can be called without clearing the credential. This fixes a bug where the credential was not showing up in the initial edit dialog even though the data was sent properly via the API.
Revert change to Makefile, which was causing old .deb versions to be dropped from the repo
Refactor scan_packages for os detection
Remove stray debugging lines
Add SUSE, OpenSuse and Debian to scan_packages
...
Updated make tasks
Added coverage reports for ui
Added browser-sync support
Updated contribution doc
Updated npm dependencies (Jenkins and dev environment can both use Node 4.2.1)
To make this work, we'll also need:
CFLAGS=-Qunused-arguments
For now, we'll explore forking dm.xmlsec.bindings.
This reverts commit be83561bfe996d5e5b2e291787f2e863fa5b9203.
* release_2.3.1:
Add 2.3.1 to the reprepro distribution manifest
Update version to 2.3.1 and update changelog
Remove unused time import
Fix proot controlpersist cleanup issue
Propagate necessary build changes from devel
Update reprepro components
Reenable the reprepro i386 repository
Fix supervisor migration
Fix reprepro/conf path in Makefile
prefer the first version when packages are ambiguous
Correct error message
Fix omission
Correct conditional stmt
Improve logging when sourcerpm fails
Fix typo
Fix OFFICIAL deb Makefile
* release_2.3: (24 commits)
Updated package changelogs
Rephrase task name
Make purge supervisor.conf conditional on 2.2 el6
Fix another name typo.
Update python-ldap license text.
Add LGPL source directly so it gets shipped.
Update font-awesome licenses per legal feedback
Remove bundled_licenses - we are shipping the source for bundled items, and therefore do not need to provide this separately.
Add more license texts.
Add full Apache licenses to files, per Pam.
Attempt to harden mongodb tgz download
Correct DJRF/DJRF-mongoengine licenses, rename qsstats license to match pkg name.
Fix some typos in file names, and add licenses for some things we have modified in our own repos.
Update Ubuntu depends and ppa's
Include source for bundled packages in bundle.
Include license information in packaging
Add READMEs for the license directories.
vendored python licenses
Add bundled licenses documentation
Revert to stock libzmq3 for deb depends
...
* 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
...
* 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
...
* include requirements.txt in requirements_jenkins.txt
* include requirements.txt in requirements_dev.txt
* alter Makefile to NOT call the requirements rule in the requirements_*
rules. Again, this is now handled by the -r requirements.txt in the
respective _*.txt file.
* install jenkins requirements "globally" (in the virtualenv)
Also override dh_auto_clean to avoid removing the awx/ui/dist during DEB
package builds.
Update the `.spec` file to call the same Makefile targets used by in `debian/rules`.
Previously, requirements were gathered prior to the `sdist` target, and
included in the sdist tarball. As some requirements are compiled, this caused
problems where the compiled dependencies were linked against the wrong
libraries. This pull-request addresses that by moving the requirements
gathering into the `dh_prep` and `%build` steps of the packaging process.
The flake8 command was identifying several warnings and errors. This change
addresses the flake8 warnings and updates the setup.cfg with additional
exclusions. If accepted, jenkins will be updated to use the flake8 command,
rather than using the django_jenkins plugin. This will expedite jenkins
testing.
When building AMI using packer, the caller is responsible for setting
the required environment variables to make packer and AWS happy. For
guidance, refer to https://www.packer.io/docs/builders/amazon-ebs.html.
The 'ansible-tower' service script now comes with an additional file:
/etc/{default,sysconfig}/ansible-tower
This file is used to specify the services managed by the 'ansible-tower'
service script. The presence of this file allows admins (or the setup
playbook) to customize the services managed. For example, when using a
remote postgres server, one would remove 'postgresql' from the list of
tower managed services.
* Add reprepro target
* Use debuild for building deb packages
* Use the same setuptools target for RPM and DEB
* Update rpm and deb changelogs for existing releases
Adds the following aliases to assist with packaging-specific sdist.
* dev_deb and release_deb - includes only .pyc files
* dev_rpm and release_rpm - includes only .py files (later removed by
install_lib)
The rpm sdist tarball is a traditional source distribution. During the build
process, RPM will byte-compile and remove the .py source files. The deb sdist
includes only byte-compiled awx python.
Simplifing the RPM build process by moving the jenkins build workflow into the
Makefile. This starts with mock. Additional buildrequires changes likely to
follow.
Several AMI packaging changes, including:
* Set a default value for OFFICIAL=no
* Include tower version in ami_description and tag:Name
* Packer will tag the AMI to help with visually identifying AMIs (tags used
include Name, aws_instance_count, product_name, product_version)
* Removed license/* files. The license instance count is supplied via an
environment variable AWS_INSTANCE_COUNT
* Update reset/install_aws.sh to require an instance count parameter (-c)
* origin/task-system-rework: (36 commits)
Need to grab just the first item for the scm test project update
Revert a project unit test
Make sure we are calling signal_start in unit tests
Make sure we are calling signal_start in unit tests
Bypass task runner system in normal job start tests... we'll test it another way so assume we want to just start the job right away
Fixing up unit tests
Missing line-end comma
Prevent deadlocks on unit tests in a very specific scenario
Ignore checking celery task list during some unit tests, triggered by UNIT_TEST_IGNORE_TASK_WAIT
Missing semicolon
Remove update on launch, we'll test this another way
Make sure we ignore the wait update for tasks under dependency situations in the unit tests
Fix up run task manager script to handle signals, fix up task cancel job, add restart handler for ubuntu
Fix some bugs found from unit tests
More unit test rework
Some job tests can't run in their current state
Make sure we check arguments passed to signal start before allowing it to proceed.
No need to replace original build_args
Unit test updates for task system... remove old monkeypatch procedure for getting job args in favor of using the job info from the database. Can't do this anymore anyway since the job is running in another process
Changes to tasks unit tests
...
The grunt command is still configurable via the GRUNT environment variable. By
default, we disable colored output when we detect the shell is non-interactive.
This improves reviewing output when run from automation.
Automation can now set GRUNT to provide a path to a specific grunt binary, or
to add grunt parameters. For example, to disable color output during a Jenkins
build:
GRUNT="grunt --no-color" make lintjs
Rather than hard-code the name and version in package.json, generate the file
during the build process. The strings %NAME% and %VERSION% will be replaced
with appropriate values during a new build target 'package.json'.
Update Makefile syntax to no longer generate the license as a build step. In
addition, updated ansible-tower.json to provide a more descriptive ami_name and
ami_description.
* Added a new make tarket (minjs) to run the compile script
and modified the sdist target to require it
* Minor fixes to packaging to chown/chmod the SECRET_KEY file
to the proper user and permissions
* Added ability to do official vs dev builds (need to add to the
RPM builds now)
* Reverted changes to awx/wsgi.py after talking with Chris C.
regarding the pathing issues and created config/wsgi.py instead
that is installed to /var/lib/awx
* Cleaned up package scripts so there's less junk being written to
the screen during the install/uninstall
- Add variables field on Host/Group models and remove separate VariableData model.
- Add data migrations for existing variable data.
- Update views, serializers and tests to keep roughly the same API interface for variable data.
- Add has_active_failures properties on Group/Host models to provide indication of last job status.
- Add job_tags field on JobTemplate/Job models to specify tags to ansible-playbook.
- Add host_config_key field to JobTemplate model for use by empheral hosts.
- Add job_args, job_cwd and job_env fields to Job model to capture more info from running the job.
- Add failed flag on JobHostSummary model.
- Add play/task fields on JobEvent model to capture new context variables from callback.
- Add parent field on JobEvent model to capture hierarchy of job events.
- Add hosts field on JobEvent model to capture all hosts associated with the event (especially useful for parent events in the hierarchy).
- Removed existing Tag model, replace with django-taggit instead.
- Removed existing AuditLog model, replacement TBD.