James Laska
e1ee5d396d
Don't manage mongo in ansible-tower-service script
...
Connect #1290
2016-03-30 09:10:17 -04:00
James Laska
ee5694b175
Add ISSUE_TEMPLATE.md
...
fixes #1106
2016-03-04 16:19:00 -05:00
James Laska
cced99f75d
Resolve bug when building with /bin/sh on Ubuntu
...
Ubuntu uses /bin/sh by default. This change properly compares strings in a
POSIX compliant manner.
2016-02-02 12:45:08 -05:00
James Laska
305b4fdead
Typo's are bad and should be vanquished
2016-01-29 09:54:48 -05:00
James Laska
6b20539e38
Conditionally install 2.6 python requirements
2016-01-29 09:03:03 -05:00
James Laska
0afe60fb5f
Add requires.io badge and remove out of date info
2016-01-19 11:52:58 -05:00
James Laska
9bed8376ba
Update AMI copy playbook
2015-11-20 14:05:22 -05:00
James Laska
ae7164de49
Merge branch 'release_2.4.1' into stable
2015-11-19 16:46:26 -05:00
James Laska
34c87f520b
Merge branch 'release_2.4.0' into stable
2015-11-18 15:13:09 -05:00
James Laska
60a2787468
Use correct aw_repo_url when building packer
2015-11-06 15:19:35 -05:00
James Laska
fc8f8811af
Resolve issue on precise keeping old debs around
...
Upgrades on precise kept installing the oldest 2.4.0 package in the pool. The
following fix appears to correct that problem.
2015-11-05 12:53:15 -05:00
James Laska
4060370fad
Attach handlers to django_auth_ldap
...
To assist with debugging LDAP authentication, associate the 'django_auth_ldap'
handler with the 'tower_warnings' logger. To enable debugging, set the
following in a tower settings file:
> LOGGING['handlers']['tower_warnings']['level'] = 'DEBUG'
Also uses the proper `filename` for the tower_warnings log file.
2015-11-05 12:53:15 -05:00
James Laska
eb95ba94fb
Attach handlers to django_auth_ldap
...
To assist with debugging LDAP authentication, associate the 'django_auth_ldap'
handler with the 'tower_warnings' logger. To enable debugging, set the
following in a tower settings file:
> LOGGING['handlers']['tower_warnings']['level'] = 'DEBUG'
Also uses the proper `filename` for the tower_warnings log file.
2015-11-05 12:09:39 -05:00
James Laska
abed41d390
Reword log msgs for enterprise_auth failures
2015-11-05 09:50:08 -05:00
James Laska
71e9ce61e4
Revert "Add CFLAGS when building rhel6 site-packages"
...
To make this work, we'll also need:
CFLAGS=-Qunused-arguments
For now, we'll explore forking dm.xmlsec.bindings.
This reverts commit be83561bfe996d5e5b2e291787f2e863fa5b9203.
2015-11-04 16:13:34 -05:00
James Laska
8a97a26aba
Add CFLAGS when building rhel6 site-packages
...
Attempts to resolves https://trello.com/c/DL7MgYyO
2015-11-04 15:58:10 -05:00
James Laska
5f3f830232
Fix broken coverage import with older django-jenkins
2015-11-04 10:47:26 -05:00
James Laska
0ae947660b
Pin to older django-jenkins release
...
The latest django-jenkins release does not support py2.6 or django-1.6. Lame!
2015-11-02 17:09:37 -05:00
James Laska
3ae78ca6e8
Fix typo in clean target
2015-10-15 20:30:36 -04:00
James Laska
6da39aeac2
Fix AMI publish playbook
2015-10-06 16:20:03 -04:00
James Laska
949f4cb15d
Propagate necessary build changes from devel
2015-10-01 12:06:01 -04:00
James Laska
8c5f7cf9b9
Add vmware-iso build target
2015-09-30 12:56:29 -04:00
James Laska
f62814cc90
Add support for versioning the reprepro
...
This allows customers to install old versions of tower using older setup
tarballs.
2015-09-29 09:12:14 -04:00
James Laska
531fc4d8ed
Correct reprepro/conf path in Makefile
2015-09-23 20:33:40 -04:00
James Laska
d7fb9b19b1
Fix reprepro/conf path in Makefile
2015-09-23 20:32:34 -04:00
James Laska
7582458a0a
Cleanup merge fallout from release_2.3
2015-09-23 16:10:40 -04:00
James Laska
8358722c10
Fix OFFICIAL deb Makefile
2015-09-22 16:36:45 -04:00
James Laska
618d69ecbc
Updated package changelogs
2015-09-22 15:30:57 -04:00
James Laska
5ff2e84ef4
Update font-awesome licenses per legal feedback
2015-09-21 13:55:55 -04:00
James Laska
e1b6588602
Include license information in packaging
2015-09-18 16:42:03 -04:00
James Laska
07574c9b64
Add bundled licenses documentation
...
Also includes in the bundled tarball artifact.
2015-09-18 10:04:49 -04:00
James Laska
b57144046b
Add support for pbuilder chroot builds
...
Additional fixes include:
* Clean and pyc files in debian/rules
* Reprepro changes
* Update debian standards version
* Update OS distro detection
2015-09-16 16:28:05 -04:00
James Laska
32cf468059
Allow customizing npm path
...
So jenkins can use `npm --no-color`
2015-09-10 19:03:41 -04:00
James Laska
3f9dd3ab22
Simplify GPG keys
2015-09-10 16:26:59 -04:00
James Laska
19c847ae10
Use gpg --passphrase for signing CHECKSUM
2015-09-10 13:40:24 -04:00
James Laska
9d5d17fa70
Handle rpm --addsign pasphrase prompts
2015-09-09 18:51:41 -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
99444f2737
Fix Makefile tabs/spaces
2015-09-09 10:57:55 -04:00
James Laska
77f4a280e3
Correct bash conditional
2015-09-08 23:14:31 -04:00
James Laska
6fa26bd026
Properly sign DEBs using reprepro
2015-09-08 22:44:29 -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
d183075519
Revert "Disable gpg tty requirement"
...
This reverts commit 205210045749de215988a08ebdc57503e6698b04.
2015-09-08 20:05:24 -04:00
James Laska
8abc7b7ae1
Disable gpg tty requirement
2015-09-08 19:57:16 -04:00
James Laska
a38e8ca889
Specify a gpg key for TAR artifacts
2015-09-08 19:51:35 -04:00
James Laska
c02d993e73
Return exit code from spawned process
2015-09-08 15:43:04 -04:00
James Laska
aa6470b730
Re-enable package signing
2015-09-08 13:35:30 -04:00
James Laska
7de8f534a1
Ignore setup-bundle-build directory
2015-09-08 13:01:50 -04:00
James Laska
3210b8c0dc
Add helper script to sign using expect
2015-09-07 20:37:20 -04:00
James Laska
92d737e721
Fix path bug when creating CHECKSUM file
2015-09-05 08:39:32 -04:00
James Laska
b7a67ca176
Don't include the build path in CHECKSUM
2015-09-04 21:14:01 -04:00
James Laska
4aa6f74437
Only sign the CHECKSUM for OFFICIAL builds
2015-09-04 21:08:49 -04:00
James Laska
8383838296
Fix path in build target
2015-09-04 21:05:59 -04:00
James Laska
cb1d60939b
Renamed packaging/offline -> packaging/bundle
...
Also replaced all instances off `offline` with `bundle`. Also includes minor
trailing whitespace cleanup.
2015-09-04 14:10:50 -04:00
James Laska
b456f2955e
Create CHECKSUM files for tarball targets
...
* Renames the setup_offline_tarball -> setup_bundle_tarball
* Uses sha256sum and gpg to create a --clearsign CHECKSUM file
2015-09-04 13:53:03 -04:00
James Laska
5e46262546
Remove DIST_FULL from offline-tar-build path
...
Also provide suitable defaults for RPM_DIST and RPM_ARCH when being run on a
platform that doesn't have the `rpm` command.
2015-09-03 20:42:43 -04:00
James Laska
3ecfb0ce01
Include DIST_FULL in the offline symlink
2015-08-31 20:43:44 -04:00
James Laska
2b5624daa2
Improve RPM_DIST regular expression
2015-08-31 13:16:59 -04:00
James Laska
797aa9b5d8
Cleanup of Makefile offline-tar-build target
2015-08-31 13:04:11 -04:00
James Laska
597d37dd25
Fix typo in Makefile
2015-08-31 12:52:12 -04:00
James Laska
23b3b3fca6
Attempt to simplify offline Makefile target
2015-08-31 12:01:15 -04:00
James Laska
64b65edf2c
Handle /bin/sh as the default shell
...
Fixes a build issue on Ubuntu where the `source` function isn't available
within `/bin/sh` (ubuntu).
2015-08-27 11:18:38 -04:00
James Laska
265802322d
Add a new default build target
...
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`.
2015-08-26 21:34:15 -04:00
James Laska
6512c76564
Ignore offline TAR build directory
2015-08-26 21:34:14 -04:00
James Laska
51e2120886
Properly handle namespace packages (oslo, dogpile)
...
Using `site.addsitedir()` handles namespace packages, where the traditional
`sys.path.insert` does not. Kudos to Chris Meyers for this discovery.
2015-08-26 21:33:57 -04:00
James Laska
32a4a941e0
Gather pip requirements at package build time
...
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.
2015-08-26 12:13:59 -04:00
James Laska
853c2b09ee
Make flake8 happy
2015-08-17 16:24:10 -04:00
James Laska
d30605d82d
Fix import error by calling prepare_env first
2015-08-17 16:24:04 -04:00
James Laska
9249cc8298
Update nightly repo URL
2015-08-17 14:40:27 -04:00
James Laska
2de6be9cfe
Simplify Makefile requirements targets
2015-08-17 14:13:44 -04:00
James Laska
717f646430
Bump version to 2.2.2
2015-08-14 08:16:57 -04:00
James Laska
31bf1a97d1
Fail if required arguments are missing
2015-08-14 08:13:47 -04:00
James Laska
719c2cd477
Remove stale comment in Makefile
2015-08-12 09:34:28 -04:00
James Laska
a1cbdebdd3
Simplify Makefile requirements targets
2015-08-12 08:35:42 -04:00
James Laska
6d4c6e2303
Make flake8 happy
2015-08-11 11:08:26 -04:00
James Laska
f325b02c66
Fix import error by calling prepare_env first
2015-08-11 10:47:45 -04:00
James Laska
60f435e7b7
Add playbook used for publishing Tower AMIs
2015-07-29 09:44:50 -04:00
James Laska
316d0c0f77
Continue, don't break out of the iteration
2015-07-14 14:53:57 -04:00
James Laska
bca8bae508
Only check if mongo is needed locally
2015-07-14 12:10:01 -04:00
James Laska
81c4abfed8
Correct initscript order and mongod detection
...
In addition to starting and stopping mongod in the correct order, the check for
determining whether mongod is required needs to happen when the service is
managed.
2015-07-14 11:14:13 -04:00
James Laska
6d6d9de379
Use the proper attr when saving instance name
...
Fixes: https://trello.com/c/24OoIyyf
2015-06-20 13:47:09 -04:00
James Laska
390011bb1e
Listen to flake8, it speaks the truth
...
Use a variable name that doesn't conflict with a library name.
2015-06-16 08:55:59 -04:00
James Laska
3522920b08
This is embarrassing
2015-06-15 20:15:57 -04:00
James Laska
3f9c2cf465
Handle ENOENT during license removal
2015-06-15 19:24:51 -04:00
James Laska
9a210107a0
Remove AWS license when processing /config DELETE
...
This also removes mongodb from the try/except block to avoid hiding any
failures. This mirrors the behavior of how mongo is started/stopped elsewhere
in the module.
2015-06-15 12:08:15 -04:00
James Laska
2424ed4832
Update release process docs
2015-06-12 09:00:53 -04:00
James Laska
f02e26a3f7
Correct Makefile spacing
2015-06-08 11:39:01 -04:00
James Laska
2483673ab0
Return 204 NO_CONTENT on /config DELETE
2015-06-07 09:01:59 -04:00
James Laska
53b16c09e8
Please don't hate on flake8
2015-06-05 12:46:07 -04:00
James Laska
786fc07302
Add gpgcheck=0 to development docs
2015-06-01 12:30:26 -04:00
James Laska
3b9db54139
Add RPM-GPG-KEY to tower.repo
...
Includes supporting tasks in Makefile
2015-06-01 12:30:18 -04:00
James Laska
e973711a84
Reapply "make shade python2.6 safe for our inventory update"
...
This reverts commit a977f9619ba2b42fb9b5a23824644b07b26214f2.
2015-05-26 11:05:39 -04:00
James Laska
3caf920c7a
Additional RPM fixes for ansible-tower-service
...
Fixes RPM builds.
2015-05-22 15:01:25 -04:00
James Laska
7064c9bed4
Additional flake8 cleanup
...
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.
2015-05-20 20:33:22 -04:00
James Laska
8ce0674f2c
First pass at integration package vagrant workflow
2015-05-15 12:08:05 -04:00
James Laska
86cb23117f
Resolve pycrypto gce failure on EL6 systems
...
Tracking upstream change https://github.com/ansible/ansible/pull/10787
2015-04-20 13:19:49 -04:00
James Laska
c197f90e45
Comment out jshint+csslint from django_jenkins
2015-04-10 09:54:41 -04:00
James Laska
6258035ca8
Make ValidationError consistent with rest-framework
...
This is silly, but rest-framework returns an error with a '.' at the
end. Test automation validates the error responses. Rather than special
case this condition, I've chosen to raise an Exception with a msg
consistent with rest-framework.
2015-03-13 08:52:23 -04:00