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!
Только зарегистрированные пользователи имеют доступ к сервису!
Для получения аккаунта, обратитесь к администратору.
* 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.