Commit Graph

81 Commits

Author SHA1 Message Date
Steve Smith
fe482d9f15 Switch to using marketplace version feed, and add test for another corner-case. 2019-04-18 12:13:05 +10:00
Steve Smith
d45d8c55de Don't use the product owner for the mountpoint as we can't assume it exists yet. 2019-04-18 09:45:49 +10:00
Steve Smith
c0d80f0725 Should mount EFS before creating any directories. 2019-04-18 09:11:17 +10:00
Steve Smith
d4e8f3dcd6 Add wrapper for installing Ansible 2019-04-17 16:15:36 +10:00
Steve Smith
384b1e2eb9 Restart the product on failure. 2019-04-17 14:54:38 +10:00
Steve Smith
acdcbe02d9 Fix unpacking of product. 2019-04-17 14:54:18 +10:00
Steve Smith
7f563320f4 Fix format of service env vars. 2019-04-17 14:42:53 +10:00
Steve Smith
627e14b0bb Fix var name. 2019-04-17 14:36:26 +10:00
Steve Smith
18f01e3ac6 Fix typo in group vars. 2019-04-17 14:34:14 +10:00
Steve Smith
bd6836bdee Add note about setenv in the service file. 2019-04-17 14:32:02 +10:00
Steve Smith
749e41af2c Add required environment to Jira service file. 2019-04-17 14:30:31 +10:00
Steve Smith
d0b7de5560 Inject JVM heap overrides into the product setenv script. 2019-04-17 14:21:17 +10:00
Steve Smith
81873ecbe3 Fix idempotence for download/unpack. 2019-04-17 14:20:10 +10:00
Steve Smith
6583cfcc88 Add systemd service for jira. 2019-04-17 13:16:27 +10:00
Steve Smith
d065340e2b Use provided Ansible virtualenv if provided. 2019-04-17 12:43:56 +10:00
Steve Smith
c4cab3bfc9 Add Apache 2 license file. 2019-04-17 12:29:11 +10:00
Steve Smith
5032884763 Use UTF-8 for all encodings. 2019-04-17 12:20:19 +10:00
Steve Smith
2e4a0e0585 Grant the created DB roles to postgres root user for DB creation. 2019-04-17 12:20:07 +10:00
Steve Smith
3d08b9d530 Use import_tasks rather than deprecated import. 2019-04-17 12:05:02 +10:00
Steve Smith
bfac053ab7 Fix DB name var. 2019-04-17 11:37:56 +10:00
Steve Smith
ec20539674 Fix DB password var. 2019-04-17 11:34:30 +10:00
Steve Smith
3a3f83a154 Add DB config role to Jira AWS. 2019-04-17 11:32:29 +10:00
Steve Smith
b276b57de9 Add some default for database parameters. 2019-04-17 11:32:14 +10:00
Steve Smith
9a0094cb7f Fix DB driver var name. 2019-04-17 11:31:06 +10:00
Steve Smith
c5ca18e7f4 Fix JDBC URL generation 2019-04-17 11:30:37 +10:00
Steve Smith
da54ce1889 Move db config to its own role. 2019-04-17 10:39:10 +10:00
Steve Smith
c267715e6e Add psycopg2 for Ansible Postgres support. 2019-04-17 10:37:23 +10:00
Steve Smith
0e499c59ae Add DB and application user 2019-04-17 09:55:00 +10:00
Steve Smith
dbae885fda Add some tagging to speed up some tests. 2019-04-16 16:26:15 +10:00
Steve Smith
b3e0f76143 Update AWS Jira playbook with latest roles. 2019-04-16 14:54:05 +10:00
Steve Smith
b5b73c09a1 Start of Jira preconfiguration. Just dbconfig.xml for now. 2019-04-16 14:34:38 +10:00
Steve Smith
a63b83fe1f Refactor to simplify directory layout and testing. 2019-04-16 10:52:18 +10:00
Steve Smith
e539cee393 Remove jira_config for now. 2019-04-16 09:37:15 +10:00
Steve Smith
3b1f344759 Add linux_common base to tests as AWS Linux needs extra packages. 2019-04-16 08:41:42 +10:00
Steve Smith
ae8c43586b Add unpacking of the downloaded tarball. 2019-04-15 16:13:51 +10:00
Steve Smith
89f27cec31 Move to using tgz rather than self-instller. 2019-04-15 15:50:57 +10:00
Steve Smith
cd0659f083 Correct installation dir. 2019-04-15 15:49:19 +10:00
Steve Smith
2196ca5176 Add some other common packages. 2019-04-15 15:49:02 +10:00
Steve Smith
654fb0d4e9 Move to using the product-downloads.atlassian.com CDN. 2019-04-15 14:48:22 +10:00
Steve Smith
a1292a4e68 Download locally rather than to the shared drive to avoid races. 2019-04-15 14:18:25 +10:00
Steve Smith
f9e617e504 Add fetching of the installer. 2019-04-15 13:06:41 +10:00
Steve Smith
69823c6535 Handle version override and reading any existing cached version 2019-04-15 11:35:41 +10:00
Steve Smith
d9af3f5509 Fetch the product 'latest' file when no version is specified. 2019-04-15 10:05:55 +10:00
Steve Smith
d1f951bab3 Rename product vars for clarity and create the shared home. 2019-04-11 15:19:57 +10:00
Steve Smith
8135041dee Fix ansible config file. 2019-04-11 14:18:04 +10:00
Steve Smith
ba97bc6877 Move EC2 metadata fetching to the role top-level. 2019-04-11 12:25:23 +10:00
Steve Smith
64f79f3641 Move EC2 metadata retrieval to aws_common 2019-04-11 12:02:41 +10:00
Steve Smith
c13e6ef416 Ensure ec2-utils is installed and add testing. 2019-04-11 11:23:15 +10:00
Steve Smith
1679b38bf3 Move Amazon-specific Postgres installation to product-common role. 2019-04-11 11:14:59 +10:00
Steve Smith
7fa7c1fd44 Add comment to global vars file. 2019-04-11 10:13:37 +10:00