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
James Laska
aa55f96316
Cleanup remaining flake8 issue
2015-03-13 08:50:12 -04:00
James Laska
8e31e88972
[jenkins] Don't install npm deps globally
2015-03-10 12:36:54 -04:00
James Laska
40fdbc01e3
Pyflakes and pep8 are replaced by flake8
2015-02-18 13:00:49 -05:00
James Laska
6a2fa3c6ce
[pylint] Additional paths to ignore
2015-02-06 09:47:41 -05:00
James Laska
c841f08e5f
Update requirements/jenkins.txt
...
Also, install (not upgrade), jenkins requirements in the Makefile
target.
2015-02-06 09:47:41 -05:00
James Laska
ea0b39859b
Enable django_jenkins flake8 reporting
...
Also exclude awx/ui from pep8 runs.
2015-01-29 13:56:04 -05:00
James Laska
77c76bece1
Disable SSLv3 in apache config
...
Fixes: https://trello.com/c/BGy5voWf
2015-01-27 16:15:13 -05:00
James Laska
7728c720db
Mark eula_accepted as new to 2.1.1
2015-01-27 16:15:13 -05:00
James Laska
f255f39915
Disable SSLv3 in apache config
...
Fixes: https://trello.com/c/BGy5voWf
2015-01-27 13:18:29 -05:00
James Laska
dc09fc5ad1
Mark eula_accepted as new to 2.1.1
2015-01-27 13:12:35 -05:00
James Laska
2dd451b8ee
Update development version
2015-01-20 16:48:41 -05:00
James Laska
a0bfe31847
Another attempt to correct markdown
2014-12-04 12:47:14 -05:00
James Laska
59ebc14f0d
Correct markdown
2014-12-04 12:44:25 -05:00
James Laska
4d99e917ce
Updated build_system docs
2014-12-03 08:43:10 -05:00
James Laska
4afa7a0d4d
Remove AMI vars-aws-keys.json file
...
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 .
2014-12-02 11:29:49 -05:00
James Laska
36992e47ce
Update release history and process docs
2014-11-25 11:53:41 -05:00
James Laska
d47d2f5700
Add ansible-tower.{default,sysconfig} script
...
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.
2014-11-25 09:22:02 -05:00
James Laska
9f6e74ac94
Remove tools from .gitignore
...
Not sure why this was here. It had to be ignored when commiting changes
to various files under tools.
2014-11-25 09:21:30 -05:00
James Laska
955af6aa85
Add support for customizing managed tower services
...
Allows for overriding the services managed by the ansible-tower
initscript.
2014-11-24 16:28:13 -05:00
James Laska
b1cd745800
Update docs
...
* Update filename changes where appropriate (s/awx/ansible-tower/)
* Updates related to recent `setup_tarball` changes
* More updates needed to reflect current rpm and deb build process
2014-11-19 10:45:20 -05:00
James Laska
a40120d1cf
Create latest setup symlink
2014-11-18 09:32:05 -05:00
James Laska
a63ec61fef
Bind setup playbook with specific tower version
...
Trello: https://trello.com/c/cdcMpglV
2014-11-17 19:28:30 -05:00
James Laska
c7079cf338
Wait when stopping supervisor
...
Fixes a problem where we issue a start before supervisor has cleaned up
child pids (Ubuntu only).
Trello: https://trello.com/c/5rOxYcY5
2014-11-17 13:25:33 -05:00
James Laska
83c64dbd38
Fix mock build error
...
Mock doesn't seem to like a symlink.
2014-11-14 16:12:32 -05:00
James Laska
16437462ac
Replace zmq test dependency with redis
2014-11-12 12:56:49 -05:00
James Laska
b8f96d3037
Use correct redis service name on Ubuntu
...
Fixes ansible-tower service failure when [re]starting on Ubuntu systems.
Trello: https://trello.com/c/YLZM5SUH
2014-11-12 09:21:05 -05:00
James Laska
bb2235fcb2
DOM id changes for portal mode page
...
Improves automated navigation through the jobs and job_templates regions
on the portal page.
2014-11-12 08:42:44 -05:00
James Laska
d766b6b029
Correct jshint errors
2014-10-28 09:01:36 -04:00
James Laska
20bb2ed71c
Additional markdown for job_template launch endpoint
...
Fixes: https://trello.com/c/h4rfafWM
2014-10-23 12:51:00 -04:00
James Laska
1559ba50bb
Be sure to minify before building RPMs
...
Also, break out individual clean targets that were helpful for testing
specific components.
2014-10-22 16:41:24 -04:00
James Laska
d7792413a0
Allow specifying RPM_DIST when running Makefile
...
Fixes an issue where the system running make isn't the desired %{dist}
target (e.g. building el7 packages on an el6 system).
2014-10-21 15:51:07 -04:00
James Laska
5905459fc6
Python source removal now happens during packaging
...
The dark arts previously used in the setup.py have now been pushed off
to debian/rules and ansible-tower.spec.
2014-10-20 16:16:57 -04:00